Re: [PATCH] s390/pci: Use the bitmap API to allocate bitmaps

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

 



Le 14/07/2022 à 07:22, Alexander Gordeev a écrit :
On Sat, Jul 09, 2022 at 06:11:28PM +0200, Christophe JAILLET wrote:
I don't know why commit c506fff3d3a8 ("s390/pci: resize iomap") has turned
this bitmap from a statically defined bitmap to a runtime-allocated one.

c506fff3d3a8 commit message:

     This reduces the size of the iomap from 256K to less than 4K
     (using the defconfig).


Hi,

IIUC, going from ZPCI_IOMAP_MAX_ENTRIES to ZPCI_IOMAP_ENTRIES reduced the size, not going from DECLARE_BITMAP() to kcalloc().

CJ



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux