HomeFreeBSD

LinuxKPI: Factor out vmf_insert_pfn_prot() routine

Description

LinuxKPI: Factor out vmf_insert_pfn_prot() routine

from GEM and TTM page fault handlers and move it in to base system. This
code is tightly integrated with LKPI mmap support to belong to drm-kmod.

As this routine requires associated vm_object to be locked, it got
additional _locked suffix.

Reviewed by: hselasky, markj
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D32068

Details

Provenance
wulfAuthored on Sep 29 2021, 8:13 PM
Reviewer
hselasky
Differential Revision
D32068: LinuxKPI: Factor out vmf_insert_pfn_prot() routine
Parents
rG7d92d4835850: LinuxKPI: Invoke release handler when file is destroyed by fput()
Branches
Unknown
Tags
Unknown