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 <adobri...@gmail.com>

Acked-by: Pekka Enberg <penb...@kernel.org>

Reply via email to