Re: [PATCH 09/25] kcpustat: Track running task following vtime sequences

2018-11-20 Thread Peter Zijlstra
On Wed, Nov 14, 2018 at 03:45:53AM +0100, Frederic Weisbecker wrote: > In order to make kcpustat vtime aware (ie: work on nohz_full without > freezing), we need to track the task running on the CPU in order to > fetch its vtime delta and add it to the relevant kcpustat field. > > The most efficien

[PATCH 09/25] kcpustat: Track running task following vtime sequences

2018-11-13 Thread Frederic Weisbecker
In order to make kcpustat vtime aware (ie: work on nohz_full without freezing), we need to track the task running on the CPU in order to fetch its vtime delta and add it to the relevant kcpustat field. The most efficient way to track this task is to use RCU. The task is assigned on context switch