Re: [PATCH 0/2] blk-mq: convert atomic_t to refcount_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux