On Tue, 27 Dec 2016 09:48:59 -0800, Ed Jaffe wrote: >On 12/27/2016 9:41 AM, Joe Reichman wrote: >> The RB's associated with the task/TCB differentiate the programs but the >> code can live in same private address - range >> >> Correct ? > >Yes. That is essentially the definition of reentrant code. > Further, with UNIX shared memory and the older CSA and LPA a single page, possibly executable, can be mapped into multiple address spaces. It better be reentrant.
The address ranges wouldn't need to be identical if the code were location independent. This may have been a goal of the S/360 designers, never exploited in OS/360 software. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
