Re: [PATCH] io_uring: simplify file ref tracking in subm state

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

 



On 7/16/20 2:28 PM, Pavel Begunkov wrote:
> Currently, file refs in struct io_submit_state are tracked with 2 vars:
> @has_refs -- how many refs were initially taken
> @used_refs -- number of refs used
> 
> Replace it with a single veriable counting how many refs left at the
> current moment.

Applied, thanks.

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux