Re: running get_user_pages() from kernel thread

Hugh Dickins
2009-06-16T21:03:55Z

On Tue, 16 Jun 2009, Andrea Arcangeli wrote:
> On Tue, Jun 16, 2009 at 08:45:05PM +0100, Hugh Dickins wrote:
> > liking the below better - what do you think? If you approve, I'll send
> > it in to Andrew for mmotm: I can't quite justify it without KSM.
>
> I think it's definitely better to fix gup to be safe from kernel
> thread even without KSM so this can go in mainline well before KSM.
> Unless gup requires a swapin fault it won't ever trigger.

Yes, you're right, it should go into 2.6.31, no reason not.

Hugh