Re: [PATCH] blk-mq: avoid potential infinite loop in __blk_mq_alloc_request

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

 



On Fri, Jul 22, 2022 at 04:15:49PM +0800, Liu Song wrote:
It is a reasonable approach to prevent abnormal alloc from going down,
but this is a very rare exception after all, and above modification is
checked
every alloc request, which seems to be a bit excessive overhead.
Every allocation of a passthrough requests.  Which isn't really the
normal fast path.

Hi,

It is true that there is no possibility of triggering an infinite loop in the current code,

but the necessary guard code should also exist without adding extra overhead.


Thanks




[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