[PATCH 08/10] time_stats: shrink time_stat_buffer for better alignment

From: Darrick J. Wong
Date: Fri Feb 23 2024 - 20:12:29 EST


From: Darrick J. Wong <djwong@xxxxxxxxxx>

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@xxxxxxxxxx>
Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>
---
include/linux/time_stats.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/include/linux/time_stats.h b/include/linux/time_stats.h
index dc539123f7997..b3c810fff963a 100644
--- a/include/linux/time_stats.h
+++ b/include/linux/time_stats.h
@@ -63,7 +63,7 @@ struct time_stat_buffer {
struct time_stat_buffer_entry {
u64 start;
u64 end;
- } entries[32];
+ } entries[31];
};

struct time_stats {