Re: [PATCH] mpt3sas: fix ReplyPostFree pool allocation

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

 



Sreekanth,

> Currently driver allocate memory for ReplyPostFree queues in chunks of
> 16 ReplyPostFree queue count.  On less resource environment such as VM
> with 1GB and two CPUs, memory allocation for ReplyPostFree pools may
> fail, since driver tries to allocate a memory for 16 ReplyPostFree
> queue count even though the actual number of ReplyPostFree queue used
> is two.  Now, the driver will allocate memory for only the actual
> number of ReplyPostFree queues instead for 16 queues if the
> ReplyPostFree queue count is less than 16.

Applied to 5.12/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux