home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!ods!david
- From: david@ods.com (David Engel)
- Subject: Re: shared libs - can everyone be happy with this?
- Message-ID: <1992Aug17.151311.29507@ods.com>
- Organization: Optical Data Systems, Inc.
- X-Newsreader: Tin 1.1 PL5
- References: <1992Aug17.144719.1961@crd.ge.com>
- Date: Mon, 17 Aug 1992 15:13:11 GMT
- Lines: 23
-
- william E Davidsen (davidsen@ariel.crd.GE.COM) wrote:
- : In article <1992Aug17.065450.28834@colorado.edu>, drew@ophelia.cs.colorado.edu (Drew Eckhardt) writes:
- :
- : | Boom. You've just dirtied that page, and it is no longer
- : | shareable. So, instead of having > 200K shared between all
- : | of your shells, you have closer to 800K (Who has less than
- : | 4 shells running at a time). Not a good thing (tm).
- :
- : Well, no, actually. Since the new version of the page is still valid
- : for all processes it would still be sharable. And it would not have to
- : be saved somewhere in the unlikely event that it gets paged out, because
- : the unmodified varsion is still perfectly valid.
-
- No, it wouldn't be shareable. When a process writes to a shared page,
- it gets its very own copy of it which is no longer shared. There is a
- term for this that you probably already know, but others may not. It's
- called Copy-On-Write.
-
- David
- --
- David Engel Optical Data Systems, Inc.
- david@ods.com 1101 E. Arapaho Road
- (214) 234-6400 Richardson, TX 75081
-