home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / misc / 892 next >
Encoding:
Text File  |  1992-11-07  |  1.8 KB  |  39 lines

  1. Newsgroups: comp.os.misc
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!mojo.eng.umd.edu!pandora.pix.com!stripes
  3. From: stripes@pix.com (Josh Osborne)
  4. Subject: Re: Processes and Translation Look-Aside Buffers
  5. Message-ID: <Bx99Eq.Cpp@pix.com>
  6. Sender: news@pix.com (The News Subsystem)
  7. Nntp-Posting-Host: pandora.pix.com
  8. Organization: Pix Technologies -- The company with no adult supervision
  9. References: <Bx7oDL.507@beach.csulb.edu>
  10. Date: Thu, 5 Nov 1992 18:16:00 GMT
  11. Lines: 26
  12.  
  13. In article <Bx7oDL.507@beach.csulb.edu> werts@thrush.acs.csulb.edu (Michael Werts) writes:
  14. >Can anyone give me an idea of what is done with
  15. >the contents of a translation look-aside buffer
  16. >at task switch time in an operating system like
  17. >Unix with per process address spaces?
  18. >
  19. >Is the TLB reloaded? Or is it shared in someway
  20. >between processes?
  21.  
  22. Most CPU/MMUs I have seen invalidate it.  The AMD29k has a 16bit (it may
  23. be 8, but I think 16) task-id it uses during the look-up, so it can let
  24. TLBs live.  I havn't seen any study showing when AMD's TLBs live long enough
  25. to make a diffrence, let alone a study showing the more genneral case (i.e.
  26. with a load of X and a task-id Y bits wide Z TLBs will live through enough
  27. context switchs to be re-used...).
  28.  
  29. For cache there is a 3rd choice, you can use phyical addresses rather then
  30. vert. ones (at the cost of not being able to overlap cache look-up and
  31. VM maping), Intel does this with the 386 and 486.  I don't know anyone
  32. else who does.
  33. -- 
  34.            stripes@pix.com              "Security for Unix is like
  35.       Josh_Osborne@Real_World,The          Multitasking for MS-DOS"
  36.       "The dyslexic porgramer"                  - Kevin Lockwood
  37. We all agree on the necessity of compromise.  We just can't agree on
  38. when it's necessary to compromise.       - Larry Wall
  39.