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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {