Revision b52723c5607f7684c2c0c075f86f86da0d7fb6d0 authored by KOSAKI Motohiro on 19 August 2010, 21:13:39 UTC, committed by Linus Torvalds on 20 August 2010, 16:34:55 UTC
Commit 0aad4b3124 ("oom: fold __out_of_memory into out_of_memory") introduced a tasklist_lock leak. Then it caused following obvious danger warnings and panic. ================================================ [ BUG: lock held when returning to user space! ] ------------------------------------------------ rsyslogd/1422 is leaving the kernel with locks still held! 1 lock held by rsyslogd/1422: #0: (tasklist_lock){.+.+.+}, at: [<ffffffff810faf64>] out_of_memory+0x164/0x3f0 BUG: scheduling while atomic: rsyslogd/1422/0x00000002 INFO: lockdep is turned off. This patch fixes it. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Reviewed-by: Minchan Kim <minchan.kim@gmail.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent be71cf2
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 1.2 KB |
align.S | -rw-r--r-- | 11.4 KB |
asm-offsets.c | -rw-r--r-- | 4.5 KB |
coprocessor.S | -rw-r--r-- | 7.1 KB |
entry.S | -rw-r--r-- | 45.1 KB |
head.S | -rw-r--r-- | 4.8 KB |
init_task.c | -rw-r--r-- | 818 bytes |
io.c | -rw-r--r-- | 1.9 KB |
irq.c | -rw-r--r-- | 4.1 KB |
module.c | -rw-r--r-- | 5.7 KB |
pci-dma.c | -rw-r--r-- | 2.3 KB |
pci.c | -rw-r--r-- | 9.8 KB |
platform.c | -rw-r--r-- | 1.3 KB |
process.c | -rw-r--r-- | 7.7 KB |
ptrace.c | -rw-r--r-- | 8.0 KB |
setup.c | -rw-r--r-- | 10.1 KB |
signal.c | -rw-r--r-- | 13.8 KB |
syscall.c | -rw-r--r-- | 1.5 KB |
time.c | -rw-r--r-- | 3.0 KB |
traps.c | -rw-r--r-- | 12.3 KB |
vectors.S | -rw-r--r-- | 13.5 KB |
vmlinux.lds.S | -rw-r--r-- | 7.0 KB |
xtensa_ksyms.c | -rw-r--r-- | 2.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...