lkml.org 
[lkml]   [2008]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] coredump: binfmt_elf{,_fdpic}.c: don't abuse GFP_ATOMIC
On 06/01, Peter Zijlstra wrote:
>
> On Sun, 2008-06-01 at 20:55 +0400, Oleg Nesterov wrote:
> > kmalloc(GFP_ATOMIC) was needed because it was called under tasklist_lock.
> > The code was changed to use rcu_read_lock(), we can use GFP_KERNEL.
>
> Classic RCU - still frequently used - disables preemption and thus does
> not allow us to use __GFP_WAIT.

Ah, I'm stupid, thanks!

please ignore this patch.

Oleg.



\
 
 \ /
  Last update: 2008-06-01 23:11    [W:0.053 / U:2.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site