home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12675 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.6 KB

  1. Path: sparky!uunet!news.centerline.com!franl
  2. From: franl@centerline.com (Fran Litterio)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: mmap on HP-UX 9.0 on s700
  5. Date: 7 Nov 92 21:09:01
  6. Organization: CenterLine Software, Inc.
  7. Lines: 26
  8. Message-ID: <FRANL.92Nov7210901@draco.centerline.com>
  9. References: <FRANL.92Nov7110620@draco.centerline.com> <BxD92u.E80@fc.hp.com>
  10. NNTP-Posting-Host: 140.239.3.116
  11. In-reply-to: jsm@fc.hp.com's message of Sat, 7 Nov 1992 21:59:18 GMT
  12.  
  13. jsm@fc.hp.com (John Marvin) writes:
  14.  
  15. > Fran Litterio (franl@centerline.com) wrote:
  16. > : If this is so, then how is dld.sl guaranteed to be able to map the
  17. > : text/data of mylib.sl at the same VM address for all programs which
  18. > : were linked against it?
  19. > It doesn't. The data is mapped into the second quadrant, which is private
  20. > (not shared with other processes). The text is mapped into the 3rd or 4th
  21. > quadrant, which is shared with all processes. But when it is mapped by
  22. > the first process that uses it, it can be placed anywhere within the 3rd
  23. > or 4th quadrant.
  24.  
  25. Don't you mean "anywhere within the 3rd or 4th quadrant that isn't
  26. already allocated to a shared library that another process has
  27. mapped"?
  28.  
  29. So if libfoo.sl's text pages are mapped for the very first time by any
  30. process, they will not be assigned virtual addresses that are used by
  31. libbar.sl's text pages in another process that was started a minute
  32. earlier?  Even if the program that maps libfoo.sl does not map
  33. libbar.sl?
  34. --
  35. franl@centerline.com   || Fran Litterio, CenterLine Software R&D
  36. 617-498-3255           || 10 Fawcett St, Cambridge, MA, USA 02138-1110
  37. "It's not the thing you fling, it's the fling itself."  -- Chris Stevens
  38.