From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Tommy McCabe <rocketjet314@yahoo.com>
Cc: linux-8086@vger.kernel.org
Subject: Re: Swapping
Date: Thu, 27 May 2004 19:45:07 +0100 [thread overview]
Message-ID: <1085683506.24752.22.camel@localhost.localdomain> (raw)
In-Reply-To: <20040526224528.4700.qmail@web51301.mail.yahoo.com>
On Mer, 2004-05-26 at 23:45, Tommy McCabe wrote:
> Swapping, in theory, is actually quite simple. The
> memory is borken up into fixed-size pages, or
> segments, or whatever you want to call them. Instead
That is paging in conventional terminology. Actually to be
honest there are two divides here and even the PDP-11 used
elements of both
Firstly older processors could not restart a faulting instruction
perfectly. Eg if you did
"move block of 32 bytes from x to y"
you didn't know how much was copied when it faulted. Worse still
instructions that did the post increment/decrement might or might
not have changed the values. The 8086 is in this category, the 80286
is [with sufficient care] not.
Many systems that did have paging hardware but this limit used the
paging hardware for memory defragmentation only. It was necessary to
load all of a program into memory to run it, as it couldn't be allowed
to fault (because the fault could not be recovered)
The other difference is by fixed v variable size). Paging traditionally
means fixed size blocks and not loading all the program into memory at
once. Works a treat on a 386, not useful on a 286. In the 286 world
instead you have to work with variable sized segments being written to
or from disk, but you could in 286PM but not on 8086 load only some
segments into memory and load others on the fault.
next prev parent reply other threads:[~2004-05-27 18:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-26 22:45 Swapping Tommy McCabe
2004-05-27 18:45 ` Alan Cox [this message]
2004-05-28 7:52 ` Swapping Gábor Lénárt
2004-05-28 14:56 ` Swapping Tommy McCabe
2004-05-28 15:01 ` Swapping Gábor Lénárt
2004-06-03 22:36 ` Swapping Alan Cox
2004-06-04 7:38 ` Swapping Gábor Lénárt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1085683506.24752.22.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-8086@vger.kernel.org \
--cc=rocketjet314@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox