summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
diff options
context:
space:
mode:
authorValentin Schneider <valentin.schneider@arm.com>2020-12-18 01:31:21 +0300
committerBorislav Petkov <bp@suse.de>2021-01-11 13:43:23 +0300
commit6d3b47ddffed70006cf4ba360eef61e9ce097d8f (patch)
tree10e43585b7bf84f6866076eddbe72862f223c30d /arch/arm/boot/dts/sun7i-a20-pcduino3.dts
parente0ad6dc8969f790f14bddcfd7ea284b7e5f88a16 (diff)
downloadlinux-6d3b47ddffed70006cf4ba360eef61e9ce097d8f.tar.xz
x86/resctrl: Apply READ_ONCE/WRITE_ONCE to task_struct.{rmid,closid}
A CPU's current task can have its {closid, rmid} fields read locally while they are being concurrently written to from another CPU. This can happen anytime __resctrl_sched_in() races with either __rdtgroup_move_task() or rdt_move_group_tasks(). Prevent load / store tearing for those accesses by giving them the READ_ONCE() / WRITE_ONCE() treatment. Signed-off-by: Valentin Schneider <valentin.schneider@arm.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/9921fda88ad81afb9885b517fbe864a2bc7c35a9.1608243147.git.reinette.chatre@intel.com
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-pcduino3.dts')
0 files changed, 0 insertions, 0 deletions