sched: add do_sched_yield() helper; remove in-kernel call to sched_yield()
authorDominik Brodowski <[email protected]>
Wed, 14 Mar 2018 21:40:35 +0000 (22:40 +0100)
committerDominik Brodowski <[email protected]>
Mon, 2 Apr 2018 18:15:31 +0000 (20:15 +0200)
commit7d4dd4f159b94003655b1688d9a4c0e2b6268ff8
treeba86cee2e4ce224148661fcd8255416c136af374
parente530dca584a9aa4aedf26adf0ed3c1c9b80e2767
sched: add do_sched_yield() helper; remove in-kernel call to sched_yield()

Using the sched-internal do_sched_yield() helper allows us to get rid of
the sched-internal call to the sys_sched_yield() syscall.

This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/20180325162527[email protected]

Cc: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
kernel/sched/core.c