1
0
Fork 0
alistair23-linux/net/smc
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 <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-06-28 10:40:47 -07:00
..
Kconfig net/smc: remove Kconfig warning 2017-07-29 11:22:58 -07:00
Makefile smc: netlink interface for SMC sockets 2017-01-09 16:07:41 -05:00
af_smc.c Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
smc.h net/smc: urgent data support 2018-05-23 16:02:35 -04:00
smc_cdc.c net/smc: urgent data support 2018-05-23 16:02:35 -04:00
smc_cdc.h net/smc: urgent data support 2018-05-23 16:02:35 -04:00
smc_clc.c net/smc: rename connection index to RMBE index 2018-05-18 13:15:01 -04:00
smc_clc.h net/smc: rename connection index to RMBE index 2018-05-18 13:15:01 -04:00
smc_close.c net/smc: simplify wait when closing listen socket 2018-03-15 09:49:13 -04:00
smc_close.h net/smc: replace sock_put worker by socket refcounting 2018-01-26 10:41:56 -05:00
smc_core.c net/smc: longer delay when freeing client link groups 2018-05-23 16:02:35 -04:00
smc_core.h net/smc: move smc_core specific code from smc.h to smc_core 2018-05-18 13:15:01 -04:00
smc_diag.c net/smc: add common buffer size in send and receive buffer descriptors 2018-05-18 13:15:01 -04:00
smc_ib.c net/smc: move link group list to smc_core 2018-05-18 13:15:01 -04:00
smc_ib.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
smc_llc.c net/smc: drop messages when link state is inactive 2018-05-16 11:49:20 -04:00
smc_llc.h net/smc: use a workqueue to defer llc send 2018-05-16 11:49:19 -04:00
smc_pnet.c net/smc: check for missing nlattrs in SMC_PNETID messages 2018-05-14 16:40:45 -04:00
smc_pnet.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
smc_rx.c net/smc: urgent data support 2018-05-23 16:02:35 -04:00
smc_rx.h smc: add support for splice() 2018-05-04 11:45:06 -04:00
smc_tx.c net/smc: urgent data support 2018-05-23 16:02:35 -04:00
smc_tx.h net/smc: urgent data support 2018-05-23 16:02:35 -04:00
smc_wr.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
smc_wr.h net/smc: pay attention to MAX_ORDER for CQ entries 2018-03-14 13:40:44 -04:00