lkml.org 
[lkml]   [2015]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 12/19] x86: make is_64bit_mm() widely available
    On Fri, 8 May 2015, Dave Hansen wrote:
    > The uprobes code has a nice helper, is_64bit_mm(), that consults both
    > the runtime and compile-time flags for 32-bit support. Instead of
    > reinventing the wheel, pull it in to an x86 header so we can use it
    > for MPX.
    >
    > I prefer passing the mm around to test_thread_flag(TIF_IA32) because
    > it makes it explicit where the context is coming from.

    Ack.

    > It will also make it easier if we ever need to access the MPX
    > structures from another process.

    Do we really want to go there?

    Otherwise: Reviewed-by: Thomas Gleixner <tglx@linutronix.de>


    \
     
     \ /
      Last update: 2015-05-18 23:41    [W:3.604 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site