Linux and GC

Scott L. Burson gyro@zeta-soft.com
Tue, 12 May 1998 14:35:47 -0700 (PDT)


   From: kragen@pobox.com (Kragen)
   Date: Tue, 12 May 1998 17:27:00 -0400 (EDT)

   No, vfork() is very different.  vfork() suspends the parent process
   until the child process calls exec(), in order to avoid the potentially
   immense overhead of copying the whole memory space.  Linux doesen't
   need a separate vfork() because its fork() just marks things as
   copy-on-write.

Good grief, you're right.  I've had this misconception for some 15 years.
Somebody told me long ago that `vfork' did copy-on-write, and I never checked
the `man' page.

What a disillusionment!  Next you'll tell me there's no Santa Claus :-)

-- Scott