Re: [patch 2/3] MAP_NOZERO - implement sys_brk2()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/26/07, Davide Libenzi <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux