home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / coherent / 3351 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  2.1 KB

  1. Xref: sparky comp.os.coherent:3351 comp.os.minix:3797
  2. Newsgroups: comp.os.coherent,comp.os.minix
  3. Path: sparky!uunet!email!hp
  4. From: hp@vmars.tuwien.ac.at (Peter Holzer)
  5. Subject: Re: OS compare (Unix/clone)
  6. Message-ID: <1992Jul30.115353.27049@email.tuwien.ac.at>
  7. Sender: news@email.tuwien.ac.at
  8. Nntp-Posting-Host: quasi.vmars.tuwien.ac.at
  9. Organization: Technical University Vienna, Dept. for Realtime Systems, AUSTRIA
  10. References: <1992Jul29.122847.22126@email.tuwien.ac.at> <1992Jul29.152915.19718@aston.ac.uk>
  11. Date: Thu, 30 Jul 1992 11:53:53 GMT
  12. Lines: 35
  13.  
  14. evansmp@uhura.aston.ac.uk (Mark Evans) writes:
  15.  
  16. >I thought it was using a secondary storage medium such as a disk
  17. >(or drum) to extend the addressing space of the processor.
  18.  
  19. Yes (although I'm not quite happy with the phrase `extend the
  20. addressing space'. `Allow more or larger programs than fit in physical
  21. memory (RAM)', is probably more accurate).  In the 286 every process
  22. can have access to 8191 global and 8192 local segments, each of which
  23. can have up to 64k. So the virtual address space of each process is
  24. ~1GB, which is far more than an AT has RAM (it is even more than a
  25. 286 can address).
  26.  
  27. If a segment is not needed, it can be swapped out onto disk. If it is
  28. needed again (loaded into a segment register), the processor will raise
  29. an exception, and the OS can load the segment into memory again. 
  30.  
  31. Seems to fit your definition.
  32.  
  33. Of course segments are harder to use than pages (they are of variable
  34. size, which makes allocation harder, and leads to fragmentation; A far
  35. pointer needs two registers, which makes the compiler more
  36. complicated, ...), so people prefer paging MMUs, if they have the
  37. choice.
  38.  
  39. >Am I not right in thinking that the memory protection on the 286 has a bug
  40. >in it somewhere.
  41.  
  42. This is possible. I never did any protected mode programming on the 286
  43. (and not much on the 386, either).
  44. -- 
  45. |    _  | Peter J. Holzer                       | Think of it   |
  46. | |_|_) | Technical University Vienna           | as evolution  |
  47. | | |   | Dept. for Real-Time Systems           | in action!    |
  48. | __/   | hp@vmars.tuwien.ac.at                 |     Tony Rand |
  49.