Bug 42192 - WARNING: at kernel/lockdep.c:2664 lockdep_trace_alloc+0xb5/0xc0()
WARNING: at kernel/lockdep.c:2664 lockdep_trace_alloc+0xb5/0xc0()
Status: CLOSED UNREPRODUCIBLE
Product: Memory Management
Classification: Unclassified
Component: Slab Allocator
All Linux
: P1 normal
Assigned To: Andrew Morton
:
Depends on:
Blocks: 40982
  Show dependency treegraph
 
Reported: 2011-09-01 17:09 UTC by Christian Casteyde
Modified: 2013-01-03 12:57 UTC (History)
4 users (show)

See Also:
Kernel Version: 3.4-rc4
Tree: Mainline
Regression: Yes


Attachments

Description Christian Casteyde 2011-09-01 17:09:00 UTC
Acer Aspire 7750G
Corei7 in 64bits mode
Slackware64 13.37
Kmemcheck configured

Since kernel 3.1-rc1, I get the following warning at boot with kmemcheck configured:

 memory used by lock dependency info: 6367 kB
 per task-struct memory footprint: 2688 bytes
------------[ cut here ]------------
WARNING: at kernel/lockdep.c:2664 lockdep_trace_alloc+0xb5/0xc0()
Hardware name: Aspire 7750G
Modules linked in:
Pid: 0, comm: swapper Not tainted 3.1.0-rc4 #13
Call Trace:
 [<ffffffff8107719a>] warn_slowpath_common+0x7a/0xb0
 [<ffffffff810771e5>] warn_slowpath_null+0x15/0x20
 [<ffffffff810b0115>] lockdep_trace_alloc+0xb5/0xc0
 [<ffffffff810e483c>] __alloc_pages_nodemask+0x8c/0x6b0
 [<ffffffff812bd9bd>] ? trace_hardirqs_off_thunk+0x3a/0x3c
 [<ffffffff812bd9bd>] ? trace_hardirqs_off_thunk+0x3a/0x3c
 [<ffffffff8111ce94>] kmemcheck_alloc_shadow+0x54/0xf0
 [<ffffffff8111a93f>] new_slab+0x26f/0x360
 [<ffffffff817d15e6>] __slab_alloc.isra.53+0x3c1/0x52a
 [<ffffffff81ea0c0b>] ? debug_objects_mem_init+0x65/0x220
 [<ffffffff817db7c9>] ? error_exit+0x29/0xb0
 [<ffffffff81ea0c0b>] ? debug_objects_mem_init+0x65/0x220
 [<ffffffff8111af4f>] kmem_cache_alloc+0x10f/0x120
 [<ffffffff81ea0c0b>] debug_objects_mem_init+0x65/0x220
 [<ffffffff81e829d1>] start_kernel+0x25a/0x2ef
 [<ffffffff81e82288>] x86_64_start_reservations+0x98/0x9c
 [<ffffffff81e82391>] x86_64_start_kernel+0x105/0x10c
---[ end trace 4eaa2a86a8e2da22 ]---
ODEBUG: 12 of 12 active objects replaced
hpet clockevent registered
Comment 1 Christian Casteyde 2012-04-22 15:38:13 UTC
Update: Still present in 3.4-rc4:

 memory used by lock dependency info: 6367 kB
 per task-struct memory footprint: 2688 bytes
------------[ cut here ]------------
WARNING: at kernel/lockdep.c:2739 lockdep_trace_alloc+0xb5/0xc0()
Hardware name: Aspire 7750G
Modules linked in:
Pid: 0, comm: swapper/0 Not tainted 3.4.0-rc4 #9
Call Trace:
 [<ffffffff8106a88a>] warn_slowpath_common+0x7a/0xb0
 [<ffffffff8106a8d5>] warn_slowpath_null+0x15/0x20
 [<ffffffff810baea5>] lockdep_trace_alloc+0xb5/0xc0
 [<ffffffff810f2264>] __alloc_pages_nodemask+0x94/0x6f0
 [<ffffffff812e0ebd>] ? trace_hardirqs_off_thunk+0x3a/0x3c
 [<ffffffff812e0ebd>] ? trace_hardirqs_off_thunk+0x3a/0x3c
 [<ffffffff8112d9d3>] kmemcheck_alloc_shadow+0x53/0xf0
 [<ffffffff8112936e>] new_slab+0x27e/0x390
 [<ffffffff818029a4>] __slab_alloc.isra.52+0x493/0x633
 [<ffffffff812e0ebd>] ? trace_hardirqs_off_thunk+0x3a/0x3c
 [<ffffffff820ad06a>] ? debug_objects_mem_init+0x80/0x22c
 [<ffffffff820ad06a>] ? debug_objects_mem_init+0x80/0x22c
 [<ffffffff8112baf9>] kmem_cache_alloc+0xf9/0x130
 [<ffffffff820ad06a>] debug_objects_mem_init+0x80/0x22c
 [<ffffffff8208f9f1>] start_kernel+0x261/0x2f8
 [<ffffffff8208f4b7>] ? loglevel+0x31/0x31
 [<ffffffff8208f28b>] x86_64_start_reservations+0x9b/0x9f
 [<ffffffff8208f392>] x86_64_start_kernel+0x103/0x10a
---[ end trace 4eaa2a86a8e2da22 ]---
ODEBUG: 11 of 11 active objects replaced
Comment 2 Christian Casteyde 2013-01-03 12:57:10 UTC
Not reproduced with 3.7 and 3.8, so closing.

Note You need to log in before you can comment on or make changes to this bug.