Messages in this thread | | | Date | Fri, 2 Apr 2010 12:05:56 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH -mm 1/4] oom: select_bad_process: check PF_KTHREAD instead of !mm to skip kthreads |
| |
On Fri, 2 Apr 2010, Oleg Nesterov wrote:
> select_bad_process() thinks a kernel thread can't have ->mm != NULL, > this is not true due to use_mm(). > > Change the code to check PF_KTHREAD. > > Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
| |