login
Header Space

 
 

Re: shared libs - can everyone be happy with this?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Monday, August 17, 1992 - 11:13 am

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: shared libs - can everyone be happy with this?, David Engel, (Mon Aug 17, 11:13 am)
speck-geostationary