mbox series

[0/2] sched: rseq mm_cid updates

Message ID 20240415152114.59122-1-mathieu.desnoyers@efficios.com (mailing list archive)
Headers show
Series sched: rseq mm_cid updates | expand

Message

Mathieu Desnoyers April 15, 2024, 3:21 p.m. UTC
Hi,

This patch series consists of 2 patches. It is based on v6.9-rc4.

- A fix aiming for v6.9-rc (to be backported to stable kernels):
  "sched: Add missing memory barrier in switch_mm_cid"

- An improvement patch aiming for v6.10:
  "sched: Move mm_cid code from sched.h to core.c"

Thanks,

Mathieu

Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Ben Segall <bsegall@google.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Daniel Bristot de Oliveira <bristot@redhat.com>
Cc: Valentin Schneider <vschneid@redhat.com>
Cc: levi.yun <yeoreum.yun@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Aaron Lu <aaron.lu@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-arch@vger.kernel.org
Cc: linux-mm@kvack.org
Cc: x86@kernel.org

Mathieu Desnoyers (2):
  sched: Add missing memory barrier in switch_mm_cid
  sched: Move mm_cid code from sched.h to core.c

 arch/x86/include/asm/barrier.h |   3 +
 include/asm-generic/barrier.h  |   8 +
 kernel/sched/core.c            | 277 ++++++++++++++++++++++++++++++---
 kernel/sched/sched.h           | 237 +---------------------------
 4 files changed, 270 insertions(+), 255 deletions(-)

Comments

Ingo Molnar April 16, 2024, 12:21 p.m. UTC | #1
* Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote:

> Hi,
> 
> This patch series consists of 2 patches. It is based on v6.9-rc4.
> 
> - A fix aiming for v6.9-rc (to be backported to stable kernels):
>   "sched: Add missing memory barrier in switch_mm_cid"
> 
> - An improvement patch aiming for v6.10:
>   "sched: Move mm_cid code from sched.h to core.c"
> 
> Thanks,
> 
> Mathieu
> 
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Cc: Vincent Guittot <vincent.guittot@linaro.org>
> Cc: Juri Lelli <juri.lelli@redhat.com>
> Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
> Cc: Ben Segall <bsegall@google.com>
> Cc: Mel Gorman <mgorman@suse.de>
> Cc: Daniel Bristot de Oliveira <bristot@redhat.com>
> Cc: Valentin Schneider <vschneid@redhat.com>
> Cc: levi.yun <yeoreum.yun@arm.com>
> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: Aaron Lu <aaron.lu@intel.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Dave Hansen <dave.hansen@linux.intel.com>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: linux-arch@vger.kernel.org
> Cc: linux-mm@kvack.org
> Cc: x86@kernel.org
> 
> Mathieu Desnoyers (2):
>   sched: Add missing memory barrier in switch_mm_cid
>   sched: Move mm_cid code from sched.h to core.c

I've applied the first patch to tip:sched/urgent, and will queue up the 
code movement patch in the scheduler tree for v6.10, thanks Mathieu!

	Ingo
Mathieu Desnoyers April 16, 2024, 2:35 p.m. UTC | #2
On 2024-04-16 08:21, Ingo Molnar wrote:
[...]
>>
>> Mathieu Desnoyers (2):
>>    sched: Add missing memory barrier in switch_mm_cid
>>    sched: Move mm_cid code from sched.h to core.c
> 
> I've applied the first patch to tip:sched/urgent, and will queue up the
> code movement patch in the scheduler tree for v6.10, thanks Mathieu!

Thanks for reviewing and queuing those patches!

Mathieu