lkml.org 
[lkml]   [2008]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rfc][patch 1/3] slub: fix small HWCACHE_ALIGN alignment
Hi,

Christoph Lameter wrote:
> Well the guarantee can only be exploited if you would check the cacheline
> sizes and the object size from the code that creates the slab cache.
> Basically you would have to guestimate what the slab allocator is doing.
>
> So the guarantee is basically meaningless. If the object is larger than a
> cacheline then this will never work.

Yes, I know that. That's why I am asking why this matters. If there's
some sort of regression because SLUB does HWCACHE_ALIGN bit differently,
we need to fix that. Not that it necessarily means we have to change
HWCACHE_ALIGN but I am assuming Nick has some reason why he wants to
introduce the SMP alignment flag.

Pekka


\
 
 \ /
  Last update: 2008-03-03 22:39    [W:1.415 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site