From: Qiang Huang <h.huangqiang@huawei.com>
To: akpm@linux-foundation.org
Cc: mhocko@suse.cz, lizefan@huawei.com, handai.szj@taobao.com,
handai.szj@gmail.com, jeff.liu@oracle.com,
nishimura@mxp.nes.nec.co.jp, cgroups@vger.kernel.org,
linux-mm@kvack.org
Subject: [PATCH v2 0/4] memcg: fix memcg resource limit overflow issues
Date: Fri, 2 Aug 2013 11:25:29 +0800 [thread overview]
Message-ID: <1375413933-10732-1-git-send-email-h.huangqiang@huawei.com> (raw)
This issue is first discussed in:
http://marc.info/?l=linux-mm&m=136574878704295&w=2
Then a second version sent to:
http://marc.info/?l=linux-mm&m=136776855928310&w=2
We contacted Sha a month ago, she seems have no time to deal with it
recently, but we quite need this patch. So I modified and resent it.
Changes from v1:
* Added From: Sha Zhengju <handai.szj@taobao.com>
(Sorry for the omission in the first version)
* Added Acked-by and Reviewed-by from Michal
Sha Zhengju (4):
memcg: correct RESOURCE_MAX to ULLONG_MAX
memcg: rename RESOURCE_MAX to RES_COUNTER_MAX
memcg: avoid overflow caused by PAGE_ALIGN
memcg: reduce function dereference
include/linux/res_counter.h | 2 +-
kernel/res_counter.c | 25 ++++++++++++++++---------
mm/memcontrol.c | 4 ++--
net/ipv4/tcp_memcontrol.c | 10 +++++-----
4 files changed, 24 insertions(+), 17 deletions(-)
--
1.8.3
--
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:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2013-08-02 3:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-02 3:25 Qiang Huang [this message]
2013-08-02 3:25 ` [PATCH v2 1/4] memcg: correct RESOURCE_MAX to ULLONG_MAX Qiang Huang
2013-08-02 3:25 ` [PATCH v2 2/4] memcg: rename RESOURCE_MAX to RES_COUNTER_MAX Qiang Huang
2013-08-02 3:25 ` [PATCH v2 3/4] memcg: avoid overflow caused by PAGE_ALIGN Qiang Huang
2013-08-02 3:25 ` [PATCH v2 4/4] memcg: reduce function dereference Qiang Huang
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=1375413933-10732-1-git-send-email-h.huangqiang@huawei.com \
--to=h.huangqiang@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=cgroups@vger.kernel.org \
--cc=handai.szj@gmail.com \
--cc=handai.szj@taobao.com \
--cc=jeff.liu@oracle.com \
--cc=linux-mm@kvack.org \
--cc=lizefan@huawei.com \
--cc=mhocko@suse.cz \
--cc=nishimura@mxp.nes.nec.co.jp \
/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).