Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1455133 > unrolled thread

Re: [PATCH v2 2/3] mm: memcontrol: fix memcg id ref counter on swap charge move

Started byJohannes Weiner <hannes@cmpxchg.org>
First post2016-08-02 19:30 +0200
Last post2016-08-02 19:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 2/3] mm: memcontrol: fix memcg id ref counter on swap  charge move Johannes Weiner <hannes@cmpxchg.org> - 2016-08-02 19:30 +0200

#1455133 — Re: [PATCH v2 2/3] mm: memcontrol: fix memcg id ref counter on swap charge move

FromJohannes Weiner <hannes@cmpxchg.org>
Date2016-08-02 19:30 +0200
SubjectRe: [PATCH v2 2/3] mm: memcontrol: fix memcg id ref counter on swap charge move
Message-ID<s1LFU-7yq-41@gated-at.bofh.it>
On Tue, Aug 02, 2016 at 06:00:49PM +0300, Vladimir Davydov wrote:
> Since commit 73f576c04b941 swap entries do not pin memcg->css.refcnt
> directly. Instead, they pin memcg->id.ref. So we should adjust the
> reference counters accordingly when moving swap charges between cgroups.
> 
> Fixes: 73f576c04b941 ("mm: memcontrol: fix cgroup creation failure after many small jobs")
> Signed-off-by: Vladimir Davydov <vdavydov@virtuozzo.com>
> Acked-by: Michal Hocko <mhocko@suse.com>
> Cc: <stable@vger.kernel.org>	[3.19+]

Acked-by: Johannes Weiner <hannes@cmpxchg.org>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web