lkml.org 
[lkml]   [2019]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] vtime: Remove pair of seqcount on context switch
Date
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(-)

--
2.23.0

\
 
 \ /
  Last update: 2019-10-03 19:22    [W:0.076 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site