Fundamental defect of the concept of shared libraries

Masataka Ohta mohta at necom830.cc.titech.ac.jp
Tue May 21 05:53:14 AEST 1991


In article <7916 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:

>Are there any architectures of interest in this discussion that can't
>support PC-relative references?

R3000.

>If you believe that a system with a virtual-address cache, or a system
>with inverted page tables, cannot map several virtual addresses to a
>physical address, you're wrong.

I am correct. It can't map them.

>Proof by counterexample:

>They may have to go through some amount of pain to do so, but they *do*
>manage to do it.

As the architechture can not map them, a possible workaround is to flush
cache/page-table by software at context switch.

It will slow down context switch. That is, if you have heavily interactive
processes, as is often the case with window systems, the performance
degradation will be much.

						Masataka Ohta



More information about the Comp.unix.internals mailing list