On Sun, Aug 29, 2021 at 04:46:52PM +0300, Max Gurtovoy wrote: > > > I have a report that net/sunrpc/xprtrdma/frwr_ops.c::frwr_map() > > > is attempting to register a mix of GPU and CPU pages with a > > > single MR during an NFSv4 READ. > > What GPU pages? > > I guess it's GPU device memory. > > But as Jason mentioned, This is still not supported in RDMA. So there should > be a bounce buffer in the IO path between GPU and CPU memory subsystems. Well, the RDMA stack does support P2P pages, which can be exported by GPUs. It also supports device private pages by migrating them back to the CPU through hmm_range_fault. But none of this should require SG_GAPS.