Messages in this thread |  | | | From | KOSAKI Motohiro <> | | Subject | Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0 | | Date | Thu, 5 Nov 2009 08:20:24 +0900 (JST) |
| |
> > + 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.
|  |