public inbox for cgroups@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] memcg: fix memcg resource limit overflow issues
@ 2013-07-31  7:31 Qiang Huang
       [not found] ` <1375255885-10648-1-git-send-email-h.huangqiang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 20+ messages in thread
From: Qiang Huang @ 2013-07-31  7:31 UTC (permalink / raw)
  To: cgroups-u79uwXL29TY76Z2rM5mHXA, linux-mm-Bw31MaZKKs3YtjvyW6yDsg
  Cc: handai.szj-3b8fjiQLQpfQT0dZR+AlfA, lizefan-hv44wF8Li93QT0dZR+AlfA,
	nishimura-YQH0OdQVrdy45+QrQBaojngSJqDPrsil,
	akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b, mhocko-AlSwsSmVLrQ,
	jeff.liu-QHcLZuEGTsvQT0dZR+AlfA

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.

Qiang Huang (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


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

end of thread, other threads:[~2013-07-31 10:04 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-31  7:31 [PATCH 0/4] memcg: fix memcg resource limit overflow issues Qiang Huang
     [not found] ` <1375255885-10648-1-git-send-email-h.huangqiang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-07-31  7:31   ` [PATCH 1/4] memcg: correct RESOURCE_MAX to ULLONG_MAX Qiang Huang
     [not found]     ` <1375255885-10648-2-git-send-email-h.huangqiang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-07-31  8:00       ` Michal Hocko
2013-07-31  7:31   ` [PATCH 2/4] memcg: rename RESOURCE_MAX to RES_COUNTER_MAX Qiang Huang
2013-07-31  8:02     ` Michal Hocko
2013-07-31  7:31   ` [PATCH 3/4] memcg: avoid overflow caused by PAGE_ALIGN Qiang Huang
2013-07-31  8:14     ` Michal Hocko
2013-07-31  7:31   ` [PATCH 4/4] memcg: reduce function dereference Qiang Huang
2013-07-31  8:20     ` Michal Hocko
2013-07-31  8:23   ` [PATCH 0/4] memcg: fix memcg resource limit overflow issues Sha Zhengju
     [not found]     ` <CAFj3OHX4WLaecyE_zFbnFKs9wrCWTq2eDAUDMxqPg8=TYt18gg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-31  8:51       ` Qiang Huang
     [not found]         ` <51F8D016.4090009-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-07-31  8:54           ` Li Zefan
     [not found]             ` <51F8D0E1.4010007-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-07-31  9:02               ` Qiang Huang
2013-07-31  9:34             ` Jeff Liu
2013-07-31  9:51               ` Li Zefan
2013-07-31  9:39             ` Sha Zhengju
2013-07-31  9:50               ` Michal Hocko
     [not found]                 ` <20130731095010.GA5012-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2013-07-31 10:04                   ` Sha Zhengju
     [not found]               ` <CAFj3OHUEVM+BtoYS8wbXRU42Q8_=1X5qaQm7QY8oBc=ONAdfOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-31  9:51                 ` Qiang Huang
2013-07-31  9:28           ` Sha Zhengju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox