lkml.org 
[lkml]   [2019]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] vtime: Remove pair of seqcount on context switch
On Mon, Oct 07, 2019 at 06:20:31PM +0200, Ingo Molnar wrote:
>
> * Frederic Weisbecker <frederic@kernel.org> wrote:
>
> > Extracted from a larger queue that fixes kcpustat on nohz_full, these
> > two patches have value on their own as they remove two write barriers
> > on nohz_full context switch.
> >
> > Frederic Weisbecker (2):
> > vtime: Rename vtime_account_system() to vtime_account_kernel()
> > vtime: Spare a seqcount lock/unlock cycle on context switch
> >
> > arch/ia64/kernel/time.c | 4 +--
> > arch/powerpc/kernel/time.c | 6 ++--
> > arch/s390/kernel/vtime.c | 4 +--
> > include/linux/context_tracking.h | 4 +--
> > include/linux/vtime.h | 38 ++++++++++++------------
> > kernel/sched/cputime.c | 50 ++++++++++++++++++--------------
> > 6 files changed, 57 insertions(+), 49 deletions(-)
>
> Which tree is this against? Doesn't apply cleanly to v5.4-rc2 nor v5.3.
> Does it have any prereqs perhaps?

Indeed, you need to apply this fix first: https://lore.kernel.org/lkml/20190925214242.21873-1-frederic@kernel.org/

"[PATCH] sched/vtime: Fix guest/system mis-accounting on task switch"

Thanks!

\
 
 \ /
  Last update: 2019-10-07 18:52    [W:0.056 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site