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 |
---|---|---|
usbhid | ||
Kconfig | -rw-r--r-- | 12.9 KB |
Makefile | -rw-r--r-- | 2.3 KB |
hid-3m-pct.c | -rw-r--r-- | 7.4 KB |
hid-a4tech.c | -rw-r--r-- | 3.5 KB |
hid-apple.c | -rw-r--r-- | 15.2 KB |
hid-axff.c | -rw-r--r-- | 4.4 KB |
hid-belkin.c | -rw-r--r-- | 2.6 KB |
hid-cando.c | -rw-r--r-- | 6.5 KB |
hid-cherry.c | -rw-r--r-- | 2.2 KB |
hid-chicony.c | -rw-r--r-- | 2.1 KB |
hid-core.c | -rw-r--r-- | 62.3 KB |
hid-cypress.c | -rw-r--r-- | 3.8 KB |
hid-debug.c | -rw-r--r-- | 35.2 KB |
hid-drff.c | -rw-r--r-- | 5.0 KB |
hid-egalax.c | -rw-r--r-- | 7.2 KB |
hid-elecom.c | -rw-r--r-- | 1.4 KB |
hid-ezkey.c | -rw-r--r-- | 2.4 KB |
hid-gaff.c | -rw-r--r-- | 4.8 KB |
hid-gyration.c | -rw-r--r-- | 2.8 KB |
hid-ids.h | -rw-r--r-- | 18.3 KB |
hid-input.c | -rw-r--r-- | 24.6 KB |
hid-kensington.c | -rw-r--r-- | 1.4 KB |
hid-kye.c | -rw-r--r-- | 1.7 KB |
hid-lg.c | -rw-r--r-- | 12.2 KB |
hid-lg.h | -rw-r--r-- | 500 bytes |
hid-lg2ff.c | -rw-r--r-- | 3.1 KB |
hid-lg3ff.c | -rw-r--r-- | 4.8 KB |
hid-lgff.c | -rw-r--r-- | 5.0 KB |
hid-magicmouse.c | -rw-r--r-- | 13.6 KB |
hid-microsoft.c | -rw-r--r-- | 5.5 KB |
hid-monterey.c | -rw-r--r-- | 2.1 KB |
hid-mosart.c | -rw-r--r-- | 6.6 KB |
hid-ntrig.c | -rw-r--r-- | 25.0 KB |
hid-ortek.c | -rw-r--r-- | 1.4 KB |
hid-petalynx.c | -rw-r--r-- | 2.9 KB |
hid-picolcd.c | -rw-r--r-- | 76.8 KB |
hid-pl.c | -rw-r--r-- | 5.9 KB |
hid-prodikeys.c | -rw-r--r-- | 21.0 KB |
hid-quanta.c | -rw-r--r-- | 6.3 KB |
hid-roccat-kone.c | -rw-r--r-- | 27.4 KB |
hid-roccat-kone.h | -rw-r--r-- | 6.6 KB |
hid-roccat.c | -rw-r--r-- | 10.0 KB |
hid-roccat.h | -rw-r--r-- | 875 bytes |
hid-samsung.c | -rw-r--r-- | 6.2 KB |
hid-sjoy.c | -rw-r--r-- | 4.3 KB |
hid-sony.c | -rw-r--r-- | 3.9 KB |
hid-stantum.c | -rw-r--r-- | 6.6 KB |
hid-sunplus.c | -rw-r--r-- | 2.0 KB |
hid-tmff.c | -rw-r--r-- | 7.2 KB |
hid-topseed.c | -rw-r--r-- | 2.6 KB |
hid-twinhan.c | -rw-r--r-- | 4.8 KB |
hid-wacom.c | -rw-r--r-- | 11.5 KB |
hid-zpff.c | -rw-r--r-- | 4.0 KB |
hid-zydacron.c | -rw-r--r-- | 4.5 KB |
hidraw.c | -rw-r--r-- | 10.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...