[ofa-general] Re: [patch 3/6] mmu_notifier: invalidate_page callbacks

Nick Piggin nickpiggin at yahoo.com.au
Sun Feb 17 17:51:27 PST 2008


On Saturday 16 February 2008 14:37, Andrew Morton wrote:
> On Thu, 14 Feb 2008 22:49:02 -0800 Christoph Lameter <clameter at sgi.com> 
wrote:
> > Two callbacks to remove individual pages as done in rmap code
> >
> > 	invalidate_page()
> >
> > Called from the inner loop of rmap walks to invalidate pages.
> >
> > 	age_page()
> >
> > Called for the determination of the page referenced status.
> >
> > If we do not care about page referenced status then an age_page callback
> > may be be omitted. PageLock and pte lock are held when either of the
> > functions is called.
>
> The age_page mystery shallows.

BTW. can this callback be called mmu_notifier_clear_flush_young? To
match the core VM.




More information about the general mailing list