Re: [PATCH] md: remove most calls to bdevname

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

 



On Thu, May 12, 2022 at 08:25:28AM +0200, Paul Menzel wrote:
> Dear Christoph,
>
>
> Thank you for the patch.
>
> Am 12.05.22 um 08:19 schrieb Christoph Hellwig:
>> Use the %pg format specifier to save on stack consuption and code size.
>
> consu*m*ption
>
> Did you do any measurements?

Each BDEVNAME_SIZE array consumes 32 bytes on the stack, and they are
gone now without any additional stack usage elsewhere.



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux