Skip to content

sched/vtime: vtime.h headers cleanup

Alexander Gordeev linux-arch linux-s390 linuxppc-dev lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 3/35 patches 2 repliesIn review
  2. v2 posting 2/35 patches 1 replySuperseded
  3. v2 posting 1/35 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches10 repliesSuperseded

Changes in v2 from the cover letter

- patch 4: commit message reworded (Heiko)
- patch 5: vtime.h is removed from Kbuild scripts (PowerPC only) (Heiko)

Patches in v2 posting 3/3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5sched/vtime: remove confusing arch_vtime_task_switch() declarationinclude/linux/vtime.h+0 -10 replies
2/5sched/vtime: get rid of generic vtime_task_switch() implementationarch/powerpc/include/asm/cputime.h arch/powerpc/kernel/time.c kernel/sched/cputime.c+22 -260 replies
3/5s390/vtime: remove unused __ARCH_HAS_VTIME_TASK_SWITCH leftoverarch/s390/include/asm/vtime.h+0 -20 replies
4/5s390/irq,nmi: include <asm/vtime.h> header directlyarch/s390/kernel/irq.c arch/s390/kernel/nmi.c+2 -00 replies
5/5sched/vtime: do not include <asm/vtime.h> headerarch/powerpc/include/asm/Kbuild include/asm-generic/vtime.h include/linux/vtime.h+0 -60 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchFrederic WeisbeckerNicholas PigginMichael EllermanHeiko Carstens
1/5R-b R-b
2/5R-b R-b A-b
3/5R-b A-b A-b
4/5A-b
5/5R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 RESEND 0/5] sched/vtime: vtime.h headers cleanup

Hi All,

There are no changes since the last post, just a re-send.

v2:
- patch 4: commit message reworded (Heiko)
- patch 5: vtime.h is removed from Kbuild scripts (PowerPC only) (Heiko)

v1:
Please find a small cleanup to vtime_task_switch() wiring. I split it into smaller patches to allow separate PowerPC vs s390 reviews. Otherwise patches 2+3 and 4+5 could have been merged.

I tested it on s390 and compile-tested it on 32- and 64-bit PowerPC and few other major architectures only, but it is only of concern for CONFIG_VIRT_CPU_ACCOUNTING_NATIVE-capable ones (AFAICT).

Thanks!

Alexander Gordeev (5):
sched/vtime: remove confusing arch_vtime_task_switch() declaration sched/vtime: get rid of generic vtime_task_switch() implementation s390/vtime: remove unused __ARCH_HAS_VTIME_TASK_SWITCH leftover s390/irq,nmi: include <asm/vtime.h> header directly sched/vtime: do not include <asm/vtime.h> header

 arch/powerpc/include/asm/Kbuild    |  1 -
 arch/powerpc/include/asm/cputime.h | 13 -------------
 arch/powerpc/kernel/time.c         | 22 ++++++++++++++++++++++
 arch/s390/include/asm/vtime.h      |  2 --
 arch/s390/kernel/irq.c             |  1 +
 arch/s390/kernel/nmi.c             |  1 +
 include/asm-generic/vtime.h        |  1 -
 include/linux/vtime.h              |  5 -----
 kernel/sched/cputime.c             | 13 -------------
 9 files changed, 24 insertions(+), 35 deletions(-)
 delete mode 100644 include/asm-generic/vtime.h
Signature · 1 line
2.40.1