diff options
| author | Thomas Gleixner <[email protected]> | 2015-04-14 21:08:41 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-04-22 15:06:49 +0000 |
| commit | 34aee88a02ba296a8e8c9523cdf77147731903f1 (patch) | |
| tree | c43d1d79dd716ca62010d19d75a9479ef18d575d /lib/timerqueue.c | |
| parent | hrtimer: Use bits for various boolean indicators (diff) | |
| download | kernel-34aee88a02ba296a8e8c9523cdf77147731903f1.tar.gz kernel-34aee88a02ba296a8e8c9523cdf77147731903f1.zip | |
hrtimer: Use cpu_base->active_base for hotpath iterators
The active_bases field is guaranteed to be in sync with the timerqueue
of the corresponding clock base. So we can use it for iterating over
the clock bases. This allows to break out early if no more active
clock bases are available and avoids touching the cache lines of
inactive clock bases.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Preeti U Murthy <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Viresh Kumar <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
