Article View: comp.sys.amiga.tech
Article #12889Virtual Memory
From: POSTMASTER
Date: Fri, 26 May 1989 14:38
Date: Fri, 26 May 1989 14:38
37 lines
2341 bytes
2341 bytes
Randell Jesup <jesup@cbmvax.uucp> writes in Message-ID: <6969@cbmvax.UUCP>
- In article <10949@behemoth.phx.mcd.mot.com> mph@behemoth.UUCP (Mark Huth)
- writes:
- > Well, I'm not Dave, but I'll jump in here. Forbid in not too bad - just
- > eats processor doing nothing while the page swap occurs. That is, we do
- > not care why the task forbids, we simply comply by not scheduling another
- > context. If a page fault occurs, swap a page. If it was the wrong page,
- > then you'll get another page fault, so you swap that one in.
-
- Sorry, but every disk driver I've seen uses tasks, and therefore
- you MUST break the forbid in order to page, which means a page fault while
- forbidden is disaster.
Heh, a lot of people don't see the difference between the Amiga and another
computer such as the MacIntosh. The Amiga is a message-based multi-tasking
microcomputer. The keyword here is not only multi-tasking, but also message-
based. For any disk I/O which we want to perform, we have to send a message to
another task telling it to controll the disk. That means that if you have no
multi-tasking (we are in Forbid()/Disable() or in supervisor mode) we can not
pass any messages around.
On the MacIntosh, this would be no problem. Their disk handlers are not
separate tasks, but rather library routines executing under the context of the
task calling them.
Pop-quiz: On the MacIntosh, can you edit a file with WordPerfect while another
program is reading the disk under MultiFinger? Heh? Can a MacIntosh
multitask?
Valentin
_________________________________________________________________________
"An operating system without Name: Valentin Pepelea
virtual memory is an operating Phonet: (613) 231-7476 (New!)
system without virtue." Bitnet: 451061@Uottawa.bitnet
Usenet: Use cunyvm.cuny.edu gate
- Ancient Inca Proverb Planet: 451061@acadvm1.UOttawa.CA
Technical Details
Message-ID:
<8905270512.AA18594@jade.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!pasteur!ucbvax!UNO.BITNET!POSTMASTERShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!pasteur!ucbvax!UNO.BITNET!POSTMASTER From: POSTMASTER@UNO.BITNET Newsgroups: comp.sys.amiga.tech Subject: Virtual Memory Message-ID: <8905270512.AA18594@jade.berkeley.edu> Date: 26 May 89 14:38:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 37