aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2010-10-26 14:21:26 -0700
committerLinus Torvalds <[email protected]>2010-10-26 16:52:05 -0700
commitd19d5476f4b9f91d2de92b91588bb118beba6c0d (patch)
treeb267c225c2b7507f7e4900676649b20e56e06ba2 /scripts/objdiff
parent723548bff1dde9ab6bdb23f4bb92277c4da49473 (diff)
oom: fix locking for oom_adj and oom_score_adj
The locking order in oom_adjust_write() and oom_score_adj_write() for task->alloc_lock and task->sighand->siglock is reversed, and lockdep notices that irqs could encounter an ABBA scenario. This fixes the locking order so that we always take task_lock(task) prior to lock_task_sighand(task). Signed-off-by: David Rientjes <[email protected]> Reported-by: Andrew Morton <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Ying Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions