Skip to content

oom: fix livelock when frozen task is selected

Michal Hocko linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lguest: move process freezing before pending signals checkdrivers/lguest/core.c+7 -73 replies
2/2oom: do not live lock on frozen tasksmm/oom_kill.c+6 -015 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKAMEZAWA HiroyukiRafael J. WysockiDavid RientjesRusty Russell
1/2A-b
2/2R-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] oom: fix livelock when frozen task is selected

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(-)
Signature · 8 lines
1.7.5.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  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:"[email protected]"> [email protected] </a>