Skip to content
Commit dcb0ce1b authored by Zhang, Yanmin's avatar Zhang, Yanmin Committed by Pekka Enberg
Browse files

slub: change kmem_cache->align to record the real alignment



kmem_cache->align records the original align parameter value specified
by users. Function calculate_alignment might change it based on cache
line size. So change kmem_cache->align correspondingly.

Signed-off-by: default avatarZhang Yanmin <yanmin_zhang@linux.intel.com>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent 3de47213
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment