Re: ext4: mballoc: avoid 20-argument function call

2015-06-14 Thread Theodore Ts'o
On Thu, Jun 11, 2015 at 12:28:02AM +0200, Rasmus Villemoes wrote: > Making a function call with 20 arguments is rather expensive in both > stack and .text. In this case, doing the formatting manually doesn't > make it any less readable, so we might as well save 155 bytes of .text > and 112 bytes of

[PATCH] ext4: mballoc: avoid 20-argument function call

2015-06-10 Thread Rasmus Villemoes
Making a function call with 20 arguments is rather expensive in both stack and .text. In this case, doing the formatting manually doesn't make it any less readable, so we might as well save 155 bytes of .text and 112 bytes of stack. Signed-off-by: Rasmus Villemoes --- fs/ext4/mballoc.c | 9 +++--