Re: [PATCH v8 3/3] x86, mce: Add __mcsafe_copy()

From: Tony Luck
Date: Sat Jan 09 2016 - 12:48:10 EST


On Fri, Jan 8, 2016 at 5:49 PM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
> On Jan 8, 2016 4:19 PM, "Tony Luck" <tony.luck@xxxxxxxxx> wrote:
>>
>> Make use of the EXTABLE_FAULT exception table entries. This routine
>> returns a structure to indicate the result of the copy:
>
> Perhaps this is silly, but could we make this feature depend on ERMS
> and thus make the code a lot simpler?

ERMS?

> Also, what's the sfence for? You don't seem to be using any
> non-temporal operations.

Ah - left over from the original function that this
was cloned from (which did use non-temporal
operations). Will delete.

-Tony