[PATCH v1 0/1] wait_task_inactive() spend too much time on system startup

From: cl
Date: Thu Mar 05 2020 - 03:24:05 EST


From: Liang Chen <cl@xxxxxxxxxxxxxx>

Changelog:
v1: wait_task_inactive() frequently call schedule_hrtimeout() and spend a lot of time,
i am trying to optimize it on rockchip platform.

Liang Chen (1):
sched/fair: do not preempt current task if it is going to call
schedule()

arch/arm/include/asm/thread_info.h | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
include/linux/sched.h | 15 +++++++++++++++
kernel/kthread.c | 4 ++++
kernel/sched/fair.c | 4 ++++
5 files changed, 25 insertions(+)

--
2.17.1