maple_tree: shrink struct maple_tree
authorMateusz Guzik <mjguzik@gmail.com>
Mon, 21 Aug 2023 22:51:45 +0000 (00:51 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 24 Aug 2023 23:20:32 +0000 (16:20 -0700)
commit52ae298e3e5c9be5bb95e1c6d9199e5210f2a156
tree7dacdd4df5adbc90a4093a920bf8d22e6c8b891a
parent432af5c966667f12c7af38fb3b2cd52eef0c47b4
maple_tree: shrink struct maple_tree

Pack the members of struct maple_tree to avoid holes on 64-bit.  The size
shrinks from 24 to 16 bytes which will save eight bytes in every structure
which embeds it.

[willy@infradead.org: changelog alterations]
Link: https://lkml.kernel.org/r/20230821225145.2169848-1-mjguzik@gmail.com
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/maple_tree.h