Re: [RFC PATCH 38/86] sched: *_tsk_need_resched() now takes resched_t
From: Peter Zijlstra
Date: Wed Nov 08 2023 - 04:04:20 EST
On Tue, Nov 07, 2023 at 01:57:24PM -0800, Ankur Arora wrote:
> *_tsk_need_resched() need to test for the specific need-resched
> flag.
>
> The only users are RCU and the scheduler. For RCU we always want
> to schedule at the earliest opportunity and that is always
> RESCHED_eager.
Why ?
>
> For the scheduler, keep everything as RESCHED_eager for now.
Why ?