[PATCH v5 0/5] sched_clock: Optimize and avoid deadlock during read from NMI

2015-03-02 Thread Daniel Thompson
This patchset optimizes the generic sched_clock implementation by removing branches and significantly reducing the data cache profile. It also makes it safe to call sched_clock() from NMI (or FIQ on ARM). The data cache profile of sched_clock() in the original code is somewhere between 2 and 3

[PATCH v5 0/5] sched_clock: Optimize and avoid deadlock during read from NMI

2015-03-02 Thread Daniel Thompson
This patchset optimizes the generic sched_clock implementation by removing branches and significantly reducing the data cache profile. It also makes it safe to call sched_clock() from NMI (or FIQ on ARM). The data cache profile of sched_clock() in the original code is somewhere between 2 and 3