diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-04-14 23:08:44 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-04-22 17:06:49 +0200 |
commit | b8e38413ac2c33c497e72895fcd5da709fd1b908 (patch) | |
tree | c2aab305af3fc45fe82b9639ce8af1fa8a72f9d1 /lib/timerqueue.c | |
parent | hrtimer: Cache line align the hrtimer cpu base (diff) | |
download | linux-b8e38413ac2c33c497e72895fcd5da709fd1b908.tar.xz linux-b8e38413ac2c33c497e72895fcd5da709fd1b908.zip |
hrtimer: Align the hrtimer clock bases as well
We don't use cacheline_align here because that might waste lot of
space on 32bit machine with 64 bytes cachelines and on 64bit machines
with 128 bytes cachelines.
The size of struct hrtimer_clock_base is 64byte on 64bit and 32byte on
32bit machines. So we utilize the cache lines proper.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/20150414203501.498165771@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions