Commit 711d2731 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

s390/idle: reduce size of s390_idle_data structure

Avoid padding in the middle and the end of the data structure by
moving nohz_delay member to the beginning.
Saves eight byte per cpu.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 0008204f
...@@ -167,12 +167,12 @@ static inline clock_t cputime64_to_clock_t(cputime64_t cputime) ...@@ -167,12 +167,12 @@ static inline clock_t cputime64_to_clock_t(cputime64_t cputime)
} }
struct s390_idle_data { struct s390_idle_data {
int nohz_delay;
unsigned int sequence; unsigned int sequence;
unsigned long long idle_count; unsigned long long idle_count;
unsigned long long idle_enter; unsigned long long idle_enter;
unsigned long long idle_exit; unsigned long long idle_exit;
unsigned long long idle_time; unsigned long long idle_time;
int nohz_delay;
}; };
DECLARE_PER_CPU(struct s390_idle_data, s390_idle); DECLARE_PER_CPU(struct s390_idle_data, s390_idle);
......
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