Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7278038rwl; Thu, 23 Mar 2023 01:52:40 -0700 (PDT) X-Google-Smtp-Source: AK7set8Ty+cFselXE/9ZNaLlFp0CyxvRYpoGH+E5bsQl8tAVv5ooUEAwZKhWaBEdZaLigURW5S1O X-Received: by 2002:a17:906:c204:b0:92a:11be:1a40 with SMTP id d4-20020a170906c20400b0092a11be1a40mr4749800ejz.11.1679561559953; Thu, 23 Mar 2023 01:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679561559; cv=none; d=google.com; s=arc-20160816; b=MwyQRuhc4k3tHox+b+U5dqx0+6j4T0Qd0S7hDj3/lybc9I5GBsA/RgzsoAiKQ0q+Jj q4t0dD7OK4uSSr+NHgQABsRtKmzZuNgBOlUvJtewrXx7HrySfzr5DKS+Rh5LBaF2Y9De 4vFCSPqYtks8ZAxBYdBcMsaNaKNBY/SdJzJyrX+5vmdVzkl+jRzPUtBHT/ez1akJWgPl FiHs5wKvFvKMD+6OcuvnypoJ4FrNwYOQ2uxrmr1mU9DxBgJ7y66rCvGUkhOIsFA3/SFp ZCfFfxCjjWuDNq8WS/3M3PQIj6HKOgU0sydJpts5Tzc5ngN+zTh7dUi4UMzu2xd1v/HI Jhuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=Vd32FkGqDgN2O57rhvoTbuHnr2zsdDCgAw6W48yfE4Y=; b=B4gfH8qZe33x3Ko8jFjwPxCPaij1LygTNqpr2eWTFpQTSRpDqc9dILWqYeT8ik62rx u1IoEI8/wupdVyWxeTn7eH0HJLAdhd0uMI3mj7qdMsj9OnZVlSPPUHH185Nu9JXKmsOO JgtItiFX7cdXI7ZHPZdThceE2u9Qqu5T5bLjJJaAMTEPF0QjTGqYl3RIdNUJTGp3mvQ7 Ksw4E/gFDF2T2hvsx1T6fCTis/vfSy/p7KnZxDqsxbjJhctjQmjVHrzEZ8LZUuyf308h L2sArzfYra6+CTWWJAqW/ytkkB1zjM3kkXZLMeHW5iDuvUCEbpZ41v6D3vEfaMLHah+e JJ0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz8-20020a170906cd0800b00928fca4e16csi13712021ejb.962.2023.03.23.01.52.16; Thu, 23 Mar 2023 01:52:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230463AbjCWIii convert rfc822-to-8bit (ORCPT + 99 others); Thu, 23 Mar 2023 04:38:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231620AbjCWIiI (ORCPT ); Thu, 23 Mar 2023 04:38:08 -0400 Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3F9F35EF7; Thu, 23 Mar 2023 01:36:53 -0700 (PDT) Received: by mail-qt1-f180.google.com with SMTP id c19so25702661qtn.13; Thu, 23 Mar 2023 01:36:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679560613; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DLvOHhjGtQPAGxbfhV5i2RzlDMu0DOqPCzbtGbv4UHg=; b=wUD+P+CNiRq5ncqepbhg9mtUuXC9Z7FWsgBQvs+uU7DCX7jpufVeVnruutUYbyJ+CC QzLr+hGotRBzvijOm8Xi1Ye/AeO5DHt70rbatvf1Ql/j3vXscsfutS1E7vLH5N2SNQlB ilrMZqYYXVLNlds4TG0lOGL0KQA7oqHG9trQfLnqXViAKTKKMq+2H58GN6vHiRKnGybb N1U4T2Olnn7W2WGPdK5kMrI3TTB7iwXYucA95wAWQr4YtMpKclgyEPVEMjSbCoIzLFa4 nH+vZB8BDykcLj6X6JAceN2kMz7ljjeoS4Kd2wkq6NpuPANSntn1d9663Su9rLJnD9lo ZhQg== X-Gm-Message-State: AO0yUKWii5BMcSgkHLBQ9FQBKWIO0kp/cfJi/jjUrAfxjUeDqBxKoAif eO7n0wZaQQ3qK/4MclwXehYhHg6QgjbqgQ== X-Received: by 2002:a05:622a:58a:b0:3bb:8a14:badd with SMTP id c10-20020a05622a058a00b003bb8a14baddmr7016607qtb.29.1679560612906; Thu, 23 Mar 2023 01:36:52 -0700 (PDT) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com. [209.85.219.178]) by smtp.gmail.com with ESMTPSA id i14-20020ac84f4e000000b003e3895903bfsm3006909qtw.8.2023.03.23.01.36.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Mar 2023 01:36:51 -0700 (PDT) Received: by mail-yb1-f178.google.com with SMTP id y5so23909930ybu.3; Thu, 23 Mar 2023 01:36:51 -0700 (PDT) X-Received: by 2002:a25:6b0e:0:b0:a27:3ecc:ffe7 with SMTP id g14-20020a256b0e000000b00a273eccffe7mr1426444ybc.3.1679560611303; Thu, 23 Mar 2023 01:36:51 -0700 (PDT) MIME-Version: 1.0 References: <67261c513706241d479b8b4cf46eb4e6fb0417ba.1679387262.git.geert+renesas@glider.be> <6320abf6-0898-361b-d5f6-bcc58306f55c@intel.com> <4cd6f0c8d7603254df9e2eb1e7b80973e75c4e45.camel@physik.fu-berlin.de> In-Reply-To: <4cd6f0c8d7603254df9e2eb1e7b80973e75c4e45.camel@physik.fu-berlin.de> From: Geert Uytterhoeven Date: Thu, 23 Mar 2023 09:36:39 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMP To: John Paul Adrian Glaubitz Cc: Matthew Wilcox , Dave Hansen , Dave Hansen , Arnd Bergmann , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, linux-mm@kvack.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Randy Dunlap Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=0.5 required=5.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Adrian, On Thu, Mar 23, 2023 at 9:28 AM John Paul Adrian Glaubitz wrote: > On Thu, 2023-03-23 at 09:25 +0100, Geert Uytterhoeven wrote: > > It's supported. Dave just forgot to update the #ifdef around the > > definition of init_cache_node_node() when updating an #ifdef around > > a code block that contains one of the callers. > > > > P.S. To me, this discussion reminds me of the old discussion about > > discontigmem without NUMA. Yes, not all systems are PCs with > > contiguous memory on a single fast bus ;-) > > I'm wondering: Could the NUMA code be used to work with the different > memory types found on the Amiga, i.e. chip RAM, fast RAM etc? I guess so, but only for 32-bit motherboard RAM on A3000/A4000 vs. RAM on an accelerator card vs. Zorro-III RAM on e.g. BigRamPlus. Chip RAM and Zorro-II RAM do not support RMW-cycles on Zorro-III capable machines. 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