Re: [PATCH v5 1/3] x86, mpx: add documentation on Intel MPX

From: Dave Hansen
Date: Wed Feb 26 2014 - 15:58:55 EST


On 02/26/2014 11:17 AM, Dave Hansen wrote:
> On 02/23/2014 05:27 AM, Qiaowei Ren wrote:
>> +Bounds Directory (BD) and Bounds Tables (BT) are stored in
>> +application memory and are allocated by the application (in case
>> +of kernel use, the structures will be in kernel memory). The
>> +bound directory and each instance of bound table are in contiguous
>> +linear memory.
>
> Hi Qiaowei,
>
> Does this mean that if userspace decided to map something in the way of
> the bounds tables that it would break MPX?

Oh, or does this mean: "The Bounds Directory is contiguous in virtual
memory." and then "Each Bound Table is contiguous in virtual memory."
But, the directory and tables do not have to be contiguous to each other?

The wording there sounds a bit confusing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/