Re: [patch 2/2] slab: always consider arch mandated alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Lameter wrote:

So Redzoning etc will now be diabled regardless even if ARCH_SLAB_MINALIGN is not set but another alignment is given to kmem_cache_alloc?
kmem_cache_create().

So we sacrifice the ability to worsen the performance of slabs by misaligning them for debugging purposes.
If a slab user can live with misaligned objects, then he shouldn't set align. Thus we do not sacrifice anything.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux