Thread (5 messages) 5 messages, 3 authors, 2022-05-12

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

From: Christoph Hellwig <hch@lst.de>
Date: 2022-05-12 06:28:36
Also in: linux-block

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:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help