Linus Torvalds
a11e1d432b
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
...
The poll() changes were not well thought out, and completely
unexplained. They also caused a huge performance regression, because
"->poll()" was no longer a trivial file operation that just called down
to the underlying file operations, but instead did at least two indirect
calls.
Indirect calls are sadly slow now with the Spectre mitigation, but the
performance problem could at least be largely mitigated by changing the
"->get_poll_head()" operation to just have a per-file-descriptor pointer
to the poll head instead. That gets rid of one of the new indirections.
But that doesn't fix the new complexity that is completely unwarranted
for the regular case. The (undocumented) reason for the poll() changes
was some alleged AIO poll race fixing, but we don't make the common case
slower and more complex for some uncommon special case, so this all
really needs way more explanations and most likely a fundamental
redesign.
[ This revert is a revert of about 30 different commits, not reverted
individually because that would just be unnecessarily messy - Linus ]
Cc: Al Viro <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2018-06-28 10:40:47 -07:00
..
ila
treewide: kvmalloc() -> kvmalloc_array()
2018-06-12 16:19:22 -07:00
netfilter
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
2018-06-11 14:24:32 -07:00
addrconf.c
net/ipv6: Ensure cfg is properly initialized in ipv6_create_tempaddr
2018-06-11 16:39:02 -07:00
addrconf_core.c
net/ipv6: Add helper to return path MTU based on fib result
2018-05-22 10:51:09 +02:00
addrlabel.c
af_inet6.c
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
ah6.c
anycast.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-06-06 18:39:49 -07:00
calipso.c
datagram.c
udp: fix rx queue len reported by diag and proc interface
2018-06-08 19:55:15 -04:00
esp6.c
esp6_offload.c
exthdrs.c
ipv6: Count interface receive statistics on the ingress netdev
2018-04-17 13:39:51 -04:00
exthdrs_core.c
net: ipv6: Fix typo in ipv6_find_hdr() documentation
2018-05-07 23:50:27 -04:00
exthdrs_offload.c
fib6_notifier.c
fib6_rules.c
net/ipv6: Add fib6_lookup
2018-05-11 00:10:56 +02:00
fou6.c
icmp.c
treewide: kzalloc() -> kcalloc()
2018-06-12 16:19:22 -07:00
inet6_connection_sock.c
inet6_hashtables.c
net/tcp: Fix socket lookups with SO_BINDTODEVICE
2018-06-20 08:03:06 +09:00
ip6_checksum.c
ip6_fib.c
net/ipv6: respect rcu grace period before freeing fib6_info
2018-06-20 07:57:23 +09:00
ip6_flowlabel.c
proc: introduce proc_create_net{,_data}
2018-05-16 07:24:30 +02:00
ip6_gre.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-05-21 16:01:54 -04:00
ip6_icmp.c
ip6_input.c
ipv6: Count interface receive statistics on the ingress netdev
2018-04-17 13:39:51 -04:00
ip6_offload.c
udp: add udp gso
2018-04-26 15:07:42 -04:00
ip6_offload.h
ip6_output.c
ip: limit use of gso_size to udp
2018-06-20 14:41:04 +09:00
ip6_tunnel.c
ip6_tunnel: remove magic mtu value 0xFFF8
2018-06-01 13:56:30 -04:00
ip6_udp_tunnel.c
ip6_vti.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-05-11 20:53:22 -04:00
ip6mr.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-06-06 18:39:49 -07:00
ipcomp6.c
ipv6_sockglue.c
Kconfig
bpf: Add IPv6 Segment Routing helpers
2018-05-24 11:57:35 +02:00
Makefile
mcast.c
ipv6: mcast: fix unsolicited report interval after receiving querys
2018-06-23 10:27:45 +09:00
mcast_snoop.c
mip6.c
ndisc.c
vrf: check the original netdevice for generating redirect
2018-06-04 10:16:45 -04:00
netfilter.c
output_core.c
ping.c
proc: introduce proc_create_net{,_data}
2018-05-16 07:24:30 +02:00
proc.c
proc: introduce proc_create_net_single
2018-05-16 07:24:30 +02:00
protocol.c
raw.c
Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL
2018-06-28 10:40:47 -07:00
reassembly.c
ipv6: frags: fix a lockdep false positive
2018-04-18 23:19:39 -04:00
route.c
ipv6: allow PMTU exceptions to local routes
2018-06-11 14:17:19 -07:00
seg6.c
net: remove unnecessary genlmsg_cancel() calls
2018-05-29 09:53:38 -04:00
seg6_hmac.c
seg6_iptunnel.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-06-03 09:31:58 -04:00
seg6_local.c
ipv6: sr: Add seg6local action End.BPF
2018-05-24 11:57:36 +02:00
sit.c
ip6_tunnel: remove magic mtu value 0xFFF8
2018-06-01 13:56:30 -04:00
syncookies.c
sysctl_net_ipv6.c
ipv6: sr: Compute flowlabel for outer IPv6 header of seg6 encap mode
2018-04-25 13:02:15 -04:00
tcp_ipv6.c
tcp: verify the checksum of the first data segment in a new connection
2018-06-14 17:04:41 -07:00
tcpv6_offload.c
tunnel6.c
udp.c
udp: fix rx queue len reported by diag and proc interface
2018-06-08 19:55:15 -04:00
udp_impl.h
udp_offload.c
udp: Add support for software checksum and GSO_PARTIAL with GSO offload
2018-05-08 22:30:06 -04:00
udplite.c
proc: introduce proc_create_net{,_data}
2018-05-16 07:24:30 +02:00
xfrm6_input.c
xfrm6_mode_beet.c
xfrm6_mode_ro.c
xfrm6_mode_transport.c
xfrm6_mode_tunnel.c
xfrm6_output.c
xfrm6_policy.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-06-03 09:31:58 -04:00
xfrm6_protocol.c
xfrm6_state.c
xfrm: remove VLA usage in __xfrm6_sort()
2018-04-26 07:51:48 +02:00
xfrm6_tunnel.c
xfrm: Fix warning in xfrm6_tunnel_net_exit.
2018-04-16 07:50:09 +02:00