• [$] The phaseout of the mmap() file operation

    From LWN.net@1337:1/100 to All on Thursday, September 25, 2025 18:00:10
    [$] The phaseout of the mmap() file operation

    Date:
    Thu, 25 Sep 2025 16:48:55 +0000

    Description:
    The file_operations structure in the kernel is a set of function pointers implementing, as the
    name would suggest, operations on files. A subsystem that manages objects which can be represented by a file descriptor will provide a file_operations structure providing implementations of the various
    operations that a user of the file descriptor may want to carry out. The mmap() method, in particular, is invoked when user space calls the mmap() system call to map the object behind a file descriptor into its address
    space. That method, though, is currently on its way out in a multi-release process that started in 6.17.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/1038715/


    --- Mystic BBS v1.12 A49 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)