Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp332480imu; Fri, 7 Dec 2018 01:42:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/W06HVDGemjO3qPcEke55Fklj1lrxc4GixrEf2zuDSZJf+MfkEBeBnrCWuv7KZfw0fNJ/f9 X-Received: by 2002:a17:902:728c:: with SMTP id d12mr1454964pll.284.1544175758111; Fri, 07 Dec 2018 01:42:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544175758; cv=none; d=google.com; s=arc-20160816; b=wQXLRFZpSntOhX/9pzR8ZJh/GcRfFNvyrgq0ktxNi0toN4U2v0vIn2/z98bUnGJVem Fctnr7zkIeKBOhoMoANGFekH8EdSS5cjvoTOO1tnhBwU98bUAwf4v1yVhXPTk4D747uX JeXViPOfyAnPR1DJednSBRPlpqjlkgzXDxdr2IUwC7A9Nbym1qzUJQgEUxWMdQ7f2YYN 7+3OMr/WS7cvQ2ncsTwFmbefy7KvmRi7de2+VfQIR6sjvmTyXsy28sYvmsTA9kgYMrPd Tv+sMIN9LvY2tIbmIcrJu6mFTOUMq6RnJ7xgtjDKDDALfBqFss4WiDtCOMNWkUtpAbCL PeiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7M378AnH1U4XShbMr3Ac39wbBDDi3n07ADyOSds9Ju8=; b=aI7ssPPqs0hyc5erSExdY9+KVNPDHUyE442eyYkUmURCFCz3yZBsDELsFAfuT8w4yf LT5uULAApDqRPNAWAZM5XBWfxF86QO+BeYTVZZ/M0Rgv+klnNSSZ6bgYa9J2YcUrsiGm JH04KMU0LEKMIaH5ZrQMqMO8BxbIdsR45h+L4UfjODbC4mAACPJmwM+i9z9mf+mGMaCW lZrTa4aNFXXp36jRmhAYxIfuVGTQL8blYCItN0dqIolK/lrg7iNUpn+llqiIm3gBOKM1 /GjF7YQ8JXdLBxGeZfW4bBbHA+vsXbfiuyrF0hV4T6Ka/uxx4DiuhdHih6Mqkb6Y5+LK eN/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j0gqT+Ar; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si2454947plr.403.2018.12.07.01.42.23; Fri, 07 Dec 2018 01:42:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j0gqT+Ar; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726065AbeLGJkY (ORCPT + 99 others); Fri, 7 Dec 2018 04:40:24 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:33217 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725986AbeLGJkY (ORCPT ); Fri, 7 Dec 2018 04:40:24 -0500 Received: by mail-ed1-f67.google.com with SMTP id p6so3199408eds.0 for ; Fri, 07 Dec 2018 01:40:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7M378AnH1U4XShbMr3Ac39wbBDDi3n07ADyOSds9Ju8=; b=j0gqT+ArMztTtfy2OsH0My3mvUb5fCCJYl2f57c7TESIG7Vq9JwE70MBSrXpGxlBF4 XkVcCqVskHL+CD2MCPN3X4N+ZqcXjq9bkWrKi5nzWdRqzJWx45f4OUOXOcMw3nxhJmGW vjPvsPOEVHDfh3x3l96fu8Zdlyg3TwAsGKevrwLAqCL+rQbVnkSZj0eUiZNXHjomL9Xx ERPCW8mjjrwDwc23/kN+1NoY0/tp+2ye4knJm54ZWuE0/nFcLf+nwDKEGD+obp4gP5k+ ntOoCU+CHYsvWJwPipQLi9id1xOO4cENlINwuhwc6zDw7y2j6ItUWNIw8BAsvZiD8xSi RKpQ== 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=7M378AnH1U4XShbMr3Ac39wbBDDi3n07ADyOSds9Ju8=; b=KHj6/1bCHnYIm+DQAzOjisWpgdJeXeNwvym+UQVR0HiIIPpl7sOP08K4bwGM7ijAZL MpssRMjYZw6NNgzyqpRhVZ9h/SUXMW3cvTSppnh+vWSs2Laws/Q/BIi7TD3p5b68idiD m7lKXg14wTQi4Eio39X/a/o88wKM+vexvCHXDc4sumGLXmfUZAtDqpiBXfGPdoUYiyrV VBhYOGAAfxV7ma/tKAQbML+hXvJbAyMgPZ8da/rWuQgDsQH1VQdG+Vw47ayMrYJnUApN MVcKdYha2uXHS2w1yH/uJSoojpPAR7AE+pcch7yKp1ehauBWIrmGkP0cGrUOb17G+6Q1 Vcag== X-Gm-Message-State: AA+aEWaQI+GAbLNb37rqovpQ+Y40j2X+0XGcIQ2NZvcf/D2EEL+juwiJ Oevtio6HtlRdmvDakqM54ETALdrS3VwLhX3TuvCRK60= X-Received: by 2002:a17:906:838e:: with SMTP id p14-v6mr1403121ejx.94.1544175622027; Fri, 07 Dec 2018 01:40:22 -0800 (PST) MIME-Version: 1.0 References: <20181205092148.GA1286@dhcp22.suse.cz> <186b1804-3b1e-340e-f73b-f3c7e69649f5@suse.cz> <20181206082806.GB1286@dhcp22.suse.cz> <20181206121152.GH1286@dhcp22.suse.cz> <20181207075322.GS1286@dhcp22.suse.cz> In-Reply-To: <20181207075322.GS1286@dhcp22.suse.cz> From: Pingfan Liu Date: Fri, 7 Dec 2018 17:40:09 +0800 Message-ID: Subject: Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline To: mhocko@kernel.org Cc: Vlastimil Babka , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Mike Rapoport , Bjorn Helgaas , Jonathan Cameron Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 7, 2018 at 3:53 PM Michal Hocko wrote: > > On Fri 07-12-18 10:56:51, Pingfan Liu wrote: > [...] > > In a short word, the fix method should consider about the two factors: > > semantic of online-node and the effect on all archs > > I am pretty sure there is a lot of room for unification in this area. > Nevertheless I strongly believe the bug should be fixed firs with the > simplest way and all the cleanup should be done on top. > > Do I get it right that the diff worked for you and I can prepare a full > patch? > Sure, I am glad to test you new patch. Thanks, Pingfan