Subject: Re: "resident" executables, a COW and shared library like feature
To: Matthew Mondor <mmondor@gobot.ca>
From: Wojciech Puchar <wojtek@chylonia.3miasto.net>
List: tech-kern
Date: 09/26/2002 12:40:36
> when many copies are being started?
>
> I know that there are COW pages, which permit to produce similar results
> when a process forks multiple times, and shared libraries which allow alot
> of code to be shared among processes using it;
>
> This however probably would look more in the form of a virtual fs
> or the like, where all executables started via execve(2) would actually
> share the same pages, it could also be static executables... basically it
> would be similar to if the process had already been launched once, but was
> sleeping in an invisible state, and a fork(2)-like operation would be
> performed on it when it then gets invoked...
>
> I mostly wonder if this already exists, or if some work was in progress
> to allow such a feature, which would probably be quite useful for some
> configurations, an example which comes to mind are external CGIs which an
it will be useful to make all (or most) .so libraries like that and
dynamic linker itself