Commit dd9eaad
committed
KVM: x86/mmu: Add a helper to walk and zap rmaps for a memslot
Add a dedicated helper to walk and zap rmaps for a given memslot so that
the code can be shared between KVM-initiated zaps and mmu_notifier
invalidations.
No functional change intended.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>1 parent 5b1fb11 commit dd9eaad
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1573 | 1573 | | |
1574 | 1574 | | |
1575 | 1575 | | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
1576 | 1586 | | |
1577 | 1587 | | |
1578 | 1588 | | |
| |||
6602 | 6612 | | |
6603 | 6613 | | |
6604 | 6614 | | |
6605 | | - | |
6606 | | - | |
6607 | | - | |
| 6615 | + | |
| 6616 | + | |
6608 | 6617 | | |
6609 | 6618 | | |
6610 | 6619 | | |
| |||
0 commit comments