On Mon, Apr 4, 2022 at 8:21 AM Stephen Hemminger <step...@networkplumber.org> wrote: > > On Wed, 30 Mar 2022 15:49:49 +0200 > David Marchand <david.march...@redhat.com> wrote: > > > +#ifdef RTE_ANNOTATE_LOCKS > > + > > +#define RTE_ANNOTATED_LOCK \ > > + __attribute__((lockable)) > > + > > +#define RTE_GUARDED_BY(...) \ > > + __attribute__((guarded_by(__VA_ARGS__))) > > +#define RTE_GUARDED_VAR \ > > + __attribute__((guarded_var)) > > Could we use attributes that match the existing syntax and lower case. > That is what was done for hot/cold and format attributes.
Yes, I reconsidered and I'll do that. -- David Marchand