Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7262771rwl; Thu, 23 Mar 2023 01:33:08 -0700 (PDT) X-Google-Smtp-Source: AK7set+6q4NIUDd8oks4kwy5WddBLrP0cA8Ye/ghS6jhGrLsFVo7WWo3GWkfs0rp2npdEogV3XG2 X-Received: by 2002:a17:906:5815:b0:932:9303:76b9 with SMTP id m21-20020a170906581500b00932930376b9mr8823798ejq.26.1679560388401; Thu, 23 Mar 2023 01:33:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679560388; cv=none; d=google.com; s=arc-20160816; b=AjGCFfA0Bsk9myUQij8KNt3jru3qDiLer6KgzuNUonu2O9cMWVj8aU3nycSxqtYfK5 QKBwy+mKvVI0YLn36fT//KFMHbjflB+nxXYRMDAGnKDBBfQl22PEviT1gj9gOXB3EV9l 5iDV+PzFUa+hZ+xKjgLgW3S+S8updEPG5jfhEWmU1PHXGOwvb6tpGiOV8Rk5CId8thAx J56MEBjbHzX+7Ozus9KozxBTPHyAf35LXjtEo7znKHCkcR5f/TmQVIzJU2pqjm7CvgV+ gc2QIQ93uvITsOjui/rh4PqaObT+YtxciVFELA83CjVEpDVecVRpp94xOLE9OaBHHOG+ D7ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=w04S0NkM5kduaxKvi+F0F+AzFCvh6K+DYXiG5Oef5/Q=; b=iOZMTEPTco5ySmzBOBWHc3Qv1Tk42xZySrSPqn0soIrRAD4+mOhFjgbHi04rBcLVJ5 1YlJ+a69o4gIm8Z6FeZcVySjtIrtLeDu24zOWJD1QJ9+vnslml9kzxY2gQFOT7+jHw+G g+qqUg6wbbreOPGa12ULnI8PsdZNihXpb4EsV1Kiai9t7IkfecEGeRg/KXLjF4yRGMbD 8woscu+cNCfTS82bCLoV8uMGeFKamJMW8YnnzrmSxhsDML3FbFgnTSNPsFtXCoN8u9+0 GXAMBOdnP5x17KN4zvNrOu3h2JQA3xjoNAhc+kH39Gyr6YObCf9rxq7Id4rOtriv2C8H 8UXQ== 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 s10-20020a170906454a00b0093244ae0d63si13949222ejq.179.2023.03.23.01.32.43; Thu, 23 Mar 2023 01:33:08 -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 S231420AbjCWIaU convert rfc822-to-8bit (ORCPT + 99 others); Thu, 23 Mar 2023 04:30:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231393AbjCWIaO (ORCPT ); Thu, 23 Mar 2023 04:30:14 -0400 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDDDA22797; Thu, 23 Mar 2023 01:30:12 -0700 (PDT) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1pfGJ0-002TGv-My; Thu, 23 Mar 2023 09:28:18 +0100 Received: from p57bd9952.dip0.t-ipconnect.de ([87.189.153.82] helo=[192.168.178.81]) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1pfGJ0-004B39-FY; Thu, 23 Mar 2023 09:28:18 +0100 Message-ID: <4cd6f0c8d7603254df9e2eb1e7b80973e75c4e45.camel@physik.fu-berlin.de> Subject: Re: [PATCH] mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMP From: John Paul Adrian Glaubitz To: Geert Uytterhoeven , Matthew Wilcox Cc: 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 Date: Thu, 23 Mar 2023 09:28:17 +0100 In-Reply-To: References: <67261c513706241d479b8b4cf46eb4e6fb0417ba.1679387262.git.geert+renesas@glider.be> <6320abf6-0898-361b-d5f6-bcc58306f55c@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 87.189.153.82 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Geert! 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? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913