Commit be28368b authored by Darrick J. Wong's avatar Darrick J. Wong Committed by Kent Overstreet

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: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 273960b8
...@@ -64,7 +64,7 @@ struct time_stat_buffer { ...@@ -64,7 +64,7 @@ struct time_stat_buffer {
struct time_stat_buffer_entry { struct time_stat_buffer_entry {
u64 start; u64 start;
u64 end; u64 end;
} entries[32]; } entries[31];
}; };
struct bch2_time_stats { struct bch2_time_stats {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment