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


Groups > linux.kernel > #1319027

Re: [PATCH 3/5] mm: workingset: separate shadow unpacking and refault calculation

From Vladimir Davydov <vdavydov@virtuozzo.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/5] mm: workingset: separate shadow unpacking and refault calculation
Date 2016-01-27 15:40 +0100
Message-ID <qVzqi-4RW-27@gated-at.bofh.it> (permalink)
References <qVj2a-1Dd-17@gated-at.bofh.it> <qVj2a-1Dd-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jan 26, 2016 at 04:00:04PM -0500, Johannes Weiner wrote:
> Per-cgroup thrash detection will need to derive a live memcg from the
> eviction cookie, and doing that inside unpack_shadow() will get nasty
> with the reference handling spread over two functions.
> 
> In preparation, make unpack_shadow() clearly about extracting static
> data, and let workingset_refault() do all the higher-level handling.
> 
> Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>

Reviewed-by: Vladimir Davydov <vdavydov@virtuozzo.com>

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


Thread

[PATCH 0/5] mm: workingset: per-cgroup thrash detection Johannes Weiner <hannes@cmpxchg.org> - 2016-01-26 22:10 +0100
  [PATCH 2/5] mm: workingset: #define radix entry eviction mask Johannes Weiner <hannes@cmpxchg.org> - 2016-01-26 22:10 +0100
    Re: [PATCH 2/5] mm: workingset: #define radix entry eviction mask Vladimir Davydov <vdavydov@virtuozzo.com> - 2016-01-27 15:40 +0100
  [PATCH 3/5] mm: workingset: separate shadow unpacking and refault calculation Johannes Weiner <hannes@cmpxchg.org> - 2016-01-26 22:10 +0100
    Re: [PATCH 3/5] mm: workingset: separate shadow unpacking and  refault calculation Vladimir Davydov <vdavydov@virtuozzo.com> - 2016-01-27 15:40 +0100
  [PATCH 4/5] mm: workingset: eviction buckets for bigmem/lowbit machines Johannes Weiner <hannes@cmpxchg.org> - 2016-01-26 22:10 +0100
    Re: [PATCH 4/5] mm: workingset: eviction buckets for bigmem/lowbit  machines Vladimir Davydov <vdavydov@virtuozzo.com> - 2016-01-27 15:50 +0100
  [PATCH 1/5] mm: memcontrol: generalize locking for the page->mem_cgroup binding Johannes Weiner <hannes@cmpxchg.org> - 2016-01-26 22:10 +0100
    Re: [PATCH 1/5] mm: memcontrol: generalize locking for the  page->mem_cgroup binding Vladimir Davydov <vdavydov@virtuozzo.com> - 2016-01-27 15:40 +0100
  [PATCH 5/5] mm: workingset: per-cgroup cache thrash detection Johannes Weiner <hannes@cmpxchg.org> - 2016-01-26 22:10 +0100
    Re: [PATCH 5/5] mm: workingset: per-cgroup cache thrash detection Vladimir Davydov <vdavydov@virtuozzo.com> - 2016-01-27 16:00 +0100

csiph-web