Wilco Dijkstra writes: > 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