Messages in this thread | | | Date | Thu, 3 Jun 2010 00:32:01 +0900 | From | Minchan Kim <> | Subject | Re: [PATCH 1/5] oom: select_bad_process: check PF_KTHREAD instead of !mm to skip kthreads |
| |
On Mon, May 31, 2010 at 06:33:06PM +0900, KOSAKI Motohiro wrote: > From: Oleg Nesterov <oleg@redhat.com> > Subject: oom: select_bad_process: check PF_KTHREAD instead of !mm to skip kthreads > > 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> > Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
-- Kind regards, Minchan Kim
| |