From: "Mika Penttilä" <mika.penttila@kolumbus.fi>
To: Christoph Lameter <clameter@sgi.com>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: NUMA node swapping V3
Date: Thu, 28 Oct 2004 19:20:11 +0300 [thread overview]
Message-ID: <41811C3B.2020700@kolumbus.fi> (raw)
In-Reply-To: <Pine.LNX.4.58.0410280820500.25586@schroedinger.engr.sgi.com>
> if (pg == orig) {
> z->pageset[cpu].numa_hit++;
>+ /*
>+ * If zone allocation has left less than
>+ * (sysctl_node_swap / 10) % of the zone free invoke kswapd.
>+ * (the page limit is obtained through (pages*limit)/1024 to
>+ * make the calculation more efficient)
>+ */
>+ if (z->free_pages < (z->present_pages * sysctl_node_swap) << 10)
>+ wakeup_kswapd(z);
> } else {
> p->numa_miss++;
> zonelist->zones[0]->pageset[cpu].numa_foreign++;
>Index: linux-2.6.9/kernel/sysctl.c
>===================================================================
>
>
I think you mean >> 10 though.
--Mika
--
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>
next prev parent reply other threads:[~2004-10-28 16:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-28 15:23 Christoph Lameter
2004-10-28 15:40 ` Martin J. Bligh
2004-10-28 15:49 ` Christoph Lameter
2004-10-28 16:20 ` Mika Penttilä [this message]
2004-10-28 20:45 ` Christoph Lameter
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=41811C3B.2020700@kolumbus.fi \
--to=mika.penttila@kolumbus.fi \
--cc=akpm@osdl.org \
--cc=clameter@sgi.com \
--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