From: Rik van Riel <riel@conectiva.com.br>
To: Mike Galbraith <mikeg@wen-online.de>
Cc: Ulrich Kunitz <gefm21@uumail.de>,
linux-kernel@vger.kernel.org, linux-mm@vger.kernel.org
Subject: Re: [PATCH] tiny MM performance and typo patches for 2.4.2
Date: Mon, 5 Mar 2001 11:20:18 -0300 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.21.0103051115560.5591-100000@imladris.rielhome.conectiva> (raw)
In-Reply-To: <Pine.LNX.4.33.0103050823320.1034-100000@mikeg.weiden.de>
On Mon, 5 Mar 2001, Mike Galbraith wrote:
> On Sun, 4 Mar 2001, Ulrich Kunitz wrote:
>
> > patch-uk2 makes use of the pgd, pmd and pte quicklists for x86 too;
> > risky: there might be a reason that 2.4.x doesn't use the
> > quicklists.
>
> I remember these being taken out (long ago), but not why. Anyone?
They probably wasted too much memory ...
Having _2_ quicklists per CPU (on SMP) is probably the way
to go: one with zeroed pages and one with non-zeroed pages.
This should avoid cache contention in __alloc_pages() and
also avoid unneeded zeroing of pages (when we put away a
zeroed page, eg. an freed pagetable page).
On UP we probably want a (smaller) freelist with zeroed
pages only, since that means we can keep more pages on the
inactive_clean list.
regards,
Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...
http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com.br/
prev parent reply other threads:[~2001-03-05 15:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-04 21:49 [PATCH] tiny MM performance and typo patches for 2.4.2 Ulrich Kunitz
2001-03-04 21:55 ` David S. Miller
2001-03-05 0:29 ` Rik van Riel
2001-03-05 7:25 ` Mike Galbraith
2001-03-05 14:20 ` Rik van Riel [this message]
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=Pine.LNX.4.21.0103051115560.5591-100000@imladris.rielhome.conectiva \
--to=riel@conectiva.com.br \
--cc=gefm21@uumail.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@vger.kernel.org \
--cc=mikeg@wen-online.de \
/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).