Re: [PATCH v4] SCSI: fix queue cleanup race before scsi_requeue_run_queue is done

2019-08-16 Thread Bart Van Assche
On 8/12/19 8:35 PM, zhengbin wrote: KASAN reports a use-after-free in 4.19-stable, which won't happen after commit 47cdee29ef9d ("block: move blk_exit_queue into __blk_release_queue"). This patch doesn't apply on top of kernel v4.19.67: $ git am ~/\[PATCH\ v4\]\ SCSI\:\ fix\ queue\ cleanup\ ra

Re: [PATCH v3] lpfc: Mitigate high memory pre-allocation by SCSI-MQ

2019-08-16 Thread Ewan D. Milne
On Thu, 2019-08-15 at 19:36 -0700, James Smart wrote: > When SCSI-MQ is enabled, the SCSI-MQ layers will do pre-allocation of > MQ resources based on shost values set by the driver. In newer cases > of the driver, which attempts to set nr_hw_queues to the cpu count, > the multipliers become excessi