cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0

KOSAKI Motohiro kosaki.motohiro@jp.fujitsu.com
Wed Nov 4 23:20:00 GMT 2009


> > +	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.





More information about the Gcc mailing list