On Wed, Apr 23, 2025 at 11:13:01AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxx> > > Introduce new sticky flag (HMM_PFN_DMA_MAPPED), which isn't overwritten > by HMM range fault. Such flag allows users to tag specific PFNs with > information if this specific PFN was already DMA mapped. > > Tested-by: Jens Axboe <axboe@xxxxxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx> > --- > include/linux/hmm.h | 17 +++++++++++++++ > mm/hmm.c | 51 ++++++++++++++++++++++++++++----------------- > 2 files changed, 49 insertions(+), 19 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> This would be part of the RDMA bits Jason