Thread (14 messages) 14 messages, 3 authors, 2018-06-04

Re: Introduce atomic_dec_and_lock_irqsave()

From: Peter Zijlstra <peterz@infradead.org>
Date: 2018-05-04 15:55:01
Also in: linux-mm, lkml

On Fri, May 04, 2018 at 05:45:28PM +0200, Sebastian Andrzej Siewior wrote:
This series introduces atomic_dec_and_lock_irqsave() and converts a few
users to use it. They were using local_irq_save() +
atomic_dec_and_lock() before that series.
Should not all these users be converted to refcount_t, and thus, should
we not introduce refcount_dec_and_lock_irqsave() instead?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help