[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241015202158.2376-1-thorsten.blum@linux.dev>
Date: Tue, 15 Oct 2024 22:21:54 +0200
From: Thorsten Blum <thorsten.blum@...ux.dev>
To: Jan Kara <jack@...e.cz>,
Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Christian Brauner <brauner@...nel.org>,
linux-kernel@...r.kernel.org
Subject: [RESEND PATCH] acl: Realign struct posix_acl to save 8 bytes
Reduce posix_acl's struct size by 8 bytes by realigning its members.
Cc: Christian Brauner <brauner@...nel.org>
Reviewed-by: Jan Kara <jack@...e.cz>
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 0e65b3d634d9..2d6a4badd306 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[];
};
--
2.47.0
Powered by blists - more mailing lists