lkml.org 
[lkml]   [2013]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/1] uprobes: Kill __replace_page(), change uprobe_write_opcode() to rely on gup(WRITE)
On 12/10, Oleg Nesterov wrote:
>
> On 12/10, Linus Torvalds wrote:
> >
> > We'd be *much* better off using get_user_pages_fast() if possible -
> > and I bet _is_ possible in 99% of all cases.
>
> We can't. get_user_pages_fast() takes mmap_sem.

Hmm. I am stupid, there is __get_user_pages_fast(). OK, I'll try
to think more.

Oleg.



\
 
 \ /
  Last update: 2013-12-11 09:41    [W:0.755 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site