Re: mmu notifier calls in apply_to_page_range()

From: Andrea Arcangeli
Date: Fri Jul 09 2010 - 14:31:43 EST


On Fri, Jul 09, 2010 at 10:41:51AM -0700, Jeremy Fitzhardinge wrote:
> On 07/09/2010 10:36 AM, Andrea Arcangeli wrote:
> > I'm not opposed to removing it, I've been wondering if it made any
> > sense in the first place but then there was no point not to add
> > it. Just calling apply_to_page_range in non blocking context doesn't
> > look so good.
> >
>
> That's a good point. It should be safe if the pagetable is already
> fully populated; I should double-check that's true in our case.

Yes in that case is safe, but it'd be more strict to use pmd/*_offset
then.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/