Re: [BUG]: mm/vmscan.c: shrink_slab does not work correctly with memcg disabled via commandline

From: Yang Shi
Date: Thu Aug 01 2019 - 17:10:37 EST




On 8/1/19 10:46 AM, Jan Hadrava wrote:
On Thu, Aug 01, 2019 at 06:32:13PM +0200, Michal Hocko wrote:
On Thu 01-08-19 17:54:34, Jan Hadrava wrote:
Just to be sure, i run my tests and patch proposed in the original thread
solves my issue in all four affected stable releases:
Cc Andrew.
Are you sure? I can't see any change in e-mail headers.

Cc'ed Andrew.


I assume we can assume your Tested-by tag?
Well, these test only checked, that bug is present without the patch
and disappears after applying it. Anyway: I am ok with it.

Thanks for testing it. I think you ran into the similar pre-mature OOM issue as what Shakeel reported.

Andrew,

The patch has been in -mm tree (mm-vmscan-check-if-mem-cgroup-is-disabled-or-not-before-calling-memcg-slab-shrinker.patch), it seems we'd better to get this fix in the upcoming 5.3-rc so that it could get into stable release soon.