Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1741506

Re: [PATCH 06/25] hrtimer: Store running timer in hrtimer_clock_base

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH 06/25] hrtimer: Store running timer in hrtimer_clock_base
Date 2017-09-28 14:50 +0200
Message-ID <uuGqn-C7-37@gated-at.bofh.it> (permalink)
References <ukwLD-5Ay-3@gated-at.bofh.it> <ukwLG-5Ay-55@gated-at.bofh.it> <utCRQ-7FH-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 25 Sep 2017, Peter Zijlstra wrote:

> On Thu, Aug 31, 2017 at 12:23:36PM -0000, Anna-Maria Gleixner wrote:
> > Unfortunately this makes cpu_clock base larger than 32 bytes on 32bit
> > kernels. Instead of having huge gaps due to alignment, remove the alignment
> > and let the compiler pack cpu base for 32bit. The resulting cache access
> > patterns are fortunately not really different from the current
> > behaviour.
> 
> How did you determine this? Perf lacks much useful tooling right about
> there :/

Just by analyzing the resulting layout and looking at the number of cache
lines involved for the frequently used clocks (mono/real).

Thanks,

	tglx

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 06/25] hrtimer: Store running timer in  hrtimer_clock_base Thomas Gleixner <tglx@linutronix.de> - 2017-09-28 14:50 +0200

csiph-web