The phaseout of the mmap() file operation in Linux
lwn.net
lwn.net
Or all sorts of things in /proc/ and /sys/.
And the sheer nastiness of PPID 0.
And ...
This is a big, big reorg even for Linux.
[1] To be fair, most of which probably don't support mapping.
Also, it's not that the core kernel is ceasing to provide a facility that drivers depended on; rather, it's ceasing to depend on a facility that drivers provided. But doing so involves adding this new mmap_prepare() thing, which is making the kernel depend on a new facility that drivers now must provide, I guess?
https://news.ycombinator.com/item?id=17532285
>DonHopkins on July 14, 2018 | parent | context | favorite | on: The everything-is-a-file principle – Linus Torvald...
>I always wanted /dev/zero, which is used to mmap zeros into memory, to be more general and use the device minor number to define which byte gets mapped, so you could mknod /dev/seven with a minor number of 7, to provide an infinite source of beeps!
Or was some amount heap memory always just mapped into the process in early UNIX so that the need to map more pages only appeared as programs started to demand more heap memory than whatever the standard amount was?