Re: fork() vs vfork()

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

 



On Thu, Sep 20, 2001 at 02:51:08PM +0800, kjlin wrote:
> From: "kjlin" <kj.lin@viditec-netmedia.com.tw>
> To: <linux-mips@oss.sgi.com>
> Subject: fork() vs vfork()
> Date: Thu, 20 Sep 2001 14:51:08 +0800
> 
> Hi all,
> 
> How does linux-mips treat the vfork() function?
> I can see the fork() implemented in syscall.c as following:
> 
> save_static_function(sys_fork);
> static_unused int _sys_fork(struct pt_regs regs)
> {
>         int res;
>         res = do_fork(SIGCHLD, regs.regs[29], &regs, 0);
>         return res;
> }

> Why not do the same "sys_vfork" in linux-mips?
> Does it mean that MIPS does not support vfork() or vfork() is equal to fork() in MIPS platform?

Hint: save_static_function is a macro.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux