aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorVladimir Davydov <vdavydov@parallels.com>2015-09-22 14:59:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-22 15:09:53 -0700
commitd5028f9f7d8de5c375c52b98976b6f310e73398f (patch)
treef890e8ebe10bbfbf2252de20d1fb9d60c1b425b8 /tools/testing
parentlib/iommu-common.c: do not try to deref a null iommu->lazy_flush() pointer when n < pool->hint (diff)
downloadlinux-dev-d5028f9f7d8de5c375c52b98976b6f310e73398f.tar.xz
linux-dev-d5028f9f7d8de5c375c52b98976b6f310e73398f.zip
vmscan: fix sane_reclaim helper for legacy memcg
The sane_reclaim() helper is supposed to return false for memcg reclaim if the legacy hierarchy is used, because the latter lacks dirty throttling mechanism, and so it did before it was accidentally broken by commit 33398cf2f360c ("memcg: export struct mem_cgroup"). Fix it. Fixes: 33398cf2f360c ("memcg: export struct mem_cgroup") Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Acked-by: Tejun Heo <tj@kernel.org> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions