Article View: aus.computers.linux
Article #57525Re: Do shared libraries save memory or disk space
From: Michael Griffith
Date: Thu, 26 Sep 1996 00:00
Date: Thu, 26 Sep 1996 00:00
15 lines
1352 bytes
1352 bytes
In article <518ap6$a2v@mulga.cs.mu.OZ.AU>, Tyson Richard DOWD <trd@murlibobo.cs.mu.OZ.AU> wrote: >But I suspect that the Linux fork is vfork anyway (no evidence, just >seems silly not to do it this way - cost is low, and most programs just >fork and then exec anyway, so why bother copying all that stuff). Most modern UN*X kernels, Linux included, do copy-on-write with fork(). Having vfork() do COW and fork() not do it is an obsolete notion. I would just use fork() and not worry about vfork() at all. -- Michael A. Griffith (grif@cs.ucr.edu) | http://www.cs.ucr.edu/~grif/ Department of Computer Science | "My freedom of speech implies University of California, Riverside | your freedom to be offended."
Technical Details
Message-ID:
<52ehq1$23h@rumors.ucr.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<513nvh$2hv@nhj.nlc.net.au> <515cso$su7@metro.ucc.su.OZ.AU> <518ap6$a2v@mulga.cs.mu.OZ.AU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,69c6938f9ae135ef X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,69c6938f9ae135ef X-Google-Attributes: gid102983,public From: grif@cs.ucr.edu (Michael Griffith) Subject: Re: Do shared libraries save memory or disk space Date: 1996/09/26 Message-ID: <52ehq1$23h@rumors.ucr.edu> X-Deja-AN: 185514949 distribution: inet references: <513nvh$2hv@nhj.nlc.net.au> <515cso$su7@metro.ucc.su.OZ.AU> <518ap6$a2v@mulga.cs.mu.OZ.AU> organization: University of California, Riverside newsgroups: aus.computers.linux,comp.os.linux.misc