From 9550b105b8646f916862aee3ab7b25020ca14159 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 19 Jul 2007 13:21:34 -0700 Subject: [PATCH] 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 Cc: Christoph Lameter Cc: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed