[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241004103401.38579-2-thorsten.blum@linux.dev>
Date: Fri, 4 Oct 2024 12:33:57 +0200
From: Thorsten Blum <thorsten.blum@...ux.dev>
To: Thorsten Blum <thorsten.blum@...ux.dev>,
Christian Brauner <brauner@...nel.org>,
Jan Kara <jack@...e.cz>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] acl: Realign struct posix_acl to reduce its size by 8 bytes
Reduce posix_acl's struct size by 8 bytes by realigning its members.
Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
---
include/linux/posix_acl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h
index 83b2c5fba1d9..e2d47eb1a7f3 100644
--- a/include/linux/posix_acl.h
+++ b/include/linux/posix_acl.h
@@ -28,8 +28,8 @@ struct posix_acl_entry {
struct posix_acl {
refcount_t a_refcount;
- struct rcu_head a_rcu;
unsigned int a_count;
+ struct rcu_head a_rcu;
struct posix_acl_entry a_entries[] __counted_by(a_count);
};
--
2.46.2
Powered by blists - more mailing lists