![]() | ||||||||||
Messages in this thread |
On 6/26/07, Davide Libenzi <davidel@xmailserver.org> wrote: > I acutally have the code for it, but I never posted it since it did not > receive a too warm review (and the only user was the fdmap thingy). Only user of sys_indirect? There will be quite a few right away. Every syscall that returns a file descriptor needs O_CLOEXEC support (socket, pipe, epoll_create, ...) > OTOH glibc could implement __morecore using mmap(MAP_NOZERO), and hence > brk2() would not be needed, no? No. mmap calls create individual VMAs which gets expensive. There are also some hardware drivers which get more expensive the more VMAs there are. I want to go away as much as possible from mmap for malloc. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2007-06-27 05:12 [from the cache] ©2003-2008 | ||||||||||