The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: davidsen@tmr.com (bill davidsen)
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH][2.6] No swapping on memory backed swapfiles
Date: 16 Oct 2003 21:31:46 GMT	[thread overview]
Message-ID: <bmn2o2$il9$1@gatekeeper.tmr.com> (raw)
In-Reply-To: 200310130832.h9D8WJ4g000157@81-2-122-30.bradfords.org.uk

In article <200310130832.h9D8WJ4g000157@81-2-122-30.bradfords.org.uk>,
John Bradford  <john@grabjohn.com> wrote:
| Quote from Andrew Morton <akpm@osdl.org>:
| > Zwane Mwaikambo <zwane@arm.linux.org.uk> wrote:
| > >
| > > +	bdi = mapping->backing_dev_info;
| > >  +	if (bdi->memory_backed)
| > >  +		goto bad_swap;
| > >  +
| > 
| > I guess that makes sense, although someone might want to swap onto a
| > ramdisk-backed file just for some testing purpose.
| 
| Or because some RAM is slower than the rest.  This came up a while ago
| on the list.

Something on my "learn how to..." list, I have some systems which are
setup to cache only the first 64MB, and I bet they would run a lot
faster if the rest were used as swap. It is definitely faster with
mem=64 than letting the CPU beat the whole memory.
-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

  parent reply	other threads:[~2003-10-16 21:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-13  7:57 [PATCH][2.6] No swapping on memory backed swapfiles Zwane Mwaikambo
2003-10-13  8:11 ` Andrew Morton
2003-10-13  8:32   ` John Bradford
2003-10-13  9:15     ` Zwane Mwaikambo
2003-10-16 21:31     ` bill davidsen [this message]
2003-10-13  9:05   ` Zwane Mwaikambo
2003-10-13  9:24     ` Andrew Morton
2003-10-13  9:34       ` Zwane Mwaikambo

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='bmn2o2$il9$1@gatekeeper.tmr.com' \
    --to=davidsen@tmr.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