The smc code uses the unsafe_global_rkey, exposing all memory for remote reads and writes once a connection is established. Here is now a patch series to get rid of unsafe_global_rkey usage. Main idea is to switch to SG-logic and separate memory regions for RMBs. Before final submission to the net-Maintainer I would like to get early feedback from the RDMA-experts, especially for the main patches: 03/10 net/smc: introduce sg-logic for RMBs 04/10 net/smc: use separate memory regions for RMBs 05/10 net/smc: register RMB-related memory region 10/10 net/smc: synchronize buffer usage with device Thanks, Ursula Ursula Braun (10): net/smc: serialize connection creation in all cases net/smc: shorten local bufsize variables net/smc: introduce sg-logic for RMBs net/smc: use separate memory regions for RMBs net/smc: register RMB-related memory region net/smc: remove Kconfig warning net/smc: introduce sg-logic for send buffers net/smc: common functions for RMBs and send buffers net/smc: cleanup function __smc_buf_create() net/smc: synchronize buffer usage with device net/smc/Kconfig | 4 - net/smc/af_smc.c | 64 ++++++--- net/smc/smc_clc.c | 12 +- net/smc/smc_core.c | 392 +++++++++++++++++++++++++++++------------------------ net/smc/smc_core.h | 31 +++-- net/smc/smc_ib.c | 125 ++++++++++++++--- net/smc/smc_ib.h | 19 ++- net/smc/smc_rx.c | 3 + net/smc/smc_tx.c | 9 +- net/smc/smc_wr.c | 63 +++++++++ net/smc/smc_wr.h | 1 + 11 files changed, 476 insertions(+), 247 deletions(-) -- 2.11.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html