[lkml]   [1999]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Porting vfork()
    H. Peter Anvin wrote:
    > Followup to: <>
    > By author:
    > In newsgroup:
    > >
    > > So, the question: is linux vfork() behavior annoying anyone else and is it
    > > worth fixing? (other than to eliminate its appearance in the BUG area of the
    > > Linux fork() man page ;)
    > >
    > I think you can mimic the BSD vfork() at the library level by using
    > clone() and perhaps trapping exec().

    vfork was a good idea when you didn't have a memory management
    unit. Then you had to copy over and possibly re-link the existing
    process to a new place in memory. That was a costly process. Yes Unix
    did run on that kind of hardware in the eighties.

    Nowadays the overhead is almost non-existent, so it is not neccesary
    to make the distinction....


    ** ** ** +31-15-2137555 **
    *-- BitWizard writes Linux device drivers for any device you may have! --*
    * Never blow in a cat's ear because if you do, usually after three or *
    * four times, they will bite your lips! And they don't let go for at *
    * least a minute. -- Lisa Coburn, age 9

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:49    [W:0.028 / U:4.956 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site