Linus Torvalds 9550b105b8 slub: fix ksize() for zero-sized pointers
The slab and slob allocators already did this right, but slub would call
"get_object_page()" on the magic ZERO_SIZE_PTR, with all kinds of nasty
end results.

Noted by Ingo Molnar.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 13:21:34 -07:00
..
2007-03-27 08:52:47 +02:00
2007-07-19 10:04:41 -07:00
2007-07-17 10:22:59 -07:00
2007-07-19 10:04:50 -07:00
2007-02-15 09:57:03 -08:00
2007-07-19 10:04:45 -07:00
2007-07-19 10:04:45 -07:00
2007-05-21 09:18:19 -07:00
2007-07-19 10:04:41 -07:00
2007-05-07 12:12:55 -07:00
2007-05-07 12:12:54 -07:00
2007-07-19 10:04:41 -07:00
2007-07-18 08:47:39 -07:00
2007-07-17 10:22:59 -07:00