Live data from Hacker News

Anatomy of a Program in Memory (2009)

manybutfinite.com

1–10 of 28 posts

Re: Anatomy of a Program in Memory (2009)

#6
The author states:

>It is also possible to create an anonymous memory mapping that does not correspond to any files, being used instead for program data."

This isn't strictly true though is it? It was my understanding even mmap() MAP_ANONYMOUS used a file interface, and that the way the kernel creates anonymous maps is by creating an instance of /dev/zero in tmpfs. Although I believe the file descriptor might be ignored however.

Re: Anatomy of a Program in Memory (2009)

#9
>> In Linux, kernel space is constantly present and maps the same physical memory in all processes.

That's right there together with the city states of Greece and other ancient memories. Meltdown and Specter happened.

Post reply on HN