android_kernel_samsung_msm8976/net/core
Eric Dumazet fe926f260c net: rps: fix cpu unplug
softnet_data.input_pkt_queue is protected by a spinlock that we must
hold when transferring packets from victim queue to an active one.
This is because other cpus could still be trying to enqueue packets
into victim queue.

A second problem is that when we transfert the NAPI poll_list from
victim to current cpu, we absolutely need to special case the percpu
backlog, because we do not want to add complex locking to protect
process_queue : Only owner cpu is allowed to manipulate it, unless
cpu is offline.

Based on initial patch from Prasad Sodagudi &
Subash Abhinov Kasiviswanathan.

This version is better because we do not slow down packet processing,
only make migration safer.

Change-Id: I6468cc74779b126ce0565f8bd6cc39514b14eb38
Reported-by: Prasad Sodagudi <psodagud@codeaurora.org>
Reported-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tom Herbert <therbert@google.com>
Git-commit: ac64da0b83d82abe62f78b3d0e21cca31aea24fa
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
2015-01-27 12:48:03 -08:00
..
datagram.c
dev.c net: rps: fix cpu unplug 2015-01-27 12:48:03 -08:00
dev_addr_lists.c
dev_ioctl.c
drop_monitor.c net: drop_monitor: fix the value of maxattr 2014-01-15 15:28:47 -08:00
dst.c
ethtool.c net: ipv6: add support for UL checksum offload for IPv6 over UDP 2014-11-24 10:23:58 +02:00
fib_rules.c net: core: Support UID-based routing. 2014-11-04 13:06:30 -08:00
filter.c filter: prevent nla extensions to peek beyond the end of the message 2014-05-30 21:52:15 -07:00
flow.c net/core/flow.c: Fix CPU hotplug callback registration 2014-07-03 09:55:32 -07:00
flow_dissector.c net: core: add MAP support to RPS flow dissector 2014-06-23 07:47:38 -06:00
gen_estimator.c
gen_stats.c
iovec.c net: rework recvmsg handler msg_name and msg_namelen logic 2013-12-08 07:29:25 -08:00
link_watch.c arch: Mass conversion of smp_mb__*() 2014-08-15 11:45:28 -07:00
Makefile net: sockev: Initial Commit 2014-06-06 17:01:51 -07:00
neighbour.c net: core: To send ARP probe when neighbor state is NUD_STALE 2015-01-14 13:11:38 -08:00
net-procfs.c
net-sysfs.c
net-sysfs.h
net-traces.c
net_namespace.c
netevent.c
netpoll.c netpoll: fix the skb check in pkt_is_ns 2014-04-14 06:42:17 -07:00
netprio_cgroup.c
pktgen.c {pktgen, xfrm} Update IPv4 header total len and checksum after tranformation 2013-12-08 07:29:26 -08:00
request_sock.c
rtnetlink.c rtnetlink: fix userspace API breakage for iproute2 < v3.9.0 2014-06-26 15:12:38 -04:00
scm.c
secure_seq.c
skbuff.c Merge upstream tag 'v3.10.49' into msm-3.10 2014-08-20 13:23:09 -07:00
sock.c net: Add variants of capable for use on on sockets 2014-06-26 15:12:37 -04:00
sock_diag.c net: Move the permission check in sock_diag_put_filterinfo to packet_diag_dump 2014-06-26 15:12:37 -04:00
sockev_nlmcast.c net: sockev: Initial Commit 2014-06-06 17:01:51 -07:00
stream.c
sysctl_net_core.c
timestamping.c
user_dma.c
utils.c