commit | 6597ca09e6c0e5aec7ffd2b8ab48c671d3c28414 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Sun Jun 08 01:48:53 2008 -0300 |
committer | Avi Kivity <avi@qumranet.com> | Tue Jun 24 12:17:10 2008 +0300 |
tree | 9bbe5dab501fa1369ce882a4713ebdd227e09f19 | |
parent | 06e05645661211b9eaadaf6344c335d2e80f0ba2 [diff] |
KVM: MMU: Fix rmap_write_protect() hugepage iteration bug rmap_next() does not work correctly after rmap_remove(), as it expects the rmap chains not to change during iteration. Fix (for now) by restarting iteration from the beginning. Signed-off-by: Avi Kivity <avi@qumranet.com>