Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5475208imm; Tue, 12 Jun 2018 08:21:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKFGEbpW6ztx9lCj4hQuFq5l2Ulrf4KgTiGIDBM7SJVkzyqBSEJWusDzSb+i2kQHR2aC4aS X-Received: by 2002:a17:902:7896:: with SMTP id q22-v6mr853652pll.243.1528816903829; Tue, 12 Jun 2018 08:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528816903; cv=none; d=google.com; s=arc-20160816; b=s/McrH3IAV9DP9ITC32J0Bb6xrQkFJw02oPe+egetBhH6OwS40oHglfwijSq+WlCgF oUjd6sgZ+8Z78BS6rO29TMtIiN27EujXn1PYuvH+4mAyDWCwcdzWCXhFkTQ4CB+CKpBh r2rIp9a0M6xZGx/NZ3HBgsxu6OPxO0deGupsE6hpOk75uQ8iL4I/PV+z0I/h5+tmkooW ymj6XzNDwlEMjTc7X3VK2FyLQONf0KXHHeAc33IsFhH4kI9vZjpwZwKHsisEPPVlXVye QkPI/qf51geNcQzQSM4d2RQp/ti9VWMdqGX3ZoUZgNwdRnZNI7jLTT7Lcy/TI4WUzXMn Ca/w== 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:arc-authentication-results; bh=paBgGQNkrNcj1RzBa/45Kz7LfAkjgoc5GaN1z1fwGDw=; b=n8jzwCYcjZR8G2efp0WL2QNJURAENV8O/BDboARXaeXsHBAAzW3QosrXlQ7rXxNuGZ InRl1ym9PgjE00OJGTy+5um/IJVtKFEJru2FfNvRpCp7hA45l50W99MVm5aA0eE0M3Iz 3r/LIlnAq2C+3Kj3rnJ2neVQIFx74wtCvEXxajqMev0BDKJqT9Sc+JH3fzskkHbBKri/ gyxdncOyq02RbQmYEDA44TsMmQt9V6d9W7m6gXO1eIUNdnnBVWkSu4Lue1GlBxGQ9QEO 8fP4PQmq38NRWzQFBSVIX9B8znesyv7F01CQJs1Vvx7aJ1IkugkGh53JAJU/mL4+grwp y1LQ== 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 3-v6si356386pla.418.2018.06.12.08.21.25; Tue, 12 Jun 2018 08:21:43 -0700 (PDT) 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 S1754372AbeFLPVB (ORCPT + 99 others); Tue, 12 Jun 2018 11:21:01 -0400 Received: from mx2.suse.de ([195.135.220.15]:48819 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754196AbeFLPVA (ORCPT ); Tue, 12 Jun 2018 11:21:00 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D454AABE6; Tue, 12 Jun 2018 15:20:58 +0000 (UTC) Date: Tue, 12 Jun 2018 17:20:57 +0200 From: Michal Hocko To: Punit Agrawal Cc: Bjorn Helgaas , Xie XiuQi , Hanjun Guo , tnowicki@caviumnetworks.com, linux-pci@vger.kernel.org, Catalin Marinas , "Rafael J. Wysocki" , Will Deacon , Linux Kernel Mailing List , Jarkko Sakkinen , linux-mm@kvack.org, wanghuiqiang@huawei.com, Greg Kroah-Hartman , Bjorn Helgaas , Andrew Morton , zhongjiang , linux-arm Subject: Re: [PATCH 1/2] arm64: avoid alloc memory on offline node Message-ID: <20180612152057.GA13364@dhcp22.suse.cz> References: <20180607105514.GA13139@dhcp22.suse.cz> <5ed798a0-6c9c-086e-e5e8-906f593ca33e@huawei.com> <20180607122152.GP32433@dhcp22.suse.cz> <20180611085237.GI13364@dhcp22.suse.cz> <16c4db2f-bc70-d0f2-fb38-341d9117ff66@huawei.com> <20180611134303.GC75679@bhelgaas-glaptop.roam.corp.google.com> <20180611145330.GO13364@dhcp22.suse.cz> <87lgbk59gs.fsf@e105922-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lgbk59gs.fsf@e105922-lin.cambridge.arm.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 12-06-18 16:08:03, Punit Agrawal wrote: > Michal Hocko writes: [...] > > Well, the standard way to handle memory less NUMA nodes is to simply > > fallback to the closest NUMA node. We even have an API for that > > (numa_mem_id). > > CONFIG_HAVE_MEMORYLESS node is not enabled on arm64 which means we end > up returning the original node in the fallback path. Yes this makes more sense. -- Michal Hocko SUSE Labs