]> www.infradead.org Git - users/hch/misc.git/commit
mm/hmm: let users to tag specific PFN with DMA mapped bit
authorLeon Romanovsky <leonro@nvidia.com>
Sun, 14 Jan 2024 13:44:15 +0000 (15:44 +0200)
committerLeon Romanovsky <leon@kernel.org>
Wed, 9 Oct 2024 16:55:24 +0000 (19:55 +0300)
commit997982da49159c90035adf59f256207032dd449b
tree29cdd0cb6a323fc7fa725348e8a08478fdbc2df2
parent143fbf3395d66ac4244b2ff130ba4e1a7f446f6b
mm/hmm: let users to tag specific PFN with DMA mapped bit

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.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
include/linux/hmm.h
mm/hmm.c