Thread (18 messages) read the whole thread 18 messages, 6 authors, 2016-11-03

Re: [PATCH 3/5] genetlink: statically initialize families

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-10-24 12:55:36

On Mon, 2016-10-24 at 14:40 +0200, Johannes Berg wrote:
From: Johannes Berg <redacted>

Instead of providing macros/inline functions to initialize
the families, make all users initialize them statically and
get rid of the macros.

This reduces the kernel code size by about 1.6k on x86-64
(with allyesconfig).
Actually, with the new system where it's not const, I could even split
this up and submit per subsystem, i.e. the fourth patch doesn't depend
on it. I thought it would, since I wanted to make it const, but since I
failed it doesn't actually have that dependency.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help