From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,28b0249f7691568e X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,28b0249f7691568e X-Google-Attributes: gid1164f8,public From: kma@cs.brown.edu (Keith Adams) Subject: Re: Alpha in peril? First Canion, now Pfieffer (I do think so) Date: 1999/05/13 Message-ID: <7hfcqm$cda@cocoa.brown.edu>#1/1 X-Deja-AN: 477550726 References: <371AD875.407C6B83@igs.net> <7g4tng$5ue$1@nnrp1.dejanews.com> <7h7vnn$2ts$15@nntp.Stanford.EDU> <5l4sljqx5d.fsf@tequila.cs.yale.edu> <926495090.942894@haldjas.folklore.ee> <37396C9A.BD7A1D3B@hda.hydro.com> Organization: Brown University Followup-To: comp.arch,comp.sys.dec Newsgroups: comp.arch,comp.sys.dec Mike Haertel (mike@ducky.net) wrote: : I have no idea how the Palm Pilot port did it. The m68knommu Linux port, as you suspected, only implements vfork. vfork has the limitation that the parent process is blocked until the child exits or execs, and the child must not return from the stack frame whence vfork was called. You make an approximate copy of the stack frame of the parent calling vfork at the top of the child's user stack; returning onto this new stack with a 0 return value completes the vfork. No base registers or segment copying required. Keith