home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Newsgroups: comp.lang.c
- Subject: Re: Virtual memory Management Systems
- Message-ID: <1992Nov20.101929.21132@thunder.mcrcim.mcgill.edu>
- Date: 20 Nov 92 10:19:29 GMT
- References: <1992Nov17.103746.20006@di.unipi.it> <1992Nov18.081123.29057@di.unipi.it>
- Organization: McGill Research Centre for Intelligent Machines
- Lines: 22
-
- In article <1992Nov18.081123.29057@di.unipi.it>, ntranqu@caticsuf.cati.csufresno.edu (Nico Tranquilli) writes:
- > In article <1992Nov17.143327@gese.ge14.mdadv.gv.at> Petzi Schweda, sca@gese.ge14.mdadv.gv.at writes:
-
- > Perhaps I should have asked : "What is the name of HARDWARE devices
- > which allocate virtual memory on disks whenever the internal memory
- > become full ?
-
- This is (usually) done in OS software, not in hardware. Typically, the
- OS will set up the MMU [memory management unit] so that all pages are
- valid, then when it wants to make room, it will write a page out to
- disk and reset the MMU so the page is invalid. Upon next access to
- that page, the MMU will generate a trap to the OS, which does whatever
- is appropriate (typically reading the page back in, resetting the MMU,
- and resuming the interrupted process).
-
- In short, someone else's answer - CPUs - is, while rather flippant,
- nonetheless basically correct.
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-