git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75129e2
)
[PATCH] oom-kill: mm locking fix
author
Andrew Morton
<akpm@osdl.org>
Wed, 19 Apr 2006 05:20:38 +0000
(22:20 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 19 Apr 2006 16:13:49 +0000
(09:13 -0700)
Dave Peterson <dsp@llnl.gov> points out that badness() is playing with
mm_structs without taking a reference on them.
mmput() can sleep, so taking a reference here (inside tasklist_lock) is
hard. Fix it up via task_lock() instead.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/oom_kill.c
patch
|
blob
|
history
diff --cc
mm/oom_kill.c
Simple merge