linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Robin Holt <holt@sgi.com>
To: linux-mm@kvack.org
Subject: Is there a way to do an architecture specific shake of memory?
Date: Tue, 8 Mar 2005 15:15:35 -0600	[thread overview]
Message-ID: <20050308211535.GB16061@lnx-holt.americas.sgi.com> (raw)

I am in the process of fixing the quicklist handling for the ia64 page
tables.  The problem we are running into is the quicklists are per-cpu.
When memory is running short, the only current callout to shrink the
quicklist is coming from cpu_idle().  The most recent suggestion is to
schedule_delayed_work_on() for every cpu in the system and have them
check to see if the quicklist needs to be shrunk.  This feels wrong.

What I would like to do is have wakup_kswapd(), kswapd() or
balance_pdgat() do the actual call to smp_call_function_single() as
needed to try to shrink the quicklists.  This would need to be an ia64
only change.  Is there already a method for the architecture to get
control during any part of the process?  If not, where would be the most
acceptable place?

Any suggestions are welcome.

Thanks,
Robin Holt
--
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:[~2005-03-08 21:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-08 21:15 Robin Holt [this message]
2005-03-09  2:35 ` Christoph Lameter
2005-03-09 12:14   ` Robin Holt

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=20050308211535.GB16061@lnx-holt.americas.sgi.com \
    --to=holt@sgi.com \
    --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