loongson-dune icon indicating copy to clipboard operation
loongson-dune copied to clipboard

kernel mode : tlb

Open Martins3 opened this issue 3 years ago • 9 comments

  • [x] kvm_vz_vcpu_load_tlb
  • [ ] kvm_vz_vcpu_load_wired
    • [ ] why load tlb in kvm_vz_vcpu_run instead of everytime vmexit

TLB need special attention

  1. should we copy TLB used in host to guest mode ?

Copy code from tlb.c is error-prone

  • sharing global variable with mips kvm maybe disturb kvm

We shouldn't remove request related code

  • [ ] vz:requests and remote tlb flush

We shouldn't remove mode related code

  • [ ] vz_vcpu::mode , check it's corresponding code in the kvm and find all the code

Martins3 avatar Dec 19 '20 13:12 Martins3