lkml.org 
[lkml]   [2006]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] slab: always follow arch requested alignments
On Wed, 26 Jul 2006, Pekka Enberg wrote:
> > This is the bit I missed, sorry. I thought that the s390 hardware
> > mandates 8 byte alignment, but it really doesn't. So you're absolutely
> > right, you don't need to set ARCH_SLAB_MINALIGN and the alignment
> > calculation in slab is indeed broken for both, architecture and caller
> > mandated alignments.

On Wed, 26 Jul 2006, Christoph Lameter wrote:
> Well that is a bit far reaching. What is broken is that SLAB_RED_ZONE and
> SLAB_STORE_USER ignore any given alignment. If you want to fix that then
> you need to modify how both debugging methods work.

Not sure I understand what you mean. Isn't it enough that we disable
debugging if architecture or caller mandated alignment is greater than
BYTES_PER_WORD?

Pekka
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-26 13:35    [W:0.047 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site