summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-02-06 00:48:21 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-14 04:38:03 +0300
commitbe28368b2ccb328b207c9f66c35bb088d91e6a03 (patch)
treec6cb5174dc4126b710d307ea3d82165f5eb8f5dd /fs
parent273960b8f374b95ebd234a99607b7887f515c791 (diff)
downloadlinux-be28368b2ccb328b207c9f66c35bb088d91e6a03.tar.xz
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 <djwong@kernel.org> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r--fs/bcachefs/time_stats.h2
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 {