diff options
author | Shiyong Li <shi-yong.li@motorola.com> | 2010-04-12 13:48:21 +0800 |
---|---|---|
committer | Pekka Enberg <penberg@cs.helsinki.fi> | 2010-04-14 20:52:45 +0300 |
commit | 5c5e3b33b7cb959a401f823707bee006caadd76e (patch) | |
tree | aa3c77659d80d714e833a35bcfc20b72a9b6f368 /mm/slub.c | |
parent | 0d0fb0f9c5fddef4a10242fe3337f00f528a3099 (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 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions