maple_tree: shrink struct maple_tree from 24 to 16 bytes on LP64
Subsystems (2)
PATCH 1/1 maple_tree: shrink struct maple_tree from 24 to 16 bytes on LP64
by plugging a padding hole.
[sounds like an obvious thing to do, am I missing something?]
Signed-off-by Mateusz Guzik <[email protected]>
--- include/linux/maple_tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/maple_tree.h +1 -1
@@ -212,8 +212,8 @@ struct maple_tree {spinlock_t ma_lock;lockdep_map_p ma_external_lock; }; -void __rcu *ma_root;unsigned int ma_flags; +void __rcu *ma_root; };/**
Signature · 1 line
2.39.2
Quoted 3 lines · Mateusz Guzik
by plugging a padding hole.
[sounds like an obvious thing to do, am I missing something?]
That was how I originally had it. Not sure when/why it got messed up.
Quoted 3 lines · Mateusz Guzik
by plugging a padding hole.
[sounds like an obvious thing to do, am I missing something?]
Thanks for the patch. There is no reason for the current ordering.
I've tested both 32 and 64 bit userspace testing to double check everything still works.
Quoted 2 lines
Signed-off-by Mateusz Guzik <[email protected]>
Reviewed-by Liam R. Howlett <[email protected]>
Quoted 22 lines
--- include/linux/maple_tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/maple_tree.h +1
-1@@ -212,8 +212,8 @@ struct maple_tree {spinlock_t ma_lock;lockdep_map_p ma_external_lock; }; -void __rcu *ma_root;unsigned int ma_flags; +void __rcu *ma_root; };/** Signature · 1 line
2.39.2