lkml.org 
[lkml]   [2017]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/2] x86: Fix missing core serialization on migration
Date
x86 can return to user-space through sysexit and sysretq, which are not
core serializing. This breaks expectations from user-space about
sequential consistency from a single-threaded self-modifying program
point of view in specific migration patterns.

Feedback is welcome,

Thanks,

Mathieu

Mathieu Desnoyers (2):
x86: Introduce sync_core_before_usermode
Fix: x86: Add missing core serializing instruction on migration

arch/x86/Kconfig | 1 +
arch/x86/include/asm/processor.h | 10 ++++++++++
include/linux/processor.h | 6 ++++++
kernel/sched/core.c | 7 +++++++
kernel/sched/sched.h | 1 +
5 files changed, 25 insertions(+)

--
2.11.0

\
 
 \ /
  Last update: 2017-11-10 22:13    [W:0.075 / U:2.908 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site