Re: [PATCH -mm 1/4] oom: select_bad_process: check PF_KTHREAD insteadof !mm to skip kthreads
From: David Rientjes
Date: Fri Apr 02 2010 - 15:06:18 EST
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@xxxxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/