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

2019-08-01 Thread Jan Hadrava
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

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

2019-08-01 Thread Jan Hadrava
On Thu, Aug 01, 2019 at 04:06:10PM +0200, Michal Hocko wrote: > On Thu 01-08-19 15:42:50, Jan Hadrava wrote: > > There seems to be a bug in mm/vmscan.c shrink_slab function when kernel is > > compilled with CONFIG_MEMCG=y and it is then disabled at boot with > > comm

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

2019-08-01 Thread Jan Hadrava
There seems to be a bug in mm/vmscan.c shrink_slab function when kernel is compilled with CONFIG_MEMCG=y and it is then disabled at boot with commandline parameter cgroup_disable=memory. SLABs are then not getting shrinked if the system memory is consumed by userspace. This issue is present in