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.
Differential D32068
LinuxKPI: Factor out vmf_insert_pfn_prot() routine wulf on Sep 23 2021, 12:43 AM. Authored by Tags None Referenced Files
Details from GEM and TTM page fault handlers and move it in to base system. This As this routine requires associated vm_object to be locked, it got
Diff Detail
Event TimelineComment Actions Looks good. Was this code tested?
Comment Actions The code itself existed for a long time [1][2] But results of refactoring were tested on GEM(i915) only yet. [1] https://github.com/freebsd/drm-kmod/blob/5.5-stable/drivers/gpu/drm/i915/intel_freebsd.c#L167
|