linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jason Papadopoulos <jasonp@boo.net>
To: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [PATCH] page coloring for 2.5.62 kernel, version 1
Date: Sun, 23 Feb 2003 18:49:31 -0500	[thread overview]
Message-ID: <3.0.6.32.20030223184931.00825e30@boo.net> (raw)

Hello again. This version of the page coloring patch implements
"stealth mode", i.e. is as minimal as possible. There are many
cleanups, and a few mods for the 2.5 series kernel.

The biggest change is that the hot/cold per-cpu lists are individually
colored now, and the patch has the effect of randomizing the cache
colors of pages pumped into the per-cpu lists. The lists are still lifo
and still favor pages just freed.

No difference in kernel compile time on the K7 system I have; I suspect
that decoupling allocation of pages from allocation of pages to processes
dilutes the effectiveness of page coloring, but all of the schemes I can
think of to enforce page coloring to processes are much more complicated
than the one used by this patch.

Patch with /proc output:

www.boo.net/~jasonp/page_color-2.5.62-20030223.patch

and without:

www.boo.net/~jasonp/page_color-2.5.62-20030223a.patch

Feedback of any sort welcome.
jasonp
--
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/ .
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>

                 reply	other threads:[~2003-02-23 23:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3.0.6.32.20030223184931.00825e30@boo.net \
    --to=jasonp@boo.net \
    --cc=linux-kernel@vger.kernel.org \
    --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