lkml.org 
[lkml]   [2011]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Accelerate OOM killing
    On Thu, 24 Mar 2011 18:52:33 +0900
    Minchan Kim <minchan.kim@gmail.com> wrote:

    > When I test Andrey's problem, I saw the livelock and sysrq-t says
    > there are many tasks in cond_resched after try_to_free_pages.
    >
    > If did_some_progress is false, cond_resched could delay oom killing so
    > It might be killing another task.
    >
    > This patch accelerates oom killing without unnecessary giving CPU
    > to another task. It could help avoding unnecessary another task killing
    > and livelock situation a litte bit.
    >
    > Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    > Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    > Cc: Andrey Vagin <avagin@openvz.org>
    > Signed-off-by: Minchan Kim <minchan.kim@gmail.com>

    Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>



    \
     
     \ /
      Last update: 2011-03-25 00:43    [W:0.021 / U:2.772 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site