summaryrefslogtreecommitdiff
path: root/lib/idr.c
diff options
context:
space:
mode:
authorZhang, Yanmin <yanmin_zhang@linux.intel.com>2009-07-30 11:28:11 +0800
committerPekka Enberg <penberg@cs.helsinki.fi>2009-08-01 18:26:40 +0300
commitdcb0ce1bdf39581bcd0cffc3d487fb20667977cd (patch)
tree63e7b32f1bb3cd6086c246aa483c80c28a8962fb /lib/idr.c
parent3de472138a138008b534d9587593ba83390e330a (diff)
downloadlinux-3.10-dcb0ce1bdf39581bcd0cffc3d487fb20667977cd.tar.gz
linux-3.10-dcb0ce1bdf39581bcd0cffc3d487fb20667977cd.tar.bz2
linux-3.10-dcb0ce1bdf39581bcd0cffc3d487fb20667977cd.zip
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: Zhang Yanmin <yanmin_zhang@linux.intel.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions