lkml.org 
[lkml]   [2023]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 09/14] sched: Split scheduler execution context
On Tue, Apr 11, 2023 at 04:25:06AM +0000, John Stultz wrote:
> From: Peter Zijlstra <peterz@infradead.org>
>
> Lets define the scheduling context as all the scheduler state in
> task_struct and the execution context as all state required to run the
> task.
>
> Currently both are intertwined in task_struct. We want to logically
> split these such that we can run the execution context of one task
> with the scheduling context of another.
>
> To this purpose introduce rq_selected() to point to the task_struct
> used for scheduler state and preserve rq_curr() to denote the execution
> context.

I can't say I like the rq_selected() naming :/

\
 
 \ /
  Last update: 2023-04-22 12:15    [W:0.167 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site