Re: [PATCH 05/20] x86/uaccess/xen: Suppress SMAP warnings

From: Peter Zijlstra
Date: Sun Mar 10 2019 - 09:19:53 EST


On Fri, Mar 08, 2019 at 01:03:34PM -0600, Josh Poimboeuf wrote:
> On Fri, Mar 08, 2019 at 01:00:38PM -0600, Josh Poimboeuf wrote:
> > On Thu, Mar 07, 2019 at 12:45:16PM +0100, Peter Zijlstra wrote:

> > > XXX: arguably we should rename ANNOTATE_NOSPEC_ALTERNATIVE to
> > > ANNOTATE_IGNORE_ALTERNATIVE.

> Also this you could get rid of the comment if there were an
> ANNOTATE_AC_SAFE macro which does a similar thing.

How about we just rename the one annotation we have? I figured it was a
waste of LoC to do yet another annotation that does the very same thing.