Re: [PATCH locking/atomic 19/19] docs: Add atomic operations to the driver basic API documentation

From: Mark Rutland
Date: Mon May 22 2023 - 08:38:39 EST


On Wed, May 17, 2023 at 03:10:44AM -0700, Paul E. McKenney wrote:
> On Tue, May 16, 2023 at 02:33:29PM -0700, Kees Cook wrote:
> > On Wed, May 10, 2023 at 11:17:17AM -0700, Paul E. McKenney wrote:
> > > Add the include/linux/atomic/atomic-arch-fallback.h file to the
> > > driver-api/basics.rst in order to provide documentation for the Linux
> > > kernel's atomic operations.
> > >
> > > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
> >
> > Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
>
> Thank you, Kees, I will apply on my next rebase.
>
> Given Mark's ongoing atomics rework, a later version of this patch is
> likely to remove ".. kernel-doc:: arch/x86/include/asm/atomic.h" from
> that same file. (One of the benefits of Mark's rework is that all the
> kernel-doc headers can be in the same file.)

FWIW, I retained that in the series I just posted at:

https://lore.kernel.org/lkml/20230522122429.1915021-1-mark.rutland@xxxxxxx/

... which drops ".. kernel-doc:: arch/x86/include/asm/atomic.h" as mentioned
above.

Please let me know if you'd like that R-b dropped.

Thanks,
Mark.