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

From: cl
Date: Thu Mar 05 2020 - 05:00:03 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.
v2: Use atomic_flags(PFA) instead of TIF flag, and add some comments.

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

include/linux/sched.h | 5 +++++
kernel/kthread.c | 4 ++++
kernel/sched/fair.c | 13 +++++++++++++
3 files changed, 22 insertions(+)

--
2.17.1