From: Chuck Ebbert <76306.1226@compuserve.com>
To: John Bradford <john@grabjohn.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Completely new idea to virtual memory
Date: Sat, 12 Apr 2003 05:52:43 -0400 [thread overview]
Message-ID: <200304120554_MC3-1-341A-4160@compuserve.com> (raw)
>> Why not also write pages out to swap before it's really necessary?
>> If they were left mapped but marked as having up-to-date copies
>> on swap, they could be discarded immediately if the system needed
>> memory. (Of course if they got written to they would have to be
>> paged out again.)
>
>Hmmm, interesting...
The gains from this might be largely illusion but you could get some
theoretical benefits:
o could write out lots of pages to swap without having to flush TLBs
like you would if doing normal swap, since page remains present
o if swsusp does not need to write already-backed pages it could
reduce suspend time
Maybe something like this?
if about_to_spin_down_disks || swap_disk_idle
if lots_of_memory_free
page_in
if little_memory_free
copy_pages_to_swap
--
"Let's fight till six, and then have dinner," said Tweedledum.
--Lewis Carroll, _Through the Looking Glass_
next reply other threads:[~2003-04-12 9:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-12 9:52 Chuck Ebbert [this message]
2003-04-12 10:29 ` Nigel Cunningham
2003-04-12 11:10 ` John Bradford
2003-04-12 16:47 Chuck Ebbert
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=200304120554_MC3-1-341A-4160@compuserve.com \
--to=76306.1226@compuserve.com \
--cc=john@grabjohn.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®