lkml.org 
[lkml]   [2009]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: running get_user_pages() from kernel thread
[added Andrew on Cc]

On Tue, Jun 16, 2009 at 09:57:30PM +0100, Hugh Dickins wrote:
> On Tue, 16 Jun 2009, Johannes Weiner wrote:
> >
> > Did you have a particular reason not to pass in the faulting mm
> > instead?
>
> No good reason.

Okay.

> > As the swap token should only care about the faulting address space
> > leading to swap io and not about the running process anyway, we could
> > do it like below and remove all those pesky current->derefs in the
> > same go. What do you think?
>
> I think we'll have to claim joint authorship.

That's for sure, I just didn't want to plant it on you :)

> But I win by one checkpatch point, and a few minutes ;)

Checkpatch compatibility restored, now back to the time machine!


\
 
 \ /
  Last update: 2009-06-16 23:59    [W:0.068 / U:3.560 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site