Message ID | 20190322144818.987-1-yuyufen@huawei.com (mailing list archive) |
---|---|
Headers | show |
Series | blk-mq: convert atomic_t to refcount_t | expand |
On 3/22/19 8:48 AM, Yufen Yu wrote: > Hi, > > This patchset covert atomic variables (hctx.nr_active and blk_mq_tag.active_queues) > to newly provided refcount_t type and API, which can prevent accidental counter overflows > and underflows. Neither of these are reference counts in the sense that things go away when they hit zero.