Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks

From: Boris Petkov
Date: Sun Dec 27 2015 - 08:20:16 EST


Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
>You certainly can, but it doesn't scale well to multiple users of
>similar mechanisms. It also prevents you from using the same
>mechanism in anything that could be inlined, which is IMO kind of
>unfortunate.

Well, but the bit 31 game doesn't make it any better than the bit 63 fun IMO. Should the exception table entry maybe grow a u32 flags instead?



--
Sent from a small device: formatting sux and brevity is inevitable.
--
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/