Le mardi 02 mars 2010 à 09:58 -0800, Stephen Hemminger a écrit : > + struct br_cpu_netstats __percpu { > + unsigned long rx_packets; > + unsigned long tx_packets; > + unsigned long rx_bytes; > + unsigned long tx_bytes; > + } *stats; > + Ok, please group rx stats together instead of interleave, this to reduce possibility of touching two cache lines in tx path (or rx path) struct br_cpu_netstats __percpu { > unsigned long rx_packets; > + unsigned long rx_bytes; > > + unsigned long tx_packets; > + unsigned long tx_bytes; > + } *stats; > + _______________________________________________ Bridge mailing list Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/bridge