diff options
author | Andrew Morton <akpm@osdl.org> | 2006-04-19 01:20:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-19 12:13:49 -0400 |
commit | 97c2c9b84d0c1edf4926b13661d5af3f0edccbce (patch) | |
tree | bc986808cd7b5a8219a0c40ca9fdfc40524883e4 /mm/mlock.c | |
parent | 75129e297e861e6c61038aa4cdbf604b022de4ff (diff) |
[PATCH] oom-kill: mm locking fix
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>
Diffstat (limited to 'mm/mlock.c')
0 files changed, 0 insertions, 0 deletions