[PATCH v2 0/8] Introduce refcount_dec_and_lock_irqsave()

From: Sebastian Andrzej Siewior
Date: Wed May 09 2018 - 15:37:13 EST


This series is a v2 of the atomic_dec_and_lock_irqsave(). Now refcount_*
is used instead of atomic_* as suggested by Peter Zijlstra.

Patch
- 1-3 converts the user from atomic_* API to refcount_* API
- 4 implements refcount_dec_and_lock_irqsave
- 5-8 converts the local_irq_save() + refcount_dec_and_lock() users to
refcount_dec_and_lock_irqsave()

The whole series sits also at
git://git.kernel.org/pub/scm/linux/kernel/git/bigeasy/staging.git refcount_t_irqsave

Sebastian