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] [day] [month] [year] [list]
Date:	Sat, 28 Aug 2010 11:57:02 -0400
From:	Rik van Riel <riel@...hat.com>
To:	Richard Kennedy <richard@....demon.co.uk>
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-mm <linux-mm@...ck.org>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm:  remove alignment padding from anon_vma on (some)
 64 bit builds

On 08/28/2010 10:09 AM, Richard Kennedy wrote:
> Reorder structure anon_vma to remove alignment padding on 64 builds when
> (CONFIG_KSM || CONFIG_MIGRATION).
> This will shrink the size of the anon_vma structure from 40 to 32 bytes
> &  allow more objects per slab in its kmem_cache.
>
> Under slub the objects in the anon_vma kmem_cache will then be 40 bytes
> with 102 objects per slab.
> (On v2.6.36 without this patch,the size is 48 bytes and 85
> objects/slab.)
>
> compiled&  tested on x86_64 using SLUB
>
> Signed-off-by: Richard Kennedy<richard@....demon.co.uk>

Reviewed-by: Rik van Riel <riel@...hat.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ