]> Git Repo - linux.git/commit - mm/slub.c
mm, slub: ensure irqs are enabled for kmemcheck
authorDavid Rientjes <[email protected]>
Mon, 9 Jul 2012 21:00:38 +0000 (14:00 -0700)
committerPekka Enberg <[email protected]>
Tue, 10 Jul 2012 19:43:52 +0000 (22:43 +0300)
commit737b719ed6569ffcd015fcdf3039dc7af47af877
tree4a756eb46d499376763263e235568365049f06bc
parent20cea9683ecc6dd75a80c0dd02dc69c64e95be75
mm, slub: ensure irqs are enabled for kmemcheck

kmemcheck_alloc_shadow() requires irqs to be enabled, so wait to disable
them until after its called for __GFP_WAIT allocations.

This fixes a warning for such allocations:

WARNING: at kernel/lockdep.c:2739 lockdep_trace_alloc+0x14e/0x1c0()

Acked-by: Fengguang Wu <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Tested-by: Fengguang Wu <[email protected]>
Signed-off-by: David Rientjes <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
mm/slub.c
This page took 0.049634 seconds and 4 git commands to generate.