Re: [patch] slab: always follow arch requested alignments
- From: Christoph Lameter <clameter@xxxxxxx>
- Date: Wed, 26 Jul 2006 04:41:04 -0700 (PDT)
On Wed, 26 Jul 2006, Pekka J Enberg wrote:
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?
If you disable them then we are fine. I think the main "bug" is that
we create the caches with ARCH_KMALLOC_MINALIGN in kmem_cache_init but
allow debug options on them. It seemss that we need to be able to disable
debugging from kmem_cache_init.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch] slab: always follow arch requested alignments
- From: Pekka J Enberg
- Re: [patch] slab: always follow arch requested alignments
- References:
- [patch] slab: always follow arch requested alignments
- From: Heiko Carstens
- Re: [patch] slab: always follow arch requested alignments
- From: Christoph Lameter
- Re: [patch] slab: always follow arch requested alignments
- From: Heiko Carstens
- Re: [patch] slab: always follow arch requested alignments
- From: Pekka Enberg
- Re: [patch] slab: always follow arch requested alignments
- From: Christoph Lameter
- Re: [patch] slab: always follow arch requested alignments
- From: Pekka J Enberg
- [patch] slab: always follow arch requested alignments
- Prev by Date: RE: [discuss] Re: [PATCH] Allow all Opteron processors to change pstate at same time
- Next by Date: Re: [PATCH] TIF_NOTSC and SECCOMP prctl
- Previous by thread: Re: [patch] slab: always follow arch requested alignments
- Next by thread: Re: [patch] slab: always follow arch requested alignments
- Index(es):
Relevant Pages
|