diff options
| author | Christoph Lameter <[email protected]> | 2007-05-09 02:32:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-09 12:30:44 -0700 |
| commit | 65c02d4cfbbd10188ded3d6577922ab034d943ba (patch) | |
| tree | c7b5165775951bb8e78f4e483b69c969042e8208 /include/linux/debugobjects.h | |
| parent | 97416ce82e20a9511ec369822098a8d20998398a (diff) | |
SLUB: add support for dynamic cacheline size determination
SLUB currently assumes that the cacheline size is static. However, i386 f.e.
supports dynamic cache line size determination.
Use cache_line_size() instead of L1_CACHE_BYTES in the allocator.
That also explains the purpose of SLAB_HWCACHE_ALIGN. So we will need to keep
that one around to allow dynamic aligning of objects depending on boot
determination of the cache line size.
[[email protected]: need to define it before we use it]
Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions