]> www.infradead.org Git - users/hch/block.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>
Thu, 3 Oct 2024 16:05:52 +0000 (19:05 +0300)
commit8bc4ad5fa90de276c90290401be2371ae27d6d4f
tree451f933643cb4b984121a44e5dff21ecee6530e3
parentb8d87fd0fcd02e97d5c56e502decbcc1ab3d5f74
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