commit | 3fdb14fd1df70325e1e91e1203a699a4803ed741 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed Jul 16 21:04:07 2014 +0000 |
committer | John Stultz <john.stultz@linaro.org> | Wed Jul 23 10:17:56 2014 -0700 |
tree | 9b3d581e4c666ea4dcf356da35473406bf5164e0 | |
parent | c905fae43f61c2b4508fc01722e8db61b6b8ac0b [diff] |
timekeeping: Cache optimize struct timekeeper struct timekeeper is quite badly sorted for the hot readout path. Most time access functions need to load two cache lines. Rearrange it so ktime_get() and getnstimeofday() are happy with a single cache line. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>