On Tue, Jun 11, 2019 at 10:07:54PM -0700, Yang Shi wrote:
So, if kmem is disabled, it will not be called, right? Then it is
On 6/11/19 7:52 PM, Kirill A. Shutemov wrote:
On Fri, Jun 07, 2019 at 02:07:39PM +0800, Yang Shi wrote:No, it doesn't break bisectability. But, THP shrinker just can be called
Currently shrinker is just allocated and can work when memcg kmem isLooks like it breaks bisectability. It has to be done before makeing
enabled. But, THP deferred split shrinker is not slab shrinker, it
doesn't make too much sense to have such shrinker depend on memcg kmem.
It should be able to reclaim THP even though memcg kmem is disabled.
Introduce a new shrinker flag, SHRINKER_NONSLAB, for non-slab shrinker,
i.e. THP deferred split shrinker. When memcg kmem is disabled, just
such shrinkers can be called in shrinking memcg slab.
shrinker memcg-aware, hasn't it?
with kmem charge enabled without this patch.
regression in my opinion. This patch has to go in before 2/4.