* [RESEND PATCH] acl: Realign struct posix_acl to save 8 bytes
@ 2024-10-15 20:21 Thorsten Blum
2024-10-17 9:19 ` Christian Brauner
0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2024-10-15 20:21 UTC (permalink / raw)
To: Jan Kara, Thorsten Blum; +Cc: Christian Brauner, linux-kernel
Reduce posix_acl's struct size by 8 bytes by realigning its members.
Cc: Christian Brauner <brauner@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RESEND PATCH] acl: Realign struct posix_acl to save 8 bytes
2024-10-15 20:21 [RESEND PATCH] acl: Realign struct posix_acl to save 8 bytes Thorsten Blum
@ 2024-10-17 9:19 ` Christian Brauner
0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2024-10-17 9:19 UTC (permalink / raw)
To: Jan Kara, Thorsten Blum; +Cc: Christian Brauner, linux-kernel
On Tue, 15 Oct 2024 22:21:54 +0200, Thorsten Blum wrote:
> Reduce posix_acl's struct size by 8 bytes by realigning its members.
>
>
Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc
[1/1] acl: Realign struct posix_acl to save 8 bytes
https://git.kernel.org/vfs/vfs/c/8f0a7a2d7bc3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-17 9:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-15 20:21 [RESEND PATCH] acl: Realign struct posix_acl to save 8 bytes Thorsten Blum
2024-10-17 9:19 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox