Get the latest tech news
The phaseout of the mmap() file operation in Linux
The file_operations structure in the kernel is a set of function pointers implementing, as the [...]
The next step That was the state of the API as merged for the 6.17 release; it was enough to support the conversion of a number of drivers over from mmap() and begin the long process of deprecating that interface. The actions defined in this patch set are MMAP_NOTHING(do nothing), MMAP_REMAP_PFN, which causes the address space covered by the VMA to be mapped to a range of page-frame numbers beginning at start_pfn, and MMAP_IO_REMAP_PFN, which performs a similar remapping into device-hosted memory. Whether it will settle in time for the 6.18 merge window is unclear at this point, so the work to remove the mmap() callback may have to wait another cycle before proceeding.
Or read this on Hacker News