lkml.org 
[lkml]   [2023]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 38/86] sched: *_tsk_need_resched() now takes resched_t
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 ?

\
 
 \ /
  Last update: 2023-11-20 13:52    [W:0.768 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site