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

From: H. Peter Anvin
Date: Wed Feb 26 2014 - 16:45:20 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?
>
> Also, in the description, could we s/linear/virtual/? Linear seems to
> be the term that Intel likes to use in its documents, but we almost
> universally call them virtual addresses in the kernel.
>

It might be useful to clarify, though, just so noone gets confused with
effective addresses (offsets).

-hpa

--
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/