Messages in this thread |  | | Date | Wed, 22 Jun 2011 08:46:30 -0700 | | From | Chris Wright <> | | Subject | Re: [PATCH] mmu_notifier, kvm: Introduce dirty bit tracking in spte and mmu notifier to help KSM dirty bit tracking |
| |
* Izik Eidus (izik.eidus@ravellosystems.com) wrote: > On 6/22/2011 3:21 AM, Chris Wright wrote: > >* Nai Xia (nai.xia@gmail.com) wrote: > >>+ if (!shadow_dirty_mask) { > >>+ WARN(1, "KVM: do NOT try to test dirty bit in EPT\n"); > >>+ goto out; > >>+ } > >This should never fire with the dirty_update() notifier test, right? > >And that means that this whole optimization is for the shadow mmu case, > >arguably the legacy case. > > Hi Chris, > AMD npt does track the dirty bit in the nested page tables, > so the shadow_dirty_mask should not be 0 in that case...
Yeah, momentary lapse... ;)
|  |