mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
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>
This commit is contained in:
parent
273960b8f3
commit
be28368b2c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user