Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp249736imu; Thu, 6 Dec 2018 23:54:15 -0800 (PST) X-Google-Smtp-Source: AFSGD/WwOppxbTGJjETPfLIahFH3v7FLxZbU1zyKmOjDR7k8MTHB05n3H0qMq1lM4cpmDK0bpm0W X-Received: by 2002:a62:d148:: with SMTP id t8mr1288485pfl.52.1544169255337; Thu, 06 Dec 2018 23:54:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544169255; cv=none; d=google.com; s=arc-20160816; b=l34gYI+YaeYMYu9T2CBnAGXgfe9daXUbZxc3FVbA+hMVd0hxFv18ObjQhtdq3aYO04 OXLk+kPz5Q9mkDRGVp4wddwP0dE3aVzl2aeq9h13jhyrYE56nvLcxqeGKMw8pHuShjog 306VO7jEEk2Kg19iBfNcLxYVx3qt78brRACjuXUXFeHo5MqvoWN3zGAPstPp8Yyh0c2g bn6GukjmpH1n9bbycyqV8IyqAUJrF4VtdWrSrLaQyIOcoA3q3P74i8jfxnz8vHf7XUb/ H3P6iSWhtlKvnsWRg5ynFBSUxw/mQP2TCRiI2Zl/GOkZ6mELuMUWs0lhp5wf1kyYnKbj muYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tyRQxsAGa60/rYbiiU7otfc3U/1Qe1Fw/PGMkHN7gXA=; b=EbdBqAT6Hd9LuirqnT/b0uaX83+uK4nBTQhLZhq9daGHIURm3/hTjCwzpTKBqZ5uCi F7qBuu0b86oC0bKACxvhmx5TgSNea78memj8zv/jvdHgXRXqeoFpci5mDu7NLRrc8cTb 3FXf0HcwRgiXcY9buq+EZQyCbsZ9J7Vx9Jec6OXpzXtJfmnywilKYOL0JTswcjm5i48u IhX6PVrZrjR085oiEAfJFzeqsXy5QPtSamagLoew5v9hrdHzgba3yJvHY5uzFYucuXWi GzvNFZsWrzjXDeji50bJcdlzHeRCuPkhPrp7u9qXrdMKOOMqI2bs0reEAEqXIx+5f00z l65A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p5si1288767pls.338.2018.12.06.23.53.59; Thu, 06 Dec 2018 23:54:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725988AbeLGHxZ (ORCPT + 99 others); Fri, 7 Dec 2018 02:53:25 -0500 Received: from mx2.suse.de ([195.135.220.15]:40980 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725952AbeLGHxY (ORCPT ); Fri, 7 Dec 2018 02:53:24 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 36E53B007; Fri, 7 Dec 2018 07:53:23 +0000 (UTC) Date: Fri, 7 Dec 2018 08:53:22 +0100 From: Michal Hocko To: Pingfan Liu Cc: Vlastimil Babka , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Mike Rapoport , Bjorn Helgaas , Jonathan Cameron Subject: Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline Message-ID: <20181207075322.GS1286@dhcp22.suse.cz> References: <20181205092148.GA1286@dhcp22.suse.cz> <186b1804-3b1e-340e-f73b-f3c7e69649f5@suse.cz> <20181206082806.GB1286@dhcp22.suse.cz> <20181206121152.GH1286@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Michal Hocko SUSE Labs