Re: mergemem, is it really needed

Andreas Kostyrka (andreas@rainbow.studorg.tuwien.ac.at)
Wed, 18 Mar 1998 00:11:58 +0100 (CET)


On Tue, 17 Mar 1998, Rik van Riel wrote:

> Hi,
>
> Upon reading the mergemem thread, some vague memory
> from my read-everything days came floating up...
> And a 'info gcc' gave me:
>
> `-fshared-data'
> Requests that the data and non-`const' variables of this
> compilation be shared data rather than private data. The
> distinction makes sense only on certain operating systems, where
> shared data is shared between processes running the same program,
> while private data exists in one copy per process.
>
> Wouldn't this give the same functionality as mergemem,
> at a cheaper cost???
Nope.
1) It would still need to be implemented.
2) It would presumly change the semantics -> char device[200]; would be
the same memory for mingetty running on tty1 and tty2, and that is
surely not wanted.

Andreas

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu