lkml.org 
[lkml]   [2009]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0
Date
> > +	if (verbose) {
> > + task_lock(p);
>
> We need to be careful with which locks we take on the oom-killer path,
> because it can be called by code which already holds locks. But I
> expect task_lock() will be OK.

Sure.
task_lock() is already used various oom path. I think this is ok.





\
 
 \ /
  Last update: 2009-11-05 00:23    [from the cache]
©2003-2011 Jasper Spaans