From: Darrick J. Wong Date: Mon, 5 Feb 2024 21:48:21 +0000 (-0800) Subject: bcachefs: time_stats: shrink time_stat_buffer for better alignment X-Git-Tag: v6.9-rc1~105^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be28368b2ccb328b207c9f66c35bb088d91e6a03;p=thirdparty%2Fkernel%2Flinux.git bcachefs: time_stats: shrink time_stat_buffer for better alignment Shrink this percpu object by one array element so that the object size becomes exactly 512 bytes. This will lead to more efficient memory use, hopefully. Signed-off-by: Darrick J. Wong Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/time_stats.h b/fs/bcachefs/time_stats.h index ed6c03c436c02..5df61403744b1 100644 --- a/fs/bcachefs/time_stats.h +++ b/fs/bcachefs/time_stats.h @@ -64,7 +64,7 @@ struct time_stat_buffer { struct time_stat_buffer_entry { u64 start; u64 end; - } entries[32]; + } entries[31]; }; struct bch2_time_stats {