[PATCH 12/19] x86: make is_64bit_mm() widely available

2015-06-07 Thread Dave Hansen
From: Dave Hansen 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)

[PATCH 12/19] x86: make is_64bit_mm() widely available

2015-06-07 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com 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

[PATCH 12/19] x86: make is_64bit_mm() widely available

2015-05-27 Thread Dave Hansen
From: Dave Hansen 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)

[PATCH 12/19] x86: make is_64bit_mm() widely available

2015-05-27 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com 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

[PATCH 12/19] x86: make is_64bit_mm() widely available

2015-05-19 Thread Dave Hansen
From: Dave Hansen 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)

[PATCH 12/19] x86: make is_64bit_mm() widely available

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com 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

Re: [PATCH 12/19] x86: make is_64bit_mm() widely available

2015-05-18 Thread Thomas Gleixner
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

Re: [PATCH 12/19] x86: make is_64bit_mm() widely available

2015-05-18 Thread Thomas Gleixner
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

[PATCH 12/19] x86: make is_64bit_mm() widely available

2015-05-08 Thread Dave Hansen
From: Dave Hansen 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)

[PATCH 12/19] x86: make is_64bit_mm() widely available

2015-05-08 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com 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