[PATCH v5 1/1] Created tunable to force small pages on stack allocation.
Wilco Dijkstra
Wilco.Dijkstra@arm.com
Fri Apr 14 16:03:34 GMT 2023
Hi,
> The next question is whether the splitting of one huge page causes the whole
> stack mmap to use small pages too.
Btw if it wasn't obvious, you can trivially check this by creating threads that use
3MB of stack. Then the RSS per thread should be either 3MB (only small pages,
no RSS loss!), 4MB (2 large pages, no RSS loss), 5 MB (3MB small pages, 2MB loss)
or 6MB (2 large pages, 2MB loss).
Cheers,
Wilco
More information about the Libc-alpha
mailing list