Skip to content

RFC sched: Remove finish_arch_switch()

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7arm: Remove finish_arch_switcharch/arm/include/asm/switch_to.h+4 -13 replies
2/7MIPS: Get rid of finish_arch_switch().arch/mips/include/asm/switch_to.h+23 -250 replies
3/7avr32: Remove finish_arch_switch()arch/avr32/include/asm/switch_to.h+5 -21 reply
4/7score: Remove finish_arch_switch()arch/score/include/asm/switch_to.h+0 -20 replies
5/7sh: Fold finish_arch_switch() into switch_to()arch/sh/include/asm/switch_to_32.h+2 -60 replies
6/7Remove finish_arch_switcharch/tile/include/asm/switch_to.h arch/tile/kernel/process.c+18 -90 replies
7/7sched: Remove finish_arch_switch()kernel/sched/core.c kernel/sched/sched.h+0 -40 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchHans-Christian Egtvedt
1/7
2/7
3/7A-b
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH 0/7] sched: Remove finish_arch_switch()

Hi,

There were only a few architectures utilizing finish_arch_switch() and it looks like they can all do without.

This means we can remove finish_arch_switch(); partly to make up for introducing finish_arch_post_lock_switch(), partly to reduce the number of arch hooks to consider.

Much thanks to Ralf, Will and Chris for helping out with this!