Re: [PATCH 2/2] sched/core: Don't skip a pending core-wide pick on idle re-entry

From: Ibrahim Elshahed

Date: Fri Nov 20 2026 - 05:41:27 EST


On Wed, Nov 18, 2026 at 03:40:41PM +0100, Peter Zijlstra wrote:
> I'm not sure I understand the rq->core_pick condition here. We already
> have !rq->nr_running, and if we have rq->core_pick, then nr_running must
> be non-zero, right?

Right, the check only mattered without patch 1. I'll drop it in v2 and
keep only core_forceidle_count.