Re: [PATCH v2 0/9] refcount: Improve code-gen

From: Peter Zijlstra
Date: Fri Dec 10 2021 - 14:37:22 EST


On Fri, Dec 10, 2021 at 05:16:18PM +0100, Peter Zijlstra wrote:
> Hi,
>
> Now with Linus' favourite refcount scheme on :-)
>
> Changes since RFC:
>
> - more cleanups in scripts/atomic/
> - rename atomic_*_ofl() to atomic_*_overflow() (null)
> - alternative x86 refcount scheme (Linus)
> - fix for refcount_dec_not_one()
> - opt __refcount_add_not_zero(.i=1)
>
> Boots x86_64 and builds a kernel.

All patches, including review comments so far (including dec;js) now at:

git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/wip.refcount

I'll see if I can update the documentation patch this weekend, otherwise
there's always next week :-)