[PATCH 1/5] [SOCK] proto: Add hashinfo member to struct proto

2008-02-01 Thread acme
htables.c: inet_unhash| +190 inet_hash | +242 2 functions changed, 432 bytes added, diff: +432 vmlinux: 16 functions changed, 485 bytes added, 492 bytes removed, diff: -7 /home/acme/git/net-2.6/net/ipv6/tcp_ipv6.c: tcp_v6_get_port

[PATCH 4/5] [INET_TIMEWAIT_SOCK]: Reorganize struct inet_timewait_sock to save some bytes

2008-02-01 Thread acme
From: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> /home/acme/git/net-2.6/net/ipv6/tcp_ipv6.c: struct inet_timewait_sock | -8 struct tcp_timewait_sock | -8 2 structs changed tcp_v6_rcv| -6 1 function changed, 6 bytes removed, diff: -6 Signed-off-by: A

[PATCH 5/5] [IPV6]: Reorg struct ifmcaddr6 to save some bytes

2008-02-01 Thread acme
From: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> /home/acme/git/net-2.6/net/ipv6/mcast.c: struct ifmcaddr6 | -8 1 struct changed igmp6_group_dropped | -6 add_grec | -3 mld_ifc_timer_expire | -18 ip6_mc_add_src | -3 ip6_mc_del_src

[PATCH 2/5] [INET6]: Reorganize struct inet6_dev to save 8 bytes

2008-02-01 Thread acme
From: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> And make it a multiple of a 64 bytes, reducing cacheline trashing: Before: [EMAIL PROTECTED] net-2.6]$ pahole -C inet6_dev net/dccp/ipv6.o struct inet6_dev { long unsigned int mc_maxdelay; /*48 8 */

[PATCHES 0/5]: Add hashinfo member to struct proto and get net/ structs back on a diet

2008-02-01 Thread acme
Hi David, Please consider pulling from: master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.25 There are many more structs that have holes, they seem to crop up, even on DCCP! People should use some paholing 8-) I'll prepare another round after carnival, and

[PATCH 3/5] [DCCP]: Reorganize struct dccp_sock to save 8 bytes

2008-02-01 Thread acme
From: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> /home/acme/git/net-2.6/net/dccp/ipv6.c: struct dccp_sock | -8 struct dccp6_sock | -8 2 structs changed Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> --- include/linux/dccp.h |2 +- 1 files changed, 1 inse

[PATCH 01/31] [NETLINK]: Introduce nlmsg_hdr() helper

2007-03-20 Thread acme
For the common "(struct nlmsghdr *)skb->data" sequence, so that we reduce the number of direct accesses to skb->data and for consistency with all the other cast skb member helpers. Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> --- drivers/connector/connector.c |2 +- drive