lkml.org 
[lkml]   [2018]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH for 4.16 08/10] membarrier: x86: Provide core serializing command (v3)
On Mon, 15 Jan 2018, Mathieu Desnoyers wrote:

> There are two places where core serialization is needed by membarrier:
>
> 1) When returning from the membarrier IPI,
> 2) After scheduler updates curr to a thread with a different mm, before
> going back to user-space, since the curr->mm is used by membarrier to
> check whether it needs to send an IPI to that CPU.

This wants to be split into x86 and core changes. Ideally you make the core
changes before the previous patch and add the empty inline into
linux/processor.h....

Thanks,

tglx

\
 
 \ /
  Last update: 2018-01-16 19:31    [W:0.095 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site