]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm_types: Optimize mm_struct alignments
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 3 Sep 2021 15:15:33 +0000 (11:15 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 3 Sep 2021 15:15:33 +0000 (11:15 -0400)
commit54ea2f28c842eaabec52b96083a98f2151d665ce
treeb494bf3ddaaa1a3aa66dcf5e94eaacda100ab571
parent58372bbfb4168b40f1d00bde45ab2879283bcfd7
mm_types: Optimize mm_struct alignments

There are three atomic_t which are of size 4.  This leaves a hole of 4
bytes on x86_64 according to pahole.  Move map_count to the first
cacheline to fill this hole.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
include/linux/mm_types.h