Why add anything?
Posted Mar 30, 2007 12:59 UTC (Fri) by mjr
In reply to: Why add anything?
Parent article: Application-friendly kernel interfaces
I'm wondering the same myself. I'm not much for low level hacking, but I fail to see what benefits one would reap from yet another interface.
If a separate interface is really necessary for some reason, I'd put the same functionality behind regular libc malloc(); it already does brk() for small allocations and mmap() for large ones I believe, so it could just as well do extra-large allocations via the hugetlb API. (Putting this in malloc instead of mmap would get rid of the partial-munmap issue on the libc end.)
to post comments)