Re: [PATCH 2/2] sched/fair: Fix premature check of WAKEUP_PREEMPTION
From: Tianchen Ding
Date: Tue Feb 25 2025 - 01:57:07 EST
On 2/24/25 9:47 PM, Vincent Guittot wrote:
[...]
Or we should just remove it. I'm curious to know who used it during
the last couple of years ? Having in mind that lazy preemption adds
another level as check_preempt_wakeup_fair() uses it so sched-idle
tasks might not always be immediately preempted anyway.
I just remembered that I've mentioned this issue in another thread[1]
before. Can we do preempt SCHED_IDLE immediately even in PREEMPT_LAZY? (to
achieve better response time for SCHED_NORMAL)
[1]
https://lore.kernel.org/all/8e6f02a0-2bd0-4e75-9055-2cb7c508ce4e@xxxxxxxxxxxxxxxxx/