linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: David Jander <david.jander@protonic.nl>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: fix swapping on 8xx?
Date: Tue, 8 Nov 2005 10:56:58 -0700	[thread overview]
Message-ID: <20051108175658.GO3839@smtp.west.cox.net> (raw)
In-Reply-To: <200511081259.26525.david.jander@protonic.nl>

On Tue, Nov 08, 2005 at 01:59:26PM +0200, David Jander wrote:
> On Tuesday 08 November 2005 01:55, Dan Malek wrote:
> > On Nov 7, 2005, at 10:10 AM, Marcelo Tosatti wrote:
> > > The following is an attempt to fix swapping on 8xx by not touching
> > > _PAGE_ACCESSED bit if the page is not present.
> >
> > Ugh ....  I suppose.  I hate assembler code macros .......
> > Somehow, "swapping" and "8xx" just don't belong together.
> 
> Well, at least it sounds ugly together, but it is also at least conceiveable. 
> There seem to be people who use PCMCIA for an IDE interface, so swapping may 
> become desireable in some cases.

I think Dan might be in the camp that says a properly designed embedded
system won't need to swap.  And when I hear about how people do try and
swap on systems like this, I really start agreeing.  Maybe we could make
8xx just select SWAP=n? :)

> > I'm tempted to add a configuration option that is the complete
> > opposite of this and assumes are really embedded system.
> > Mark pages as always accessed, data pages as always dirty,
> > and you can eliminate lots of TLB faults in systems that are
> > fairly static.
> 
> It sounds tempting indeed, but should you really notice a performance increase 
> out of this?

Compared to 8xx in 2.6 today?  Absolutely.

-- 
Tom Rini
http://gate.crashing.org/~trini/

  reply	other threads:[~2005-11-08 17:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07 15:10 fix swapping on 8xx? Marcelo Tosatti
2005-11-08  0:55 ` Dan Malek
2005-11-08 11:59   ` David Jander
2005-11-08 17:56     ` Tom Rini [this message]
2005-11-08 18:57       ` Dan Malek
2005-11-08 19:44         ` David Jander
2005-11-08 20:56           ` Wolfgang Denk
2005-11-08 20:52       ` Wolfgang Denk
2005-11-08 21:02         ` Tom Rini
2005-11-08 22:46           ` Wolfgang Denk
2005-11-08 23:20             ` Dan Malek
2005-11-08 22:30         ` Dan Malek
2005-11-09 11:21       ` Marcelo Tosatti

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=20051108175658.GO3839@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=david.jander@protonic.nl \
    --cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).