aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShiyong Li2010-04-12 13:48:21 +0800
committerPekka Enberg2010-04-14 20:52:45 +0300
commit5c5e3b33b7cb959a401f823707bee006caadd76e (patch)
treeaa3c77659d80d714e833a35bcfc20b72a9b6f368 /include/linux
parent0d0fb0f9c5fddef4a10242fe3337f00f528a3099 (diff)
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 <shi-yong.li@motorola.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions