How is Stack memory allocated when using 'push' or 'sub' x86 instructions?

20 points by matklad


matklad

Kinda random StackOverflow question, but I personally haven’t realized that the stack memory for the main thread on Linux is not only lazily faulted in, but also lazily mmapped!