[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ed694fcb-c1b8-849f-dc5d-145aa8872ad2@iki.fi>
Date: Sun, 22 Oct 2017 09:40:27 +0300
From: Pekka Enberg <penberg@....fi>
To: Alexey Dobriyan <adobriyan@...il.com>, akpm@...ux-foundation.org
Cc: linux-mm@...ck.org, cl@...ux.com, penberg@...nel.org,
rientjes@...gle.com, iamjoonsoo.kim@....com,
ecryptfs@...r.kernel.org, linux-xfs@...r.kernel.org,
kasan-dev@...glegroups.com, netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] slab, slub, slob: convert slab_flags_t to 32-bit
On 21/10/2017 13.06, Alexey Dobriyan wrote:
> struct kmem_cache::flags is "unsigned long" which is unnecessary on
> 64-bit as no flags are defined in the higher bits.
>
> Switch the field to 32-bit and save some space on x86_64 until such
> flags appear:
>
> add/remove: 0/0 grow/shrink: 0/107 up/down: 0/-657 (-657)
> function old new delta
> sysfs_slab_add 720 719 -1
> ...
> check_object 699 676 -23
>
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
Acked-by: Pekka Enberg <penberg@...nel.org>
Powered by blists - more mailing lists