[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160218103546.GS6357@twins.programming.kicks-ass.net>
Date: Thu, 18 Feb 2016 11:35:46 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Ingo Molnar <mingo@...nel.org>
Cc: Tony Luck <tony.luck@...el.com>, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>, Borislav Petkov <bp@...en8.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH v11 3/4] x86, mce: Add __mcsafe_copy()
On Thu, Feb 18, 2016 at 11:19:42AM +0100, Ingo Molnar wrote:
> > 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()
Powered by blists - more mailing lists