All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] oom: fix livelock when frozen task is selected
@ 2011-09-27  8:09 Michal Hocko
  2011-09-27  6:56 ` [PATCH 1/2] lguest: move process freezing before pending signals check Michal Hocko
  2011-09-27  8:01 ` [PATCH 2/2] oom: do not live lock on frozen tasks Michal Hocko
  0 siblings, 2 replies; 39+ messages in thread
From: Michal Hocko @ 2011-09-27  8:09 UTC (permalink / raw)
  To: Andrew Morton
  Cc: David Rientjes, Konstantin Khlebnikov, Oleg Nesterov,
	KOSAKI Motohiro, KAMEZAWA Hiroyuki, Rafael J. Wysocki,
	Rusty Russell, Tejun Heo, linux-kernel, linux-mm

Hi Andrew,
this small patchset addresses a possible livelock when OOM killer tries
to kill a frozen task. The issue has been reported by Konstantin
Khlebnikov at https://lkml.org/lkml/2011/8/23/45.

The first patch addresses a possible issue in lguest which calls
try_to_freeze with user context and then continues with other work after
it returns from the fridge.

The second patch addresses the issue by thawing the frozen task in the
oom kill path.

Michal Hocko (2):
  lguest: move process freezing before pending signals check
  oom: do not live lock on frozen tasks

 drivers/lguest/core.c |   14 +++++++-------
 mm/oom_kill.c         |    6 ++++++
 2 files changed, 13 insertions(+), 7 deletions(-)

-- 
1.7.5.4

--
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>

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2011-10-29  9:01 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-27  8:09 [PATCH 0/2] oom: fix livelock when frozen task is selected Michal Hocko
2011-09-27  6:56 ` [PATCH 1/2] lguest: move process freezing before pending signals check Michal Hocko
2011-10-12  6:55   ` Michal Hocko
2011-10-12  6:55     ` Michal Hocko
2011-10-12 23:57     ` Rusty Russell
2011-10-12 23:57       ` Rusty Russell
2011-10-13  5:48       ` Michal Hocko
2011-10-13  5:48         ` Michal Hocko
2011-09-27  8:01 ` [PATCH 2/2] oom: do not live lock on frozen tasks Michal Hocko
2011-09-27 18:35   ` [patch] oom: thaw threads if oom killed thread is frozen before deferring David Rientjes
2011-09-27 18:35     ` David Rientjes
2011-09-28 10:44     ` Michal Hocko
2011-09-28 10:44       ` Michal Hocko
2011-09-29 11:51       ` Michal Hocko
2011-09-29 11:51         ` Michal Hocko
2011-09-29 12:05         ` Oleg Nesterov
2011-09-29 12:05           ` Oleg Nesterov
2011-09-29 13:02           ` Michal Hocko
2011-09-29 13:02             ` Michal Hocko
2011-09-29 16:32             ` Michal Hocko
2011-09-29 16:32               ` Michal Hocko
2011-09-29 16:37             ` Oleg Nesterov
2011-09-29 16:37               ` Oleg Nesterov
2011-09-29 18:00               ` Michal Hocko
2011-09-29 18:00                 ` Michal Hocko
2011-09-30  1:51                 ` Tejun Heo
2011-09-30  1:51                   ` Tejun Heo
2011-09-30  7:41                   ` Michal Hocko
2011-09-30  7:41                     ` Michal Hocko
2011-09-30  7:46                     ` Tejun Heo
2011-09-30  7:46                       ` Tejun Heo
2011-09-30  8:04                       ` Michal Hocko
2011-09-30  8:04                         ` Michal Hocko
2011-09-30 15:30                 ` Oleg Nesterov
2011-09-30 15:30                   ` Oleg Nesterov
2011-10-28 22:23   ` [PATCH 2/2] oom: do not live lock on frozen tasks Andrew Morton
2011-10-28 22:23     ` Andrew Morton
2011-10-29  9:01     ` Michal Hocko
2011-10-29  9:01       ` Michal Hocko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.