Re: [PATCH 12/24] net, diet: Make rtnetlink optional

2014-05-05 Thread Andi Kleen
> The moment one of these "small" systems, or whatever you want to call > it, tries to use any feature added to device configuration in the last > 20 years ioctl doesn't cut it. They will simply not use all that complexity ever, 400k is simply prohibitive with 2MB. If you want to keep netlink wha

Re: [PATCH 12/24] net, diet: Make rtnetlink optional

2014-05-05 Thread David Miller
From: Andi Kleen Date: Mon, 5 May 2014 15:26:01 -0700 > From: Andi Kleen > > Small systems can use ioctl/ifconfig for routing and > interface configuration. Make rtnetlink optional > This saves ~29k without LTO, more with LTO. > >textdata bss dec hex filename > 483545 1

[PATCH 12/24] net, diet: Make rtnetlink optional

2014-05-05 Thread Andi Kleen
From: Andi Kleen Small systems can use ioctl/ifconfig for routing and interface configuration. Make rtnetlink optional This saves ~29k without LTO, more with LTO. textdata bss dec hex filename 483545 19371 13480 516396 7e12c net/built-in.o-with-rtnetlink 454365 1927