[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 3/4] x86: use optimal NOPs to fill the SMAP/SMEP placeholders



>>> On 07.03.16 at 18:43, <andrew.cooper3@xxxxxxxxxx> wrote:
> On 04/03/16 11:28, Jan Beulich wrote:
>> Alternatives patching code picks the most suitable NOPs for the
>> running system, so simply use it to replace the pre-populated ones.
>>
>> Use an arbitrary, always available feature to key off from.
> 
> I would be tempted to introduce X86_FEATURE_ALWAYS as an alias of
> X86_FEATURE_LM, or even a new synthetic feature.  The choice of LM is
> explained in the commit message, but will be non-obvious to people
> reading the code.

Okay, as an alias.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.