[RFC PATCH 0/3] sched: membarrier updates

From: Mathieu Desnoyers
Date: Fri Aug 14 2020 - 12:44:08 EST


Hi,

Please find those three changes based on our recent discussions about
interaction between membarrier and exit_mm and kthread_use_mm. I added
documentation of memory ordering scenarios to membarrier.c as well.

Thanks,

Mathieu

Mathieu Desnoyers (3):
sched: fix exit_mm vs membarrier (v2)
sched: membarrier: cover kthread_use_mm (v2)
sched: membarrier: document memory ordering scenarios

kernel/exit.c | 8 +++
kernel/kthread.c | 19 +++++++
kernel/sched/idle.c | 1 +
kernel/sched/membarrier.c | 136 ++++++++++++++++++++++++++++++++++++++++++++--
4 files changed, 158 insertions(+), 6 deletions(-)

--
2.11.0