Skip to content

vtime: Remove pair of seqcount on context switch

Frederic Weisbecker lkml 1 version Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2vtime: Rename vtime_account_system() to vtime_account_kernel()arch/ia64/kernel/time.c arch/powerpc/kernel/time.c arch/s390/kernel/vtime.c +3 more+21 -210 replies
2/2vtime: Spare a seqcount lock/unlock cycle on context switchinclude/linux/vtime.h kernel/sched/cputime.c+37 -290 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] vtime: Remove pair of seqcount on context switch

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(-)
Signature · 1 line
2.23.0