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=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 0A0A5C432C2 for ; Thu, 26 Sep 2019 11:48:07 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D3932146E for ; Thu, 26 Sep 2019 11:48:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D3932146E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 46fCq76SZtzDqpC for ; Thu, 26 Sep 2019 21:48:03 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=209.85.167.196; helo=mail-oi1-f196.google.com; envelope-from=geert.uytterhoeven@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Received: from mail-oi1-f196.google.com (mail-oi1-f196.google.com [209.85.167.196]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 46fCn03wjXzDqkX for ; Thu, 26 Sep 2019 21:46:08 +1000 (AEST) Received: by mail-oi1-f196.google.com with SMTP id i185so1768078oif.9 for ; Thu, 26 Sep 2019 04:46:08 -0700 (PDT) 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=tLHR9Uzl4F2LlED7RayZ8GAF5ZPEPIZryaF57i4OLXI=; b=hUGdGKUz0vdUQVbhTWy+OiYg8vqj7b5XuSOSJwC6ikUbC3FsTxZrYcscH8bjCRo0OW /muVY8laQtIDXRFEi/qRVYIBP5p/wdK/OrGWx9UMB3k9AWMWKP0GInhK5yBfxyZsw/9t fNWSKqgaV1unamWZC0WW6+I3+7GtTbI7DRLu0hKVpd6FVvK6cpyXS4zz5zY3lWRM6dFz GlniIIxSSY5ll6gety9lSdPARUXxrbHDOVthRh4SLaAhNb3HC3QR+Ry3zIhLk2GIr1Q8 Bi3gCmVDBcYY1Si+NSqM/8LbgKC1FjqRse2my1ysDxi8zdgcPcFp/TD8LSCpoquHMIYV RjOQ== X-Gm-Message-State: APjAAAUgV2DXnSJF9W1Gg+E18eNW7jwv2cKLGiYs5ERMiEa2el9KhFu6 qvHHMaPaE/KuZOEsEin9w0MTB6b1Kyn9juxkxr8= X-Google-Smtp-Source: APXvYqyYkcWdXaYT2TKf8PpAyeMG4IMl80DMGSW9/4Yu/aIloKfMJRq08yVSuXrdrFqW4oG+5S2Rn1FqFklCYwm9zxE= X-Received: by 2002:aca:b654:: with SMTP id g81mr2137450oif.153.1569498365259; Thu, 26 Sep 2019 04:46:05 -0700 (PDT) MIME-Version: 1.0 References: <20190924105622.GH23050@dhcp22.suse.cz> <20190924112349.GJ2332@hirez.programming.kicks-ass.net> <20190924115401.GM23050@dhcp22.suse.cz> <20190924120943.GP2349@hirez.programming.kicks-ass.net> <20190924122500.GP23050@dhcp22.suse.cz> <20190924124325.GQ2349@hirez.programming.kicks-ass.net> <20190924125936.GR2349@hirez.programming.kicks-ass.net> <20190924131939.GS23050@dhcp22.suse.cz> <20190925104040.GD4553@hirez.programming.kicks-ass.net> <20190925132544.GL23050@dhcp22.suse.cz> <20190925163154.GF4553@hirez.programming.kicks-ass.net> In-Reply-To: <20190925163154.GF4553@hirez.programming.kicks-ass.net> From: Geert Uytterhoeven Date: Thu, 26 Sep 2019 13:45:53 +0200 Message-ID: Subject: Re: [PATCH v6] numa: make node_to_cpumask_map() NUMA_NO_NODE aware To: Peter Zijlstra Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rich Felker , Linux-sh list , Catalin Marinas , Dave Hansen , Heiko Carstens , jiaxun.yang@flygoat.com, Michal Hocko , Michael Bringmann , Paul Mackerras , "H. Peter Anvin" , sparclinux , Huacai Chen , Will Deacon , Qian Cai , linux-s390 , Yoshinori Sato , the arch/x86 maintainers , Yunsheng Lin , Mike Rapoport , Christian Borntraeger , Doug Ledford , Ingo Molnar , Jeff Kirsher , James Hogan , Matt Turner , linux-mips@vger.kernel.org, Len Brown , Vasily Gorbik , Anshuman Khandual , Greg KH , Borislav Petkov , Andy Lutomirski , Thomas Gleixner , naveen.n.rao@linux.vnet.ibm.com, Linux ARM , Richard Henderson , Jens Axboe , linuxppc-dev , Linux Kernel Mailing List , Ralf Baechle , Thomas Bogendoerfer , Paul Burton , alpha , "Rafael J. Wysocki" , Ivan Kokshaysky , Andrew Morton , Robin Murphy , "David S. Miller" Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi Peter, On Thu, Sep 26, 2019 at 11:42 AM Peter Zijlstra wrote: > On Wed, Sep 25, 2019 at 03:25:44PM +0200, Michal Hocko wrote: > > I am sorry but I still do not understand why you consider this whack a > > mole better then simply live with the fact that NUMA_NO_NODE is a > > reality and that using the full cpu mask is a reasonable answer to that. > > Because it doesn't make physical sense. A device _cannot_ be local to > all CPUs in a NUMA system. While it cannot be local to all CPUs, it can be at a uniform (equal) distance to each CPU node, can't it? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds