Re: suggestion for improvement to vfork() man page

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

 



starlight@xxxxxxxxxxx wrote:
> +(However, on such systems,
> +the preferred standard way of accomplishing the same result is to use
> +.BR posix_spawn (3).)
> 
> I'm not sure I agree on this.  Linux posix_spawn()
> calls fork() which for us is undesirable on MMU systems
> due to the cost of copying large page tables.

posix_spawn() under glibc will try to automatically use vfork() instead
of fork() in some cases.  There is also a GNU-specific
POSIX_SPAWN_USEVFORK flag to force vfork() usage, too.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux