From: Pavel Emelyanov <xemul@parallels.com>
To: lsf-pc@lists.linuxfoundation.org
Cc: James Bottomley <James.Bottomley@suse.de>, Linux MM <linux-mm@kvack.org>
Subject: [LSF/MM TOPIC] Memory controller discussions
Date: Mon, 07 Feb 2011 15:40:41 +0300 [thread overview]
Message-ID: <4D4FE849.5070004@parallels.com> (raw)
Hi.
On the MM sessions I'd like to participate in the memcg discussions.
Topics that are of the most interest to me are:
* kernel memory accounting
* dirty set management
* VM overcommit management
* LRU lists management
The first two issues are already described in respectively [1] and [2].
The 3rd issue was raised many times on the mailing lists, but I haven't
seen whether it was resolved finally and would like to bring it up again.
Now about the 4th one (LRU lists management).
The existing memcg model uses page_cgroup object to track the page to
memcg relation. Each page that belongs to some memcg has that object
allocated.
Such a design doesn't look very elegant from my POV, provides a memory
overhead and makes the mm/vmscan.c code looks not very nice, since each
page lives in up to two LRU lists :\
I wanted to propose the scheme used in the OpenVZ RHEL6-based kernel [3].
Briefly - in that scheme we introduce a lru_lists object which contains
the LRU list heads and statistics for that lists and each page belong so
some lru_list. A new memcg should allocate and use its own new lru_list.
[1] http://marc.info/?l=linux-mm&m=129686460401990
[2] http://marc.info/?l=linux-mm&m=129684641013000
[3] http://community.livejournal.com/openvz/34522.html
--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
reply other threads:[~2011-02-07 12:40 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=4D4FE849.5070004@parallels.com \
--to=xemul@parallels.com \
--cc=James.Bottomley@suse.de \
--cc=linux-mm@kvack.org \
--cc=lsf-pc@lists.linuxfoundation.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