Christoph Lameter 33e9e24101 SLUB Debug: fix check for super sized slabs (>512k 64bit, >256k 32bit)
The check for super sized slabs where we can no longer move the free
pointer behind the object for debugging purposes etc is accessing a
field that is not setup yet.  We must use objsize here since the size of
the slab has not been determined yet.

The effect of this is that a global slab shrink via "slabinfo -s" will
show errors about offsets being wrong if booted with slub_debug.
Potentially there are other troubles with huge slabs under slub_debug
because the calculated free pointer offset is truncated.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-23 20:14:13 -07:00
..
2007-03-27 08:52:47 +02:00
2007-05-21 09:18:19 -07:00
2006-12-22 08:55:49 -08:00
2007-05-14 09:55:35 +09:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:54 -07:00
2007-01-11 18:18:20 -08:00
2007-05-17 05:23:06 -07:00
2007-02-15 09:57:03 -08:00
2007-05-21 09:18:19 -07:00
2007-05-09 08:57:56 +02:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:55 -07:00
2007-05-23 20:14:13 -07:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:12:54 -07:00
2007-05-07 12:12:52 -07:00
2007-05-17 05:23:06 -07:00
2007-05-17 05:23:04 -07:00
2007-05-19 09:11:58 +02:00
2007-05-17 05:23:04 -07:00
2007-05-19 09:11:58 +02:00
2007-05-17 05:23:04 -07:00
2007-05-21 09:18:19 -07:00