Hacker News new | past | comments | ask | show | jobs | submit login

I don't really understand the point of all this (on Linux). Just mmap(2) a virtual address range as large as you think you will ever need and let demand paging do the rest. No need to explicitly reallocate anything.





This means every buffer uses 4k (page size) minimum of RAM. Sounds very wasteful.

I mean, it depends...



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: