Files
android_kernel_samsung_msm8226/include/linux
Eric Dumazet adc9300e78 net: use jump_label to shortcut RPS if not setup
Most machines dont use RPS/RFS, and pay a fair amount of instructions in
netif_receive_skb() / netif_rx() / get_rps_cpu() just to discover
RPS/RFS is not setup.

Add a jump_label named rps_needed.

If no device rps_map or global rps_sock_flow_table is setup,
netif_receive_skb() / netif_rx() do a single instruction instead of many
ones, including conditional jumps.

jmp +0    (if CONFIG_JUMP_LABEL=y)

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-17 17:06:08 -05:00
..
…
…
…
…
…
2011-11-07 09:11:16 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-11-02 16:07:03 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-10-26 15:43:25 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-10-31 17:30:44 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-11-02 12:53:43 +01:00
…
…
…
…
…
…
…
…
…
…
…
2011-10-31 20:19:04 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-11-16 17:43:08 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-11-16 18:16:38 -05:00
…
…
2011-10-30 04:43:30 -04:00
…
2011-11-13 16:10:10 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-11-13 16:10:10 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-10-30 12:24:05 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-11-02 16:06:57 -07:00
2011-11-02 16:06:58 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-11-14 00:47:54 -05:00
…
…
…
…
…
…
…
2011-10-31 11:51:28 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-10-31 14:03:22 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-11-02 16:07:02 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-10-28 15:03:52 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-10-31 17:30:47 -07:00
…
…
…
…
…
…
2011-10-31 17:30:44 -07:00
2011-11-02 16:07:02 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-11-02 16:07:02 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…