Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3768089rdg; Wed, 18 Oct 2023 05:46:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGTvNG5SX0XrE/rD1SbI58KJSphxzzzRKjj2giyw4edDnNui1pyKcqnK5yV2MnsQ5nxkc2w X-Received: by 2002:aa7:8890:0:b0:6be:16c7:e74b with SMTP id z16-20020aa78890000000b006be16c7e74bmr5485523pfe.18.1697633174333; Wed, 18 Oct 2023 05:46:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697633174; cv=none; d=google.com; s=arc-20160816; b=Aqf0sZ6mB5Ukwv0mufKL9tYmK/T1XSM5gQ1FlY+QbC7v9A3cBP3SJXJ0Ddsny8XzxH sQcrE7bny/5dI5a70TLVF3/PXGGTM08798r75pItZ1SIrOcy5znPJxADcsUn/8CdjrnV stWkWc4VqHWeEhJry5SojVzH7xNuVwuRAR8I/u+ofxtI+j+gzS7NGUjyXDUpBv95tIhS 0ZR0sfa77Ls8/f1tejnKY8qEuVvfSbJq7qnaiGzndrqHXLj3CDhHsqRQGuYzvG9NK3Um phXIUi6iKFkcDdoLWuh4KHnYAOs/SQWIAdiXg+9jkwM3dla6xReJbxK4sO/qYS61U9kh HN1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=tEU1LGbzWJlYQImQ/FQQEXA9hWg9U9vQlJ46IkPulMM=; fh=fUDuUu8lSkWz1ufPtRbCfRkKOP96EvVJLtN93119wjc=; b=bkK7I9CGn5HRRebbNmkaK1zGacmdnxqZj2AELgFh4EdTzZHTF3BrtjWDvw48VI3dZ5 VIvOgM4vqq/uxZwotYzCfjlZpxKCz+Na29mEZpY5+UktVeJ1QCMaatQBtGYTQV2cUEyD Fv3nxtpRxRAtWy75HEXZ40X5wAi18+/3LN6r4l4Z6PhOMA2rgqvwaSdj37ZgcGFi0sf0 Fu8CbruQNmTzndMoZm7Bc4dIdaFpqrE7HT4ME7Lo2uNKWKZXNGpFNVAMvG0d4R165c4W 3GvFYsvsrdlQh+br1b/mUHfJpHiiPQHtLjqtsp4aCvRAsLM26TNJEsm9nFdqM5ftp+xP e+FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=P5ZqWimt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id be3-20020a656e43000000b005b3b86ab19csi2029007pgb.107.2023.10.18.05.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 05:46:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=P5ZqWimt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 68A3F80743D9; Wed, 18 Oct 2023 05:45:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230338AbjJRMpB (ORCPT + 99 others); Wed, 18 Oct 2023 08:45:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230202AbjJRMo7 (ORCPT ); Wed, 18 Oct 2023 08:44:59 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF51798 for ; Wed, 18 Oct 2023 05:44:57 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-53e07db272cso10629554a12.3 for ; Wed, 18 Oct 2023 05:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697633096; x=1698237896; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=tEU1LGbzWJlYQImQ/FQQEXA9hWg9U9vQlJ46IkPulMM=; b=P5ZqWimteKLPB8oar6v2qgRf0OVOpja4Eydg2ZeQYh3UJ1CNhOesssoeHIT2zEZEig wFAZIEPllxtsclLMi+3Brp8M2qnyWyJPKIIOkL/MeVw7rEdtYVrlWp3kpxfqQR17Z8BZ ygIBSJyCcNGlJoq5TVYBgCSzdt2BR4yA6ldexphF2e+GAnoCDf9ssK/QHHrw0yqiLggm Ll6rG2nTjEN7QLAraaLggftsn0BZWQOqJxpT2chH5bFp4B8aMYKx+AxurDkIRqjTT7Uy q3Ezk5S2SZ/1IG5olccy/pWqgEJwCR/8qMXjR6+SCyTLGsELTEhuwtgt3dNFzzsP2miT 6OGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697633096; x=1698237896; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tEU1LGbzWJlYQImQ/FQQEXA9hWg9U9vQlJ46IkPulMM=; b=tEsnv4K02DrqG4xv5x1BI/SP7e2LdU+phC9WjEY5JS2zuLW5QLQRv3xXj+5fxGIKRd 0TzojwZ+P4HwDikiKZ1o3CcXYOK1WkKryZmYCOdctrEBPWDPZktSeXg1Tk4KAkTFojz9 M5gRVjifunAORalTMP93e3Uu1KW5XkKOy0OR6A1M2pKm7IlYIcpgNp57kxk8g5KOqF+A 0O8lto4omevS4wgmyX2i5fgA8wFXvnvinF9zEZfKvWzYj7zYf43AejmbMkzHIRwuI7WY NZPrFZdQEivGVJAA7vuG9f4q+5eqD9BB8def/S6mM8rGxiWnhsbxGJrtiEItWq26WdLm 0+CA== X-Gm-Message-State: AOJu0YzadM62LuHyNEkyAX/o6kpt3Q4JEy3iSV0t5zIGO37nAk6yW33T dppuZ+0mecxPXg6ZVE8rsg+dT1Slp9I= X-Received: by 2002:a17:907:36cd:b0:9be:fc31:8cd2 with SMTP id bj13-20020a17090736cd00b009befc318cd2mr4663212ejc.24.1697633095875; Wed, 18 Oct 2023 05:44:55 -0700 (PDT) Received: from gmail.com (1F2EF7B2.nat.pool.telekom.hu. [31.46.247.178]) by smtp.gmail.com with ESMTPSA id f4-20020a170906560400b009ad81554c1bsm1597719ejq.55.2023.10.18.05.44.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 05:44:55 -0700 (PDT) Sender: Ingo Molnar Date: Wed, 18 Oct 2023 14:44:52 +0200 From: Ingo Molnar To: Qi Zheng , Andrew Morton Cc: Mike Rapoport , David Hildenbrand , Michal Hocko , Andrew Morton , x86@kernel.org, Andy Lutomirski , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v2] x86/mm: Drop 4MB restriction on minimal NUMA node memory size Message-ID: References: <20231017062215.171670-1-rppt@kernel.org> <605cc166-e731-e7d1-25d7-b6797a802e6f@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <605cc166-e731-e7d1-25d7-b6797a802e6f@bytedance.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 05:45:09 -0700 (PDT) * Qi Zheng wrote: > > While I agree with dropping the limitation, and I agree that > > 9391a3f9c7f1 should have provided more of a justification, I believe a > > core MM fix is in order as well, for it to not crash. [ If it's fixed > > upstream already, please reference the relevant commit ID. ] > > Agree. I posted a fixed patchset[1] before, maybe we can reconsider it. > :) > > [1]. https://lore.kernel.org/lkml/20230215152412.13368-1-zhengqi.arch@bytedance.com/ > > For memoryless node, this patchset skip it and fallback to other nodes > when build its zonelists. Mind resubmitting that to the MM folks, with the NULL dereference crash mentioned prominently? Feel free to Cc: me. Fixing hypothetical robustness problems is good, fixing specific crashes is better. :-) Thanks, Ingo