[PATCH 14/19] x86, mpx: new directory entry to addr helper

2015-06-07 Thread Dave Hansen
From: Dave Hansen Currently, to get from a bounds directory entry to the virtual address of a bounds table, we simply mask off a few low bits. However, the set of bits we mask off is different for 32 and 64-bit binaries. This breaks the operation out in to a helper function and also adds a temp

[PATCH 14/19] x86, mpx: new directory entry to addr helper

2015-05-27 Thread Dave Hansen
From: Dave Hansen Currently, to get from a bounds directory entry to the virtual address of a bounds table, we simply mask off a few low bits. However, the set of bits we mask off is different for 32 and 64-bit binaries. This breaks the operation out in to a helper function and also adds a temp

[PATCH 14/19] x86, mpx: new directory entry to addr helper

2015-05-18 Thread Dave Hansen
From: Dave Hansen Currently, to get from a bounds directory entry to the virtual address of a bounds table, we simply mask off a few low bits. However, the set of bits we mask off is different for 32 and 64-bit binaries. This breaks the operation out in to a helper function and also adds a temp

Re: [PATCH 14/19] x86, mpx: new directory entry to addr helper

2015-05-18 Thread Thomas Gleixner
On Fri, 8 May 2015, Dave Hansen wrote: > Currently, to get from a bounds directory entry to the virtual > address of a bounds table, we simply mask off a few low bits. > However, the set of bits we mask off is different for 32 and > 64-bit binaries. > > This breaks the operation out in to a helper

[PATCH 14/19] x86, mpx: new directory entry to addr helper

2015-05-08 Thread Dave Hansen
From: Dave Hansen Currently, to get from a bounds directory entry to the virtual address of a bounds table, we simply mask off a few low bits. However, the set of bits we mask off is different for 32 and 64-bit binaries. This breaks the operation out in to a helper function and also adds a temp