[lkml]   [2003]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [BUG] slab debug vs. L1 alignement
Ben wrote:

>Currently, when enabling slab debugging, we lose the property of
>having the objects aligned on a cache line size.
Correct. Cache line alignment is advisory. Slab debugging is not the
only case that violates the alignment, for example 32-byte allocations
are not padded to the 128 byte cache line size of the Pentium 4 cpus. I
really doubt we want that.

Have you looked at pci_pool_{create,alloc,free,destroy}? The functions
were specifically written to provide aligned buffers for DMA operations.
Perhaps SCSI should use them?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.066 / U:2.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site