diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-05 13:48:21 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-13 21:38:03 -0400 |
commit | be28368b2ccb328b207c9f66c35bb088d91e6a03 (patch) | |
tree | c6cb5174dc4126b710d307ea3d82165f5eb8f5dd | |
parent | 273960b8f374b95ebd234a99607b7887f515c791 (diff) |
bcachefs: time_stats: shrink time_stat_buffer for better alignmentbcachefs-2024-03-13
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 <djwong@kernel.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r-- | fs/bcachefs/time_stats.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/time_stats.h b/fs/bcachefs/time_stats.h index ed6c03c436c0..5df61403744b 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 { |