lkml.org 
[lkml]   [2010]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2010-06-02 17:35    [W:5.851 / U:0.720 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site