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


Groups > linux.kernel > #1346979

Re: [PATCH 1/2] mm: memcontrol: cleanup css_reset callback

From Johannes Weiner <hannes@cmpxchg.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] mm: memcontrol: cleanup css_reset callback
Date 2016-03-01 21:00 +0100
Message-ID <r7YCD-5hG-27@gated-at.bofh.it> (permalink)
References <r7Qvo-8px-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 01, 2016 at 02:13:12PM +0300, Vladimir Davydov wrote:
>  - Do not take memcg_limit_mutex for resetting limits - the cgroup
>    cannot be altered from userspace anymore, so no need to protect them.
> 
>  - Use plain page_counter_limit() for resetting ->memory and ->memsw
>    limits instead of mem_cgrouop_resize_* helpers - we enlarge the
>    limits, so no need in special handling.
> 
>  - Reset ->swap and ->tcpmem limits as well.
> 
> Signed-off-by: Vladimir Davydov <vdavydov@virtuozzo.com>

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] mm: memcontrol: cleanup css_reset callback Vladimir Davydov <vdavydov@virtuozzo.com> - 2016-03-01 12:20 +0100
  Re: [PATCH 1/2] mm: memcontrol: cleanup css_reset callback Michal Hocko <mhocko@kernel.org> - 2016-03-01 17:10 +0100
  Re: [PATCH 1/2] mm: memcontrol: cleanup css_reset callback Johannes Weiner <hannes@cmpxchg.org> - 2016-03-01 21:00 +0100

csiph-web