Re: [RFC][PATCH 5/7] x86, mpx: shrink per-mm MPX data

2017-02-12 Thread Thomas Gleixner
On Wed, 1 Feb 2017, Dave Hansen wrote: > /* > - * NULL is theoretically a valid place to put the bounds > - * directory, so point this at an invalid address. > + * These get stored into mm_context_t->mpx_directory_info. > + * We could theoretically use bits 0 and 1, but those are > + * used in the

[RFC][PATCH 5/7] x86, mpx: shrink per-mm MPX data

2017-02-01 Thread Dave Hansen
We have three pieces of data that we need to store about MPX's operation: 1. Is kernel management on/off? 2. If it's on, where is the bounds directory located? 3. If it's on, how big is the bounds directory? We keep all this data in the mm_context_t. Currently, #1 and #2 are stored in 'bd_addr'