Re: [PATCH 0/5] Arch-generic sched_clock NMI safety and optimizations for -tip

Peter Zijlstra
2015-03-17T17:56:18Z

On Tue, Mar 17, 2015 at 10:38:21AM -0700, John Stultz wrote:
> Daniel Thompson (5):
> sched_clock: Match scope of read and write seqcounts
> sched_clock: Optimize cache line usage
> sched_clock: Remove suspend from clock_read_data
> sched_clock: Remove redundant notrace from update function
> sched_clock: Avoid deadlock during read from NMI
>
> kernel/time/sched_clock.c | 195 ++++++++++++++++++++++++++++++++--------------
> 1 file changed, 138 insertions(+), 57 deletions(-)

Looks sane; makes one wonder if there's more code to share between this
and the core timekeeping; there's some strong resemblance ;-)

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>