diff options
author | Avi Kivity <avi@qumranet.com> | 2007-01-06 01:36:50 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-06 08:55:26 +0100 |
commit | 86a5ba025d0a0b251817d0efbeaf7037d4175d21 (patch) | |
tree | 35dbc71edaa0d242ba4c0ca429c41cff67df38d0 /drivers/kvm/x86_emulate.c | |
parent | [PATCH] KVM: MMU: If an empty shadow page is not empty, report more info (diff) | |
download | linux-86a5ba025d0a0b251817d0efbeaf7037d4175d21.tar.xz linux-86a5ba025d0a0b251817d0efbeaf7037d4175d21.zip |
[PATCH] KVM: MMU: Page table write flood protection
In fork() (or when we protect a page that is no longer a page table), we can
experience floods of writes to a page, which have to be emulated. This is
expensive.
So, if we detect such a flood, zap the page so subsequent writes can proceed
natively.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/kvm/x86_emulate.c')
0 files changed, 0 insertions, 0 deletions