https://github.com/torvalds/linux
Revision dbc55faa64c12f4c9fab6e2bd131d771bc026ed1 authored by Christoph Lameter on 03 July 2007, 16:31:04 UTC, committed by Linus Torvalds on 03 July 2007, 20:56:13 UTC
If we move the local_irq_enable() to the end of the function then
add_partial() in early_kmem_cache_node_alloc() will be called
with interrupts disabled like during regular operations.

This makes lockdep happy.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Tested-by: Andre Noll <maan@systemlinux.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 746976a
History
Tip revision: dbc55faa64c12f4c9fab6e2bd131d771bc026ed1 authored by Christoph Lameter on 03 July 2007, 16:31:04 UTC
SLUB: Make lockdep happy by not calling add_partial with interrupts enabled during bootstrap
Tip revision: dbc55fa
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 89.3 KB
Kbuild -rw-r--r-- 1.5 KB
MAINTAINERS -rw-r--r-- 87.8 KB
Makefile -rw-r--r-- 49.2 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top