Speaker
Claudio Imbrenda
(IBM)
Description
KVM uses the mmu_notifier infrastructure to keep the guest mapping up to date. After having completely rewritten the memory management of KVM/s390 to use mmu_notifiers, I have noticed some of the shortcomings in how KVM uses the notifiers.
Some of areas where KVM's usage of the notifiers, or the mmu_notifier infrastructure itself can be improved:
- passing the reason code to the KVM callback when unmapping
- more fine-grained reason codes
- passing back flags from the notifier callback
I will show how and why each of the above points would be useful for KVM with some concrete examples.
Author
Claudio Imbrenda
(IBM)