[NET] Reorder struct sock
Reorders struct sock to avoid padding and shrinks the following fields to more appropriate sizes saving 12 bytes and some more on 64bit architectures. sk_shutdown: char -> 2 bits sk_no_checks: char -> 2 bits sk_userlocks: char -> 4 bits Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment