RE: [PATCH v11 3/4] x86, mce: Add __mcsafe_copy()

From: Luck, Tony
Date: Thu Feb 18 2016 - 09:59:23 EST


> > > I think the whole notion of mcsafe here is 'wrong'. This copy variant simply
> > > reports the kind of trap that happened (#PF or #MC) and could arguably be
> > > extended to include more types if the hardware were to generate more.
> >
> > What would a better name be? memcpy_ret() or so?
>
> Yeah, uhmm.. naming. More options from the lack of inspiration department:
>
> memcpy_trap()
> memcpy_ex()

I like "memcpy_trap" - thanks Peter. I'll redo this part with all the other fixes
suggested by Ingo.

-Tony