lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 3 Mar 2008 22:41:57 +0200
From:	"Pekka Enberg" <penberg@...helsinki.fi>
To:	"Nick Piggin" <npiggin@...e.de>
Cc:	"Christoph Lameter" <clameter@....com>, netdev@...r.kernel.org,
	"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
	yanmin_zhang@...ux.intel.com, "David Miller" <davem@...emloft.net>,
	"Eric Dumazet" <dada1@...mosbay.com>
Subject: Re: [rfc][patch 2/3] slab: introduce SMP alignment

On Mon, Mar 3, 2008 at 10:24 PM, Nick Piggin <npiggin@...e.de> wrote:
>  > Then align the objects at cacheline boundaries by providing a value for
>  > the align parameter to kmem_cache_create().
>
>  max(num_possible_cpus() > 1 ? cache_line_size() : 0, mandatory_alignment)?
>
>  Then suppose we want a CONFIG_TINY option to eliminate it?

Hmm... Can't we just fix SLAB_HWCACHE_ALIGN in SLUB to follow the
semantics of SLAB?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ