diff options
| author | Avi Kivity <[email protected]> | 2007-01-05 16:36:38 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-01-05 23:55:24 -0800 |
| commit | cd4a4e5374110444dc38831af517e51ff5a053c3 (patch) | |
| tree | ed82756435e7909c7698d112195994c2e8062328 /include/linux/debugobjects.h | |
| parent | 399badf315bd4dd571b4b3b7cf666d9a2af40229 (diff) | |
[PATCH] KVM: MMU: Implement simple reverse mapping
Keep in each host page frame's page->private a pointer to the shadow pte which
maps it. If there are multiple shadow ptes mapping the page, set bit 0 of
page->private, and use the rest as a pointer to a linked list of all such
mappings.
Reverse mappings are needed because we when we cache shadow page tables, we
must protect the guest page tables from being modified by the guest, as that
would invalidate the cached ptes.
Signed-off-by: Avi Kivity <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions