Re: [PATCH v1 2/5] seqlock: Use unique prefix for seqcount_t property accessors

2020-08-28 Thread Ahmed S. Darwish
On Fri, Aug 28, 2020 at 10:27:54AM +0200, pet...@infradead.org wrote: > On Fri, Aug 28, 2020 at 03:07:07AM +0200, Ahmed S. Darwish wrote: > > Differentiate the first group by using "__seqcount_t_" as prefix. This > > also conforms with the rest of seqlock.h naming conventions. > > > #define

Re: [PATCH v1 2/5] seqlock: Use unique prefix for seqcount_t property accessors

2020-08-28 Thread peterz
On Fri, Aug 28, 2020 at 03:07:07AM +0200, Ahmed S. Darwish wrote: > Differentiate the first group by using "__seqcount_t_" as prefix. This > also conforms with the rest of seqlock.h naming conventions. > #define __seqprop_case(s, locktype, prop)\ >

[PATCH v1 2/5] seqlock: Use unique prefix for seqcount_t property accessors

2020-08-27 Thread Ahmed S. Darwish
At seqlock.h, the following set of functions: - __seqcount_ptr() - __seqcount_preemptible() - __seqcount_assert() act as plain seqcount_t "property" accessors. Meanwhile, the following group: - __seqcount_ptr() - __seqcount_lock_preemptible() -