Article View: aus.computers.linux
Article #57595Re: Do shared libraries save memory or disk space
From: Thorfinn
Date: Thu, 12 Sep 1996 00:00
Date: Thu, 12 Sep 1996 00:00
29 lines
1563 bytes
1563 bytes
In article <518ap6$a2v@mulga.cs.mu.OZ.AU>, Tyson Richard DOWD 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).
Correct. :)
FORK(2) Linux Programmer's Manual FORK(2)
[.....]
DESCRIPTION
[.....]
Under Linux, fork is implemented using copy-on-write
pages, so the only penalty incurred by fork is the time
and memory required to duplicate the parent's page tables,
and to create a unique task structure for the child.
[.....]
BUGS
Under Linux, vfork is merely an alias for fork.
[.....]
Linux 0.99.11 24 July 1993 1
Later,
Thorf
--
-- <a href="http://www.zip.com.au/~thorfinn"> thorfinn@zip.com.au </a>
Bell Labs Unix -- Reach out and grep someone.
Technical Details
Message-ID:
<slrn53fvus.rj9.thorfinn@jog3.zip.com.au>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: thorfinn@zip.com.au (Thorfinn) Subject: Re: Do shared libraries save memory or disk space Date: 1996/09/12 Message-ID: <slrn53fvus.rj9.thorfinn@jog3.zip.com.au> X-Deja-AN: 180139979 references: <513nvh$2hv@nhj.nlc.net.au> <515cso$su7@metro.ucc.su.OZ.AU> <518ap6$a2v@mulga.cs.mu.OZ.AU> organization: None. reply-to: thorfinn@zip.com.au newsgroups: aus.computers.linux,comp.os.linux.misc