Skip to contentSkip to conversation

SLAB_HWCACHE_ALIGN question

DISCUSSION Dipankar Sarma 1 participant 1 message Nov 30, 2001

lore
Share & tools
lore
#0 lore raw

Greetings.

Why does SLAB_HWCACHE_ALIGN forces alignment on L1_CACHE_BYTES and not SMP_CACHE_BYTES ? Does this have anything to do with fitting cache objects in a single L1 cache line even when it is uniprocessor and SMP_CACHE_BYTES is no equal to L1_CACHE_BYTES ?

Thanks
Dipankar

Signature · 2 lines
Dipankar Sarma  <[email protected]> http://lse.sourceforge.net
Linux Technology Center, IBM Software Lab, Bangalore, India.