]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'rds-odp-for-5.5' of https://git.kernel.org/pub/scm/linux/kernel/git/leon...
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 09:22:51 +0000 (10:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 09:22:51 +0000 (10:22 +0100)
commit2adb879c5a1a2ed548867e2350b08f545787e95e
treececa9e3059278203dd2d13d3ad96b13f867ab979
parent9fb39fcaac8a1a249ba10c6985ac55fbea4075db
parentc4b85fd8b96b9a9263801d52bd8c6be965a84f46
Merge tag 'rds-odp-for-5.5' of https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma

Leon Romanovsky says:

====================
Use ODP MRs for kernel ULPs

The following series extends MR creation routines to allow creation of
user MRs through kernel ULPs as a proxy. The immediate use case is to
allow RDS to work over FS-DAX, which requires ODP (on-demand-paging)
MRs to be created and such MRs were not possible to create prior this
series.

The first part of this patchset extends RDMA to have special verb
ib_reg_user_mr(). The common use case that uses this function is a
userspace application that allocates memory for HCA access but the
responsibility to register the memory at the HCA is on an kernel ULP.
This ULP acts as an agent for the userspace application.

The second part provides advise MR functionality for ULPs. This is
integral part of ODP flows and used to trigger pagefaults in advance
to prepare memory before running working set.

The third part is actual user of those in-kernel APIs.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx5/main.c