mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix SCHED_IDLE behavior on wakeup preemption
@ 2025-02-27  8:58 Abel Wu
  2025-02-27  8:58 ` [PATCH v2 1/2] sched/fair: Do not let idle entities preempt others Abel Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Abel Wu @ 2025-02-27  8:58 UTC (permalink / raw)
  To: Madadi Vineeth Reddy, Phil Auld, Ingo Molnar, Peter Zijlstra,
	Juri Lelli, Vincent Guittot, Dietmar Eggemann, Steven Rostedt,
	Ben Segall, Mel Gorman, Valentin Schneider, Josh Don,
	Tianchen Ding
  Cc: Abel Wu, open list:SCHEDULER

The commit 6bc912b71b6f ("sched: SCHED_OTHER vs SCHED_IDLE isolation")
defines the behavior of SCHED_IDLE as following:

 - no SCHED_IDLE buddies
 - never let SCHED_IDLE preempt on wakeup
 - always preempt SCHED_IDLE on wakeup
 - limit SLEEPER fairness for SCHED_IDLE

and the middle two of them are broken now.

v2:
 - Collect Reviewed-by tags from Vincent, Josh and Madadi, thanks!
 - Rebased to up-to-date tip. (Madadi)
 - Folded some discussion with Vincent into commit log.

Abel Wu (2):
  sched/fair: Do not let idle entities preempt others
  sched/fair: Fix premature check of WAKEUP_PREEMPTION

 kernel/sched/fair.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

-- 
2.37.3


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-03  3:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-27  8:58 [PATCH v2 0/2] Fix SCHED_IDLE behavior on wakeup preemption Abel Wu
2025-02-27  8:58 ` [PATCH v2 1/2] sched/fair: Do not let idle entities preempt others Abel Wu
2025-02-27  8:58 ` [PATCH v2 2/2] sched/fair: Fix premature check of WAKEUP_PREEMPTION Abel Wu
2025-02-28 14:26   ` Vincent Guittot
2025-03-03  3:32     ` Abel Wu
2025-02-28  8:05 ` [PATCH v2 0/2] Fix SCHED_IDLE behavior on wakeup preemption K Prateek Nayak
2025-03-03  3:30   ` Abel Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®