linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Scott Kaplan <sfkaplan@cs.amherst.edu>
To: linux-mm@kvack.org
Subject: Avoiding the highmem mess
Date: Fri, 30 Aug 2002 17:54:09 -0400	[thread overview]
Message-ID: <0334AD85-BC63-11D6-B00B-000393829FA4@cs.amherst.edu> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Folks,

As I've mentioned before, I'm trying to do some basic experiments using 
the Linux VM.  Part of doing these experiments will involve reverting the 
kernel to a more ``classic'' kind of structure:  A SEGQ layout where the 
active pages are managed by a CLOCK algorithm, and the inactive pages are 
kept in an LRU queue and are marked ``not present'' so that references to 
them generate a trap.  Critically, I don't aim to produce a kernel that 
will work on non-x86 platforms, let alone NUMA machines or even (at least 
initially) multiprocessor machines.  I want to do some experiments where 
the heart of the matter lies in testing single-processor management.  
(Back to basics!)

SO!  To that end, I'd like to avoid the ZONE_HIGHMEM mess.  It seems oddly 
done, and creates new kinds of contention between pools of pages that I 
don't want polluting my experiments.  (That's not to say that I don't 
think it's a problem worth solving -- it's just not *the* problem that *I*
  want to examine just yet.)

Is there an easy way to avoid ZONE_HIGHMEM?  Is it as easy as avoiding 
machines that have more than 1 GB of physical memory so that only 
ZONE_NORMAL is used?  I'd be happy to just use ZONE_NORMAL (and ZONE_DMA, 
which I'm not all that worried about here) and have my experimental code 
fail to support machines with more than 1 GB.  Later I may want to fix 
that, but I need to start with something simple and comprehensible.

Tips?  Feedback?  Your commentary is greatly appreciated...
Scott
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE9b+mE8eFdWQtoOmgRAtVbAJ45HVBGz6BsDAEaoMQ8sDPSIIUtlACgjNFX
V7wxeT5NNPfS4KDmlqJbsIM=
=B0NR
-----END PGP SIGNATURE-----

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

             reply	other threads:[~2002-08-30 21:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-30 21:54 Scott Kaplan [this message]
2002-08-30 21:59 ` Andrew Morton
2002-08-30 22:05 ` William Lee Irwin III

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=0334AD85-BC63-11D6-B00B-000393829FA4@cs.amherst.edu \
    --to=sfkaplan@cs.amherst.edu \
    --cc=linux-mm@kvack.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