Re: [PATCH 1/1] io_uring: fix poll/netmsg alloc caches

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

 



On 3/30/23 4:31 AM, Pavel Begunkov wrote:
> We increase cache->nr_cached when we free into the cache but don't
> decrease when we take from it, so in some time we'll get an empty
> cache with cache->nr_cached larger than IO_ALLOC_CACHE_MAX, that fails
> io_alloc_cache_put() and effectively disables caching.

This should go into 6.3 and be marked for stable, but it's against
the for-next branch. I have hand applied it as:

https://git.kernel.dk/cgit/linux-block/commit/?h=io_uring-6.3&id=fd30d1cdcc4ff405fc54765edf2e11b03f2ed4f3

-- 
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