[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201123022433.17905-1-valentin.schneider@arm.com>
Date: Mon, 23 Nov 2020 02:24:30 +0000
From: Valentin Schneider <valentin.schneider@....com>
To: linux-kernel@...r.kernel.org, x86@...nel.org
Cc: Fenghua Yu <fenghua.yu@...el.com>,
Reinette Chatre <reinette.chatre@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, James Morse <James.Morse@....com>
Subject: [PATCH v2 0/3] x86/intel_rdt: task_work vs task_struct rmid/closid write race
Hi folks,
This is a small cleanup + a fix for a race I stumbled upon while staring at
resctrl stuff.
Briefly tested on a Xeon Gold 5120 (m2.xlarge.x86 on Equinix) by bouncing
a few tasks around control groups.
Revisions
=========
v1 -> v2
--------
Empty git diff between the two, but:
o Collected Reviewed-by
o Reworded changelogs (James)
o Split READ_ONCE/WRITE_ONCE changes into separate patch (James)
(@James: note that I had the audacity to slap your RB to that new patch,
given that you already reviewed the diff. Hopefully you won't hate the
CL too much!)
Cheers,
Valentin
Valentin Schneider (3):
x86/intel_rdt: Check monitor group vs control group membership earlier
x86/intel_rdt: Plug task_work vs task_struct {rmid,closid} update race
x86/intel_rdt: Apply READ_ONCE/WRITE_ONCE to task_struct .rmid &
.closid
arch/x86/include/asm/resctrl.h | 11 ++--
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 71 ++++++++++++++++----------
2 files changed, 50 insertions(+), 32 deletions(-)
--
2.27.0
Powered by blists - more mailing lists