[ovs-git] [openvswitch/ovs] 7a3859: netdev-dummy: Reorder elements in dummy_packet_str...

GitHub noreply at github.com
Fri Nov 3 19:53:21 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 7a385993a647718aa2a79b728159d657718ff8fd
      https://github.com/openvswitch/ovs/commit/7a385993a647718aa2a79b728159d657718ff8fd
  Author: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
  Date:   2017-11-03 (Fri, 03 Nov 2017)

  Changed paths:
    M lib/netdev-dummy.c

  Log Message:
  -----------
  netdev-dummy: Reorder elements in dummy_packet_stream structure.

By reordering elements in dummy_packet_stream structure, sum holes
can be reduced, thus saving a cache line.

Before: structure size: 784, sum holes: 56, cachelines:13
After : structure size: 768, sum holes: 40, cachelines:12

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list