Re: [PATCH 2/5] x86, mpx: hook #BR exception handler to allocatebound tables

From: H. Peter Anvin
Date: Fri Jan 17 2014 - 11:31:45 EST


On 01/13/2014 02:38 AM, Borislav Petkov wrote:
> On Mon, Jan 13, 2014 at 11:17:15AM +0800, Ren Qiaowei wrote:
>> Yes, I run this with lockdep enabled.
>
> Ok, but you still are doing memory allocation in the exception handler,
> AFAICT:
>

Sure... what is the problem with that? We do that in several other
exception handlers, e.g. #NM, and of course page faults. As long as the
exception originates from user space there shouldn't be any issue.

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