[PATCH 06/12] oom: remove warning for in mm-less task __oom_kill_process()
If the race of mm detach in task exiting vs oom is happen, find_lock_task_mm() can be return NULL. So, the warning is pointless. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> --- mm/oom_kill.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/mm/oom_kill.c b/mm... 3 Jun 2010 03:29
[PATCH 12/12] oom: give current access to memory reserves if it has been killed
From: David Rientjes <rientjes(a)google.com> It's possible to livelock the page allocator if a thread has mm->mmap_sem and fails to make forward progress because the oom killer selects another thread sharing the same ->mm to kill that cannot exit until the semaphore is dropped. The oom killer will not kill multi... 3 Jun 2010 03:29
[PATCH 08/12] oom: dump_tasks() use find_lock_task_mm() too
dump_task() should use find_lock_task_mm() too. It is necessary for protecting task-exiting race. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> --- mm/oom_kill.c | 37 ++++++++++++++++++++----------------- 1 files changed, 20 insertions(+), 17 deletions(-) diff --git a/mm/oom_kill.c b/mm/... 3 Jun 2010 03:29
[PATCH] - race-free suspend. Was: Re: [PATCH 0/8] Suspend block api (version 8)
On Wed, Jun 2, 2010 at 11:04 PM, mark gross <640e9920(a)gmail.com> wrote: There are many wakeup events possible in a typical system -- keypresses or other input events, network traffic, telephony events, media events (fill audio buffer, fill video decoder buffer, etc), and I think requiring that all w... 3 Jun 2010 14:31
oom: introduce find_lock_task_mm() to fix !mm false positives
On Thu, Jun 3, 2010 at 2:50 PM, KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> wrote: From: Oleg Nesterov <oleg(a)redhat.com> Almost all ->mm == NUL checks in oom_kill.c are wrong. The current code assumes that the task without ->mm has already released its memory and ignores the process. However thi... 3 Jun 2010 02:24
various OOM fixes for 2.6.35
On Thu, Jun 3, 2010 at 2:48 PM, KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> wrote: Hi This patch series is collection of various OOM bugfixes. I think all of patches can send to 2.6.35. Recently, David Rientjes and Luis Claudio R. Goncalves posted other various imporovement. I'll collect such 2.... 8 Jun 2010 08:02
[PATCH 01/12] oom: select_bad_process: check PF_KTHREAD instead of !mm to skip kthreads
From: Oleg Nesterov <oleg(a)redhat.com> 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(a)redhat.com> Acked-by: David Rientjes <rientjes(a)google.com> Reviewed-by: KAMEZAWA Hiroyuki <kame... 3 Jun 2010 02:24
[PATCH 03/12] oom: the points calculation of child processes must use find_lock_task_mm() too
child point calclation use find_lock_task_mm() too. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> Acked-by: Oleg Nesterov <oleg(a)redhat.com> --- mm/oom_kill.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/mm/oom_kill.c b/mm/oom_kill.c index ce9c744..054... 3 Jun 2010 02:24
[mmotm 0521][PATCH 0/12] various OOM fixes for 2.6.35
Hi This patch series is collection of various OOM bugfixes. I think all of patches can send to 2.6.35. Recently, David Rientjes and Luis Claudio R. Goncalves posted other various imporovement. I'll collect such 2.6.36 items and I plan to push -mm at next week. patch lists -----------------------------------... 3 Jun 2010 02:24
[PATCH 3/6] sctp multistream scheduling: provide the default FCFS scheduling
Provide the default FCFS scheduling. Signed-off-by: Yaogong Wang <ywang15(a)ncsu.edu> --- diff -uprN -X linux-2.6.32.8/Documentation/dontdiff p2/include/net/sctp/structs.h p3/include/net/sctp/structs.h --- p2/include/net/sctp/structs.h 2010-06-02 13:02:14.000000000 -0700 +++ p3/include/net/sctp/structs.h 2010-06-... 3 Jun 2010 02:24