lkml.org 
[lkml]   [2008]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 1/6] mmu_notifier: Core code
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?




\
 
 \ /
  Last update: 2008-01-30 20:11    [from the cache]
©2003-2011 Jasper Spaans