Re: [PATCH 08/25] vtime: Exit vtime before exit_notify()

2018-11-20 Thread Peter Zijlstra
On Wed, Nov 14, 2018 at 03:45:52AM +0100, Frederic Weisbecker wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index d458d65..27e0544 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -265,6 +265,8 @@ struct task_cputime { > enum vtime_state { > /*

[PATCH 08/25] vtime: Exit vtime before exit_notify()

2018-11-13 Thread Frederic Weisbecker
In order to correctly implement kcpustat under nohz_full, we need to track the task running on a given CPU and read its vtime state safely, reliably and locklessly. This leaves us with tracking and fetching that task under RCU. This will be done in a further patch. Until then we need to prepare vt