Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1453706
| From | Mel Gorman <mgorman@techsingularity.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mm: vmscan: fix memcg-aware shrinkers not called on global reclaim |
| Date | 2016-08-02 11:40 +0200 |
| Message-ID | <s1El3-2B6-23@gated-at.bofh.it> (permalink) |
| References | <s1lip-6Ns-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 01, 2016 at 04:03:10PM +0300, Vladimir Davydov wrote:
> We must call shrink_slab() for each memory cgroup on both global and
> memcg reclaim in shrink_node_memcg(). Commit d71df22b55099 accidentally
> changed that so that now shrink_slab() is only called with memcg != NULL
> on memcg reclaim. As a result, memcg-aware shrinkers (including
> dentry/inode) are never invoked on global reclaim. Fix that.
>
> Fixes: d71df22b55099 ("mm, vmscan: begin reclaiming pages on a per-node basis")
> Signed-off-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
--
Mel Gorman
SUSE Labs
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] mm: vmscan: fix memcg-aware shrinkers not called on global reclaim Mel Gorman <mgorman@techsingularity.net> - 2016-08-02 11:40 +0200
csiph-web