summaryrefslogtreecommitdiffstats
path: root/drivers/xen/pcpu.c
diff options
context:
space:
mode:
authorDavid S. Miller2013-12-26 19:31:45 +0100
committerDavid S. Miller2013-12-26 19:31:45 +0100
commit539c89cfdb0e4b58d22a8a89321f36572b299fbc (patch)
tree0c7c97774c2c5bcf092de4852da404c543d725d9 /drivers/xen/pcpu.c
parentqlge: make local function static (diff)
parentwireless: slight optimization of addr compare (diff)
downloadkernel-qcow2-linux-539c89cfdb0e4b58d22a8a89321f36572b299fbc.tar.gz
kernel-qcow2-linux-539c89cfdb0e4b58d22a8a89321f36572b299fbc.tar.xz
kernel-qcow2-linux-539c89cfdb0e4b58d22a8a89321f36572b299fbc.zip
Merge branch 'addr_compare'
Ding Tianhong says: ==================== slight optimization of addr compare for some modules Joe Perches add ether_addr_equal_unaligned to test if possibly unaligned to u16 Ethernet addresses are equal. If CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is set, this uses the slightly faster generic routine ether_addr_equal, otherwise this uses memcmp. So I use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp for slight optimization. v2: Because a lot of places are already using 16b aligned MAC address for both operands, so use the ether_addr_equal to instead of ether_addr_equal_unaligned.Thanks for Joe, Alex and Antonio's opinions. Also remove the patch for bridge. v3: According Joe's suggestion, the patch (net: slight optimization of addr compare for some modules) should be broken into several patches, and it will be good to review for maintainers. So I will send rest of the patches for first step, and next step, I will seperate the netdev patch and send them by another patchset for net-next. also fix some changelog. v3.5 Change some style for patch 8 and patch 13. Thanks for Sergei's suggestion. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/xen/pcpu.c')
0 files changed, 0 insertions, 0 deletions