Re: [PATCH] Accelerate OOM killing
From: KOSAKI Motohiro <hidden>
Date: 2011-03-24 10:05:37
Also in:
lkml
From: KOSAKI Motohiro <hidden>
Date: 2011-03-24 10:05:37
Also in:
lkml
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 <redacted> Cc: KAMEZAWA Hiroyuki <redacted> Cc: Andrey Vagin <redacted> Signed-off-by: Minchan Kim <redacted>
Reviewed-by: KOSAKI Motohiro [off-list ref] -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>