[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211118074200.GF174703@worktop.programming.kicks-ass.net>
Date: Thu, 18 Nov 2021 08:42:00 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Yajun Deng <yajun.deng@...ux.dev>
Cc: will@...nel.org, boqun.feng@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] refcount: introduce refcount_is_one() helper function
On Thu, Nov 18, 2021 at 11:53:28AM +0800, Yajun Deng wrote:
> There are many cases where it is necessary to determine if refcount is one,
> introduce refcount_is_one() helper function for these cases.
Give me one that is not racy?
Powered by blists - more mailing lists