Re: [PATCH] netns: deinline net_generic()
From: David Miller
Date: Tue Apr 14 2015 - 14:38:06 EST
From: Denys Vlasenko <dvlasenk@xxxxxxxxxx>
Date: Tue, 14 Apr 2015 14:25:11 +0200
> On x86 allyesconfig build:
> The function compiles to 130 bytes of machine code.
> It has 493 callsites.
> Total reduction of vmlinux size: 27906 bytes.
>
> text data bss dec hex filename
> 82447071 22255384 20627456 125329911 77861f7 vmlinux4
> 82419165 22255384 20627456 125302005 777f4f5 vmlinux5
>
> Signed-off-by: Denys Vlasenko <dvlasenk@xxxxxxxxxx>
That BUG_ON() was added 7 years ago, and I don't remember it ever
triggering or helping us diagnose something, so just remove it and
keep the function inlined.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/