Searched hist:"1845 ed0bb29fa7864781021e0c8d06af318f358a" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_conn.c | diff 1845ed0bb29fa7864781021e0c8d06af318f358a Thu Mar 21 04:58:11 CDT 2013 Julian Anastasov <ja@ssi.bg> ipvs: reorder keys in connection structure
__ip_vs_conn_in_get and ip_vs_conn_out_get are hot places. Optimize them, so that ports are matched first. By moving net and fwmark below, on 32-bit arch we can fit caddr in 32-byte cache line and all addresses in 64-byte cache line.
Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off by: Hans Schillstrom <hans@schillstrom.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
/openbmc/linux/include/net/ |
H A D | ip_vs.h | diff 1845ed0bb29fa7864781021e0c8d06af318f358a Thu Mar 21 04:58:11 CDT 2013 Julian Anastasov <ja@ssi.bg> ipvs: reorder keys in connection structure
__ip_vs_conn_in_get and ip_vs_conn_out_get are hot places. Optimize them, so that ports are matched first. By moving net and fwmark below, on 32-bit arch we can fit caddr in 32-byte cache line and all addresses in 64-byte cache line.
Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off by: Hans Schillstrom <hans@schillstrom.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|