Re: sharing text segments of all programs

From: Rik van Riel (riel@conectiva.com.br)
Date: Thu Dec 28 2000 - 16:45:52 EST


On Thu, 28 Dec 2000, Ari Heitner wrote:

> this has to be a dumb idea

Not really, you're just 8 (9?) years too late...

> The question is, why shouldn't it be possible to share the text
> segments of *all* running programs?

Linux uses shared mmap() for "loading" executables (well,
they're just mapped and demand-loaded as page faults come
in), which happens to give exactly the behaviour that's on
your wish list ;)

regards,

Rik

--
Hollywood goes for world dumbination,
	Trailer at 11.

http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com.br/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 21:00:11 EST