On Wed, 30 Jan 2008, Robin Holt wrote: > Index: git-linus/mm/mmu_notifier.c > =================================================================== > --- git-linus.orig/mm/mmu_notifier.c 2008-01-30 11:43:45.000000000 -0600 > +++ git-linus/mm/mmu_notifier.c 2008-01-30 11:56:08.000000000 -0600 > @@ -99,3 +99,8 @@ void mmu_rmap_notifier_unregister(struct > } > EXPORT_SYMBOL(mmu_rmap_notifier_unregister); > > +void mmu_rmap_export_page(struct page *page) > +{ > + SetPageExternalRmap(page); > +} > +EXPORT_SYMBOL(mmu_rmap_export_page);
Then mmu_rmap_export_page would have to be called before the subsystem establishes the rmap entry for the page. Could we do all PageExternalRmap modifications under Pagelock? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel