WSL2-Linux-Kernel/net/rds
Leon Romanovsky 0d4597c8c5 net/rds: Track user mapped pages through special API
Convert net/rds to use the newly introduces pin_user_pages() API,
which properly sets FOLL_PIN. Setting FOLL_PIN is now required for
code that requires tracking of pinned pages.

Note that this effectively changes the code's behavior: it now
ultimately calls set_page_dirty_lock(), instead of set_page_dirty().
This is probably more accurate.

As Christoph Hellwig put it, "set_page_dirty() is only safe if we are
dealing with a file backed page where we have reference on the inode it
hangs off." [1]

[1] https://lore.kernel.org/r/20190723153640.GB720@lst.de

Cc: Hans Westgaard Ry <hans.westgaard.ry@oracle.com>
Cc: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-02-16 18:37:09 -08:00
..
Kconfig
Makefile
af_rds.c
bind.c
cong.c
connection.c
ib.c net/rds: Handle ODP mr registration/unregistration 2020-01-18 11:48:19 +02:00
ib.h net/rds: Handle ODP mr registration/unregistration 2020-01-18 11:48:19 +02:00
ib_cm.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-16 21:51:42 -08:00
ib_fmr.c
ib_frmr.c
ib_mr.h net/rds: Handle ODP mr registration/unregistration 2020-01-18 11:48:19 +02:00
ib_rdma.c net/rds: Use prefetch for On-Demand-Paging MR 2020-01-18 11:48:19 +02:00
ib_recv.c
ib_ring.c
ib_send.c net/rds: Handle ODP mr registration/unregistration 2020-01-18 11:48:19 +02:00
ib_stats.c
ib_sysctl.c
info.c
info.h
loop.c
loop.h
message.c
page.c
rdma.c net/rds: Track user mapped pages through special API 2020-02-16 18:37:09 -08:00
rdma_transport.c
rdma_transport.h
rds.h net/rds: Handle ODP mr registration/unregistration 2020-01-18 11:48:19 +02:00
rds_single_path.h
recv.c
send.c
stats.c
sysctl.c
tcp.c
tcp.h
tcp_connect.c
tcp_listen.c
tcp_recv.c
tcp_send.c
tcp_stats.c
threads.c
transport.c