Messages in this thread | | | From | <> | Subject | [PATCH v3 0/1] wait_task_inactive() spend too much time on system startup | Date | Fri, 6 Mar 2020 15:01:32 +0800 |
| |
From: Liang Chen <cl@rock-chips.com>
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. v3: Use a new method fix this issue to make the code simple.
Liang Chen (1): kthread: do not preempt current task if it is going to call schedule()
kernel/kthread.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-)
-- 2.17.1
| |