From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f199.google.com (mail-qk0-f199.google.com [209.85.220.199]) by kanga.kvack.org (Postfix) with ESMTP id 236646B0003 for ; Thu, 2 Aug 2018 13:26:17 -0400 (EDT) Received: by mail-qk0-f199.google.com with SMTP id 17-v6so2649927qkz.15 for ; Thu, 02 Aug 2018 10:26:17 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id e10-v6sor1175329qvd.60.2018.08.02.10.26.14 for (Google Transport Security); Thu, 02 Aug 2018 10:26:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <153320759911.18959.8842396230157677671.stgit@localhost.localdomain> From: Yang Shi Date: Thu, 2 Aug 2018 10:26:14 -0700 Message-ID: Subject: Re: [PATCH] mm: Move check for SHRINKER_NUMA_AWARE to do_shrink_slab() Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Shakeel Butt Cc: Kirill Tkhai , Andrew Morton , Vladimir Davydov , Michal Hocko , Andrey Ryabinin , Huang Ying , Tetsuo Handa , Matthew Wilcox , jbacik@fb.com, Linux MM , LKML On Thu, Aug 2, 2018 at 9:54 AM, Shakeel Butt wrote: > On Thu, Aug 2, 2018 at 9:47 AM Yang Shi wrote: >> >> On Thu, Aug 2, 2018 at 4:00 AM, Kirill Tkhai wrote: >> > In case of shrink_slab_memcg() we do not zero nid, when shrinker >> > is not numa-aware. This is not a real problem, since currently >> > all memcg-aware shrinkers are numa-aware too (we have two: >> >> Actually, this is not true. huge_zero_page_shrinker is NOT numa-aware. >> deferred_split_shrinker is numa-aware. >> > > But both huge_zero_page_shrinker and huge_zero_page_shrinker are not > memcg-aware shrinkers. I think Kirill is saying all memcg-aware > shrinkers are also numa-aware shrinkers. Aha, thanks for reminding. Yes, I missed that memcg-aware part. > > Shakeel