Linus Torvalds
0429fbc0bd
Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
...
Pull percpu consistent-ops changes from Tejun Heo:
"Way back, before the current percpu allocator was implemented, static
and dynamic percpu memory areas were allocated and handled separately
and had their own accessors. The distinction has been gone for many
years now; however, the now duplicate two sets of accessors remained
with the pointer based ones - this_cpu_*() - evolving various other
operations over time. During the process, we also accumulated other
inconsistent operations.
This pull request contains Christoph's patches to clean up the
duplicate accessor situation. __get_cpu_var() uses are replaced with
with this_cpu_ptr() and __this_cpu_ptr() with raw_cpu_ptr().
Unfortunately, the former sometimes is tricky thanks to C being a bit
messy with the distinction between lvalues and pointers, which led to
a rather ugly solution for cpumask_var_t involving the introduction of
this_cpu_cpumask_var_ptr().
This converts most of the uses but not all. Christoph will follow up
with the remaining conversions in this merge window and hopefully
remove the obsolete accessors"
* 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu: (38 commits)
irqchip: Properly fetch the per cpu offset
percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t -fix
ia64: sn_nodepda cannot be assigned to after this_cpu conversion. Use __this_cpu_write.
percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t
Revert "powerpc: Replace __get_cpu_var uses"
percpu: Remove __this_cpu_ptr
clocksource: Replace __this_cpu_ptr with raw_cpu_ptr
sparc: Replace __get_cpu_var uses
avr32: Replace __get_cpu_var with __this_cpu_write
blackfin: Replace __get_cpu_var uses
tile: Use this_cpu_ptr() for hardware counters
tile: Replace __get_cpu_var uses
powerpc: Replace __get_cpu_var uses
alpha: Replace __get_cpu_var
ia64: Replace __get_cpu_var uses
s390: cio driver &__get_cpu_var replacements
s390: Replace __get_cpu_var uses
mips: Replace __get_cpu_var uses
MIPS: Replace __get_cpu_var uses in FPU emulator.
arm: Replace __this_cpu_ptr with raw_cpu_ptr
...
2014-10-15 07:48:18 +02:00
..
netfilter
netfilter: nft_masq: register/unregister notifiers on module init/exit
2014-10-03 14:24:35 +02:00
af_inet.c
ipv4: mentions skb_gro_postpull_rcsum() in inet_gro_receive()
2014-10-01 13:44:05 -04:00
ah4.c
ipsec: Remove obsolete MAX_AH_AUTH_LEN
2014-09-18 10:54:36 +02:00
arp.c
arp: Do not perturb drop profiles with ignored ARP packets
2014-09-28 17:30:35 -04:00
cipso_ipv4.c
cipso: add __init to cipso_v4_cache_init
2014-10-01 15:46:20 -04:00
datagram.c
net: Save TX flow hash in sock and set in skbuf on xmit
2014-07-07 21:14:21 -07:00
devinet.c
ipv4: fail early when creating netdev named all or default
2014-07-29 11:43:50 -07:00
esp4.c
esp4: Use the IPsec protocol multiplexer API
2014-02-25 07:04:17 +01:00
fib_frontend.c
ipv4: Restore accept_local behaviour in fib_validate_source()
2014-08-22 12:23:10 -07:00
fib_lookup.h
fib_rules.c
fib_semantics.c
ipv4: fix a race in update_or_create_fnhe()
2014-09-05 17:15:50 -07:00
fib_trie.c
list: fix order of arguments for hlist_add_after(_rcu)
2014-08-06 18:01:24 -07:00
fou.c
gue: Receive side for Generic UDP Encapsulation
2014-10-03 16:53:33 -07:00
geneve.c
net: fix a sparse warning
2014-10-07 00:10:47 -04:00
gre_demux.c
net: Fix GRE RX to use skb_transport_header for GRE header offset
2014-09-08 15:23:05 -07:00
gre_offload.c
net: Remove gso_send_check as an offload callback
2014-09-26 00:22:47 -04:00
icmp.c
icmp: add a global rate limitation
2014-09-23 12:47:38 -04:00
igmp.c
ipv4: igmp: fix v3 general query drop monitor false positive
2014-10-06 17:14:54 -04:00
inet_connection_sock.c
ipv4: make ip_local_reserved_ports per netns
2014-05-14 15:31:45 -04:00
inet_diag.c
inet_fragment.c
inet: frags: use kmem_cache for inet_frag_queue
2014-08-02 15:31:31 -07:00
inet_hashtables.c
net: use reciprocal_scale() helper
2014-08-23 12:21:21 -07:00
inet_lro.c
inet_timewait_sock.c
inetpeer.c
inet: remove dead inetpeer sequence code
2014-09-08 16:42:42 -07:00
ip_forward.c
net: rename local_df to ignore_df
2014-05-12 14:03:41 -04:00
ip_fragment.c
inet: frags: add __init to ip4_frags_ctl_register
2014-10-01 15:46:19 -04:00
ip_gre.c
net: better IFF_XMIT_DST_RELEASE support
2014-10-07 13:22:11 -04:00
ip_input.c
ip_options.c
ipv4: rename ip_options_echo to __ip_options_echo()
2014-09-28 16:35:42 -04:00
ip_output.c
netfilter: use IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
2014-10-02 18:30:54 +02:00
ip_sockglue.c
ipv4: rcu cleanup in ip_ra_control()
2014-09-09 20:10:44 -07:00
ip_tunnel.c
ip_tunnel: Add GUE support
2014-10-03 16:53:33 -07:00
ip_tunnel_core.c
net: Support for multiple checksums with gso
2014-06-04 22:46:38 -07:00
ip_vti.c
net: better IFF_XMIT_DST_RELEASE support
2014-10-07 13:22:11 -04:00
ipcomp.c
ipcomp4: Use the IPsec protocol multiplexer API
2014-02-25 07:04:17 +01:00
ipconfig.c
ipconfig: Use time_before
2014-08-22 12:23:11 -07:00
ipip.c
net: better IFF_XMIT_DST_RELEASE support
2014-10-07 13:22:11 -04:00
ipmr.c
net: set name_assign_type in alloc_netdev()
2014-07-15 16:12:48 -07:00
Kconfig
openvswitch: fix a compilation error when CONFIG_INET is not setW!
2014-10-07 00:10:49 -04:00
Makefile
net: Add Geneve tunneling protocol driver
2014-10-06 00:32:20 -04:00
netfilter.c
netfilter: remove double colon
2014-02-19 11:41:25 +01:00
ping.c
net/ipv4: bind ip_nonlocal_bind to current netns
2014-09-09 11:27:09 -07:00
proc.c
inet: frag: don't account number of fragment queues
2014-07-27 22:34:36 -07:00
protocol.c
net: Export inet_offloads and inet6_offloads
2014-09-19 17:15:31 -04:00
raw.c
ipv4: Make IP_MULTICAST_ALL and IP_MSFILTER work on raw sockets
2014-07-23 15:13:26 -07:00
route.c
Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
2014-10-15 07:48:18 +02:00
syncookies.c
Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
2014-10-15 07:48:18 +02:00
sysctl_net_ipv4.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2014-10-08 21:40:54 -04:00
tcp.c
Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
2014-10-15 07:48:18 +02:00
tcp_bic.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_cong.c
tcp: Change tcp_slow_start function to return void
2014-09-30 17:09:16 -04:00
tcp_cubic.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_dctcp.c
net: tcp: add DCTCP congestion control algorithm
2014-09-29 00:13:10 -04:00
tcp_diag.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_fastopen.c
tcp: remove unnecessary assignment.
2014-09-29 12:31:12 -04:00
tcp_highspeed.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_htcp.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_hybla.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_illinois.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_input.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2014-10-08 21:40:54 -04:00
tcp_ipv4.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2014-10-08 21:40:54 -04:00
tcp_lp.c
tcp: remove in_flight parameter from cong_avoid() methods
2014-05-03 19:23:07 -04:00
tcp_memcontrol.c
percpu_counter: add @gfp to percpu_counter_init()
2014-09-08 09:51:29 +09:00
tcp_metrics.c
tcp: don't allow syn packets without timestamps to pass tcp_tw_recycle logic
2014-08-14 14:38:54 -07:00
tcp_minisocks.c
tcp: change TCP_ECN prefixes to lower case
2014-09-29 14:41:22 -04:00
tcp_offload.c
net: Remove gso_send_check as an offload callback
2014-09-26 00:22:47 -04:00
tcp_output.c
Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
2014-10-15 07:48:18 +02:00
tcp_probe.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_scalable.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_timer.c
tcp: abort orphan sockets stalling on zero window probes
2014-10-01 16:27:52 -04:00
tcp_vegas.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_vegas.h
tcp_veno.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tcp_westwood.c
net: tcp: split ack slow/fast events from cwnd_event
2014-09-29 00:13:10 -04:00
tcp_yeah.c
tcp: whitespace fixes
2014-09-01 18:12:45 -07:00
tunnel4.c
udp.c
net: merge cases where sock_efree and sock_edemux are the same function
2014-09-05 17:43:45 -07:00
udp_diag.c
udp_impl.h
udp_offload.c
fou: eliminate IPv4,v6 specific GRO functions
2014-10-03 16:53:32 -07:00
udp_tunnel.c
udp-tunnel: Add a few more UDP tunnel APIs
2014-09-19 15:57:15 -04:00
udplite.c
net: Eliminate no_check from protosw
2014-05-23 16:28:53 -04:00
xfrm4_input.c
xfrm4: Add IPsec protocol multiplexer
2014-02-25 07:04:16 +01:00
xfrm4_mode_beet.c
xfrm4_mode_transport.c
xfrm4_mode_tunnel.c
inetpeer: get rid of ip_id_count
2014-06-02 11:00:41 -07:00
xfrm4_output.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2014-05-24 00:32:30 -04:00
xfrm4_policy.c
xfrm: Introduce xfrm_input_afinfo to access the the callbacks properly
2014-03-14 07:28:07 +01:00
xfrm4_protocol.c
xfrm4: Remove duplicate semicolon
2014-06-30 07:49:47 +02:00
xfrm4_state.c
xfrm4_tunnel.c