[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <714DD165-E237-4599-9EE8-477B01AB4365@kernel.org>
Date: Wed, 19 Oct 2022 21:54:15 -0700
From: Kees Cook <kees@...nel.org>
To: Andrei Vagin <avagin@...il.com>, linux-kernel@...r.kernel.org
CC: Andy Lutomirski <luto@...capital.net>,
Christian Brauner <brauner@...nel.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Kees Cook <keescook@...omium.org>,
Ingo Molnar <mingo@...hat.com>,
Juri Lelli <juri.lelli@...hat.com>,
Peter Oskolkov <posk@...gle.com>,
Peter Zijlstra <peterz@...radead.org>,
Tycho Andersen <tycho@...ho.pizza>,
Will Drewry <wad@...omium.org>,
Vincent Guittot <vincent.guittot@...aro.org>
Subject: Re: [PATCH 2/5] sched: add WF_CURRENT_CPU and externise ttwu
On October 19, 2022 6:10:45 PM PDT, Andrei Vagin <avagin@...il.com> wrote:
>From: Peter Oskolkov <posk@...gle.com>
>
>Add WF_CURRENT_CPU wake flag that advices the scheduler to
>move the wakee to the current CPU. This is useful for fast on-CPU
>context switching use cases such as UMCG.
UMCG is https://lwn.net/Articles/879398/ ?
>In addition, make ttwu external rather than static so that
>the flag could be passed to it from outside of sched/core.c.
>
>Signed-off-by: Peter Oskolkov <posk@...gle.com>
>Signed-off-by: Andrei Vagin <avagin@...il.com>
>---
> kernel/sched/core.c | 3 +--
> kernel/sched/fair.c | 4 ++++
> kernel/sched/sched.h | 13 ++++++++-----
> 3 files changed, 13 insertions(+), 7 deletions(-)
This would need an Ack from the sched maintainers...
--
Kees Cook
Powered by blists - more mailing lists