]> git.baikalelectronics.ru Git - kernel.git/commit
netprio_cgroup: Use memcpy instead of the for-loop to copy priomap
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Wed, 12 Sep 2012 20:32:34 +0000 (20:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2012 20:18:40 +0000 (16:18 -0400)
commit4fc6460d7c7985e875205735ee482181194524c7
tree504194829b96ad5f64c646dfc4b4336ee63550b1
parent466e193d2730f6d04c7cf9860d97e2ee2cd29ef3
netprio_cgroup: Use memcpy instead of the for-loop to copy priomap

Replace the current (inefficient) for-loop with memcpy, to copy priomap.

Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netprio_cgroup.c