From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.3 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE7BBC2D0DB for ; Fri, 31 Jan 2020 17:23:08 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8842620663 for ; Fri, 31 Jan 2020 17:23:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="RfdjNZQ8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8842620663 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D145F6B05CC; Fri, 31 Jan 2020 12:23:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id CC5186B05CD; Fri, 31 Jan 2020 12:23:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BDA7D6B05CE; Fri, 31 Jan 2020 12:23:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0161.hostedemail.com [216.40.44.161]) by kanga.kvack.org (Postfix) with ESMTP id A87836B05CC for ; Fri, 31 Jan 2020 12:23:07 -0500 (EST) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 714572825 for ; Fri, 31 Jan 2020 17:23:07 +0000 (UTC) X-FDA: 76438600014.20.pies06_385718200af5e X-HE-Tag: pies06_385718200af5e X-Filterd-Recvd-Size: 3726 Received: from mail-ot1-f66.google.com (mail-ot1-f66.google.com [209.85.210.66]) by imf38.hostedemail.com (Postfix) with ESMTP for ; Fri, 31 Jan 2020 17:23:07 +0000 (UTC) Received: by mail-ot1-f66.google.com with SMTP id 77so7294726oty.6 for ; Fri, 31 Jan 2020 09:23:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=i3eHMCz/DL6XKCObRC8HT/xmU629kDpPS8BllHn4ZIY=; b=RfdjNZQ8bvVaoDW2tBkd8ObQ3Df9woPqcG7rD/P+yVDUgwHYVdnqTf4wS4vGpje/oC 52ZUxHE8y1eWjgokzZYU5XyHdbFpYVeaRdRV563u/ybcsOLHxvX2BCbHswAXRSSNQDR9 tWA3HIDcws9ikr3dLiqNxpTZBgowoMcAThnMmpzS6zSbTO5VEIBYBr1Jad9GM4hwOg3I DMYgKPOLMOH3+LKOVMgUewrLau/1PnSh76EwG0Mz0zSt8T/lBsDUVK9WAy3SXX2tuW2+ oXnXx1JsfIw60HJW8QNnBt2Nt2IshNfYLAMoCxPm66143Rh2iLzmTAv+SwRmWam6KxfT qTkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i3eHMCz/DL6XKCObRC8HT/xmU629kDpPS8BllHn4ZIY=; b=aAt9Q87fhtaep7WtgyEwBD2ikyA6BStSE4jPOQpaWw4fBEXiZEBoiuhvpXpgQJkiA/ cGp6xneP7UwNlRoP0uyFwzWyoA5BqFpOTktxz44cK/E3G3Jlb8s5riqoPNnYdMfbCiU4 RaobiD1yo1ezVlxYTSYRPuYp4ejNJWFjntEDfmCYzrGLOwrP7G5HQSN6xdQH8P71oIal z2JCNg5FllcPUonpZWgU7QykqLmncde5/g1XWD9/h7yTvqh6QqxFpjoU9Mf/6KOOp0MW 0om9W1J7Myji2Yq6I64MVYiHu73NQJGPBie2csKW8oabOCRZTcc1Dvh34EFT5vJbbfVT QZ3g== X-Gm-Message-State: APjAAAUSUukyZmJ2skm4W37tYSGwPuseDvx+9QDKD15DcA21Td/lWquk 65e8hVsWLliBOoFTwE7hH8r9S2yMarZFbZu4EuhPMQ== X-Google-Smtp-Source: APXvYqztAPaGUr9zCgUHGpLpgenSB+fGB0gVHJN1+1lSaDoBA4wWnW6i/5S0y4QNkI/2168d8JE9oH99Yij15pqQkcg= X-Received: by 2002:a05:6830:10d5:: with SMTP id z21mr8900368oto.30.1580491386018; Fri, 31 Jan 2020 09:23:06 -0800 (PST) MIME-Version: 1.0 References: <158047248934.390127.5043060848569612747.stgit@localhost.localdomain> <5f3fc9a9-9a22-ccc3-5971-9783b60807bc@virtuozzo.com> <20200131154735.GA4520@dhcp22.suse.cz> <20200131160151.GB4520@dhcp22.suse.cz> In-Reply-To: From: Shakeel Butt Date: Fri, 31 Jan 2020 09:22:55 -0800 Message-ID: Subject: Re: [PATCH v3] mm: Allocate shrinker_map on appropriate NUMA node To: Kirill Tkhai Cc: Michal Hocko , David Hildenbrand , Andrew Morton , Johannes Weiner , Vladimir Davydov , Linux MM , LKML Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Jan 31, 2020 at 8:09 AM Kirill Tkhai wrote: > > mm: Allocate shrinker_map on appropriate NUMA node > > From: Kirill Tkhai > > Despite shrinker_map may be touched from any cpu > (e.g., a bit there may be set by a task running > everywhere); kswapd is always bound to specific > node. So, we will allocate shrinker_map from > related NUMA node to respect its NUMA locality. > Also, this follows generic way we use for allocation > memcg's per-node data. > > Signed-off-by: Kirill Tkhai Reviewed-by: Shakeel Butt