Skip to content

wait_task_inactive() spend too much time on system startup

[email protected] linux-arm-kernel lkml 3 versions – Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 2 repliesApplied
  2. v21 patch 1 replySuperseded
  3. v11 patch 4 repliesSuperseded

Changelog from the cover letter

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.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/1kthread: do not preempt current task if it is going to call schedule()kernel/kthread.c+15 -22 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchSteven Rostedt (VMware)
1/1R-b

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

Read the v3 thread

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

From: Liang Chen <[email protected]>

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(-)
Signature · 1 line
2.17.1