From: Shiyong Li Date: Mon, 12 Apr 2010 05:48:21 +0000 (+0800) Subject: slab: Fix missing DEBUG_SLAB last user X-Git-Tag: v2.6.35-rc1~421^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c5e3b33b7cb959a401f823707bee006caadd76e;p=pandora-kernel.git slab: Fix missing DEBUG_SLAB last user Even with SLAB_RED_ZONE and SLAB_STORE_USER enabled, kernel would NOT store redzone and last user data around allocated memory space if "arch cache line > sizeof(unsigned long long)". As a result, last user information is unexpectedly MISSED while dumping slab corruption log. This fix makes sure that redzone and last user tags get stored unless the required alignment breaks redzone's. Signed-off-by: Shiyong Li Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed