aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2010-08-09 17:18:49 -0700
committerLinus Torvalds <[email protected]>2010-08-09 20:44:56 -0700
commit4358997ae38a1901498d128d6508119d9f318b36 (patch)
tree0c5a47808790e80a754b44aebe82c5c683811788 /tools/perf/scripts/python/bin
parent7b98c2e402eaa1f2beec18b1bde17f74948a19db (diff)
oom: avoid sending exiting tasks a SIGKILL
It's unnecessary to SIGKILL a task that is already PF_EXITING and can actually cause a NULL pointer dereference of the sighand if it has already been detached. Instead, simply set TIF_MEMDIE so it has access to memory reserves and can quickly exit as the comment implies. Reviewed-by: KAMEZAWA Hiroyuki <[email protected]> Signed-off-by: David Rientjes <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions