lkml.org 
[lkml]   [2018]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [RFC PATCH 1/2] x86/ibpb: Skip IBPB when we switch back to same user process
    On Thu, Jan 25, 2018 at 1:57 PM, Andi Kleen <ak@linux.intel.com> wrote:
    > Andy Lutomirski <luto@kernel.org> writes:
    >>
    >> That being said, just stashing last_user_mm without any refcounting
    >> should be fine.
    >
    > If last_user_mm is freed and reallocated by a different process,
    > then that would miss the IPBP incorrectly.
    >

    Hmm, right. So ctx_id it is.

    --Andy

    \
     
     \ /
      Last update: 2018-01-25 23:02    [W:2.559 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site