diff options
author | David Rientjes <rientjes@google.com> | 2012-07-09 14:00:38 -0700 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-07-10 22:43:52 +0300 |
commit | 737b719ed6569ffcd015fcdf3039dc7af47af877 (patch) | |
tree | 4a756eb46d499376763263e235568365049f06bc /mm/slob.c | |
parent | 20cea9683ecc6dd75a80c0dd02dc69c64e95be75 (diff) |
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 <fengguang.wu@intel.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Tested-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions