lkml.org 
[lkml]   [2010]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] mm: Move ARCH_SLAB_MINALIGN and ARCH_KMALLOC_MINALIGN to <linux/slab_def.h>
On 05/19/2010 08:10 PM, David Woodhouse wrote:
>> * Unless debug options are enabled, the kernel uses cache_line_size()
>> automatically.
>>
> ... that's a lie.
>
>
You are right, I didn't notice that there are now 8 and 16-byte kmalloc
caches.

Apart from that:

KMALLOC_FLAGS is SLAB_HWCACHE_ALIGN.
SLAB_HWCACHE_ALIGN defaults the alignment to cache_line_size().


Did I overlook anything else?

--
Manfred


\
 
 \ /
  Last update: 2010-05-20 18:51    [W:0.098 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site