Subject: Re: RD53s and swapping
To: Johnny Billquist <bqt@Update.UU.SE>
From: Anders Magnusson <ragge@ludd.luth.se>
List: port-vax
Date: 01/26/1999 08:50:42
> 
> But how does NetBSD realize that the libc-part can be shared? The programs
> starts, loads in the shared part with dload (or what it's called), but
> that goes into you own address space. And this part of address space is
> then somehow registered for content by NetBSD, or what? (Right?)
> 
Not quite. The library text is mmap'ed in (read-only) and the location
of them in memory is set into the offset tables (whatever they are called).
This job is done by ld.so when the binary is started.
The libraries is then shared (with mmap'ing) between all processes that
uses them. Simple, eh? :-)

-- Ragge