linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] memcg: fix memcg resource limit overflow issues
@ 2013-08-02  3:25 Qiang Huang
  2013-08-02  3:25 ` [PATCH v2 1/4] memcg: correct RESOURCE_MAX to ULLONG_MAX Qiang Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Qiang Huang @ 2013-08-02  3:25 UTC (permalink / raw)
  To: akpm
  Cc: mhocko, lizefan, handai.szj, handai.szj, jeff.liu, nishimura,
	cgroups, linux-mm

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>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-02  3:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02  3:25 [PATCH v2 0/4] memcg: fix memcg resource limit overflow issues Qiang Huang
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

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).