Ingo Molnar d6d897cec2 [PATCH] lockdep: core, reduce per-lock class-cache size
lockdep_map is embedded into every lock, which blows up data structure
sizes all around the kernel.  Reduce the class-cache to be for the default
class only - that is used in 99.9% of the cases and even if we dont have a
class cached, the lookup in the class-hash is lockless.

This change reduces the per-lock dep_map overhead by 56 bytes on 64-bit
platforms and by 28 bytes on 32-bit platforms.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-10 13:24:14 -07:00
..
2006-06-30 18:59:59 +02:00
2006-07-01 05:43:06 -04:00
2006-07-01 07:44:10 -04:00
2006-07-03 15:27:06 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:03 -07:00
2006-07-10 13:24:13 -07:00
2006-07-03 15:27:07 -07:00