LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Bodo Eggert <7eggert@gmx.de>
To: Ethan Solomita <solo@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
"Eric W. Biederman" <ebiederm@xmission.com>,
containers@lists.osdl.org, linux-kernel@vger.kernel.org,
Dave Hansen <hansendc@us.ibm.com>
Subject: Re: Linux-VServer example results for sharing vs. separate mappings ...
Date: Thu, 29 Mar 2007 09:24:43 +0200 [thread overview]
Message-ID: <E1HWozz-0000gh-By@be1.lrz> (raw)
In-Reply-To: 83v9d-3kf-1@gated-at.bofh.it
Ethan Solomita <solo@google.com> wrote:
> I suggest a variant on what Andrew says: don't change reclaim.
> Instead, when referencing a page, don't mark the page as referenced if
> the current task is not permitted to allocate from the page's node. I'm
> thinking in terms of cpusets, with each task having a nodemask of
> mems_allowed. This may result in a page being thrown out unnecessarily
> and brought back in from disk, but when memory is tight that is what
> happens. An optimization might be to keep track of who is referencing
> the page and migrate it to their memory instead of reclaiming it, but
> that would require reclaim to know the task/cpuset/container of the
> referencing task.
If you are neaar reclaim and the page from that other node hasn't been
touched recently, maybe you could steal it. Off cause this is only
applicable if the checks are cheap enough.
--
Funny quotes:
40. Isn't making a smoking section in a restaurant like making a peeing
section in a swimming pool?
Friß, Spammer: t8nfgqx@jI9y.7eggert.dyndns.org uScowqPjo@i.7eggert.dyndns.org
next parent reply other threads:[~2007-03-29 7:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <81XMo-Fl-19@gated-at.bofh.it>
[not found] ` <827iC-6DZ-7@gated-at.bofh.it>
[not found] ` <82jjS-89s-11@gated-at.bofh.it>
[not found] ` <82l2j-2lv-11@gated-at.bofh.it>
[not found] ` <82qEC-2yM-9@gated-at.bofh.it>
[not found] ` <83v9d-3kf-1@gated-at.bofh.it>
2007-03-29 7:24 ` Bodo Eggert [this message]
2007-03-23 19:30 Linux-VServer example results for sharing vs. separate mappings Herbert Poetzl
2007-03-24 5:42 ` Andrew Morton
2007-03-24 18:38 ` Herbert Poetzl
2007-03-24 20:19 ` Andrew Morton
2007-03-25 2:21 ` Herbert Poetzl
2007-03-25 4:29 ` Andrew Morton
2007-03-25 14:40 ` Herbert Poetzl
2007-03-28 1:22 ` Ethan Solomita
2007-03-25 9:50 ` Balbir Singh
2007-03-25 18:51 ` Andrew Morton
2007-03-26 2:36 ` Balbir Singh
2007-03-26 5:26 ` Andrew Morton
2007-03-26 6:05 ` Balbir Singh
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=E1HWozz-0000gh-By@be1.lrz \
--to=7eggert@gmx.de \
--cc=akpm@linux-foundation.org \
--cc=containers@lists.osdl.org \
--cc=ebiederm@xmission.com \
--cc=hansendc@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=solo@google.com \
/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).