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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 521EFC10DCE for ; Wed, 18 Mar 2020 12:52:25 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 284FF2076D for ; Wed, 18 Mar 2020 12:52:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 284FF2076D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E42886B0003; Wed, 18 Mar 2020 08:52:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DF3966B0005; Wed, 18 Mar 2020 08:52:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D08B06B0006; Wed, 18 Mar 2020 08:52:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0108.hostedemail.com [216.40.44.108]) by kanga.kvack.org (Postfix) with ESMTP id B66076B0003 for ; Wed, 18 Mar 2020 08:52:23 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 66B9E181AEF07 for ; Wed, 18 Mar 2020 12:52:23 +0000 (UTC) X-FDA: 76608471366.21.wrist09_893b2da0b0605 X-HE-Tag: wrist09_893b2da0b0605 X-Filterd-Recvd-Size: 2090 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Wed, 18 Mar 2020 12:52:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B1303B029; Wed, 18 Mar 2020 12:52:18 +0000 (UTC) Date: Wed, 18 Mar 2020 13:52:16 +0100 From: Michal Hocko To: Vlastimil Babka Cc: Srikar Dronamraju , Andrew Morton , linux-mm@kvack.org, Mel Gorman , Michael Ellerman , Sachin Sant , Christopher Lameter , linuxppc-dev@lists.ozlabs.org, Joonsoo Kim , Kirill Tkhai , Bharata B Rao , Nathan Lynch Subject: Re: [PATCH v2 1/4] mm: Check for node_online in node_present_pages Message-ID: <20200318125216.GM21362@dhcp22.suse.cz> References: <20200318072810.9735-1-srikar@linux.vnet.ibm.com> <20200318072810.9735-2-srikar@linux.vnet.ibm.com> <20200318100256.GH21362@dhcp22.suse.cz> <2d7c55ed-0f67-bd47-e478-9726734abcc9@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2d7c55ed-0f67-bd47-e478-9726734abcc9@suse.cz> 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 Wed 18-03-20 12:53:32, Vlastimil Babka wrote: [...] > Yes. So here's an alternative proposal for fixing the current situation in SLUB, > before the long-term solution of having all possible nodes provide valid pgdat > with zonelists: > > - fix SLUB with the hunk at the end of this mail - the point is to use NUMA_NO_NODE > as fallback instead of node_to_mem_node() I am not familiar with SLUB to review. > - this removes all uses of node_to_mem_node (luckily it's just SLUB), > kill it completely instead of trying to fix it up Sounds like a good plan to me. The code shouldn't really care. -- Michal Hocko SUSE Labs