Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp879117rdb; Fri, 20 Oct 2023 01:59:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJSqomOC3Paws96GvZg5PcM3CyedWaBK+qdqpx3BimJ+ujGoboimSzewqePcBk9zphQS25 X-Received: by 2002:a05:6a20:d90b:b0:173:f45e:71c2 with SMTP id jd11-20020a056a20d90b00b00173f45e71c2mr4866366pzb.11.1697792397906; Fri, 20 Oct 2023 01:59:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697792397; cv=none; d=google.com; s=arc-20160816; b=lLLVKFiWWknrYEHoDovtaDQifVGBKcQ3flqHWgYsFG+XOe1gVEqiKZfFxblptPcH8x jN7ekVtk3YMhRScZrz21qrRC6sdOemMGsLBnwSGov+VPhESkY1BLairE6sd2aPMwOHf2 ZQGR8ZuMOFFMKJKPPQkysrGbJw1nXPpsFkVB3AxYFlmUiYSwLYQwquEqDCOZs/QLJTSs UGSZEsVIz3CUfwHBShRuS93c2LexHOxfWNdmznzqtXPOkjJjM5tRnU+F0aMFKRbiwIeU BRHCUQUQczLs6fkBaqd73MpZWqqIVIoM3j6pVkEOkwYjIIdO+nM5nZKgXukpHSyGdp0C FUvw== 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=wzeT2I7KXF5wrth1EFsyiB8PmNqQND3ZfwJGRCIPSH8=; fh=Zsl26U8LFeFKbqv1+nzVUo9aE2LhE3eG3/Cqve7cbQY=; b=nWTvXs2ft+uX0SzpCGZEzAIRdasnYJ4lxrhreGfqSeRA5wCghAB9NE026PN6iI2td5 G133WXEQ4byta1jGSY6NIejeWAhsNpPorERcZM8Qmasaop4yzNPJGHGFpNsrIuYGeogi OY8ag8YY7yWz6Vz6y/lrjSCcSqJbiNXHGhtLfCP79ea0k8fjvVCmDu2vTafaEtl+hl7f UuSKBQpeM9ikBs9FqS0bLbuNwx4Ku5vDhXXX4qw8qmvJ0trxSfNN6MjJyzJ/dFDqh7KK ChpnORo0kYGht27a1sZEX7zUujeSWqyYLIWCNLdASHFjBCHy4lzIFbpbgnB1r7I3Xfmg e/Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="j/8zfEjA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id b14-20020a63714e000000b00573fc592e9dsi1293456pgn.848.2023.10.20.01.59.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 01:59:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="j/8zfEjA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 5EE8F828CC37; Fri, 20 Oct 2023 01:59:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376541AbjJTI7l (ORCPT + 99 others); Fri, 20 Oct 2023 04:59:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376520AbjJTI7k (ORCPT ); Fri, 20 Oct 2023 04:59:40 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F9CBD41 for ; Fri, 20 Oct 2023 01:59:38 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9be3b66f254so84321566b.3 for ; Fri, 20 Oct 2023 01:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697792377; x=1698397177; 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=wzeT2I7KXF5wrth1EFsyiB8PmNqQND3ZfwJGRCIPSH8=; b=j/8zfEjA0l2ThfzwQCJzfSIsV8YTybT4+j90bD1jE6hHKzlvhQc+OUlnxqjP0Dcmrj UyX1CY34EOHnLCpdG/eS5Dz21aUYgt6RFEKz64P/hd9RXuHPXJdn7wNGNUNq9NtpG6Fd BZy8VIlPYd3RkHYZ8UkewfLFwHLCFlF5TxQVSk4xIakilebCVe3wt648mHOH4ONj1X+i iBAmpZd3zps2Xz+nn9vG3GtxKhMmI6QeNsd+STWT4mwdPxB9p+2QHO7m5ZbhrDVpUGiA 3CsiI0ngDQX0Wl1L30Iix6qU0PNWHJbDHeg+XrniLKYvUahzWJzdm4Z0Cf8cU7K7Of4j 1OUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697792377; x=1698397177; 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=wzeT2I7KXF5wrth1EFsyiB8PmNqQND3ZfwJGRCIPSH8=; b=RkELGyTNeRFypYagePplHG3sjDSMARsHcbbKtEvdHD3WLexheCyBXiZ2hdrp9KH7lx g7fPlIOJpBWQEPG7ZeohHkxrxapPXX8k06YaUMn3tHbmoLEzNBMo3YS0Th/zjd/eMZ/E b679tonDFTdnycu1CLqMPB9zCSH7CNw/37iL+PR9wK5Ciwbajd0i7h/jxBc/3ClnK8y6 XbcrVPSyizTuFabhJXjjr/t5xZs6LsRx7crC8u8F6pVwMxKomOQx5Xvi1zMqr0oruHXe iEwP7ThgAvND2lqFqF6Og+bzIs/2krhNipLU2ymKSAOzqRDaYAh6BVfLdgy7mqdFm8I9 io+g== X-Gm-Message-State: AOJu0YyNSeubcnHtnV47NyvevYvQN9fUeGIGVYKJrsfJwu1YGlEnIgNt Awvz/ehIR3ldwcZ2kxkMUcc= X-Received: by 2002:a17:907:9342:b0:9be:40ba:5f1 with SMTP id bv2-20020a170907934200b009be40ba05f1mr862046ejc.60.1697792376690; Fri, 20 Oct 2023 01:59:36 -0700 (PDT) Received: from gmail.com (1F2EF7B2.nat.pool.telekom.hu. [31.46.247.178]) by smtp.gmail.com with ESMTPSA id f17-20020a1709062c5100b009c5c5c2c5a4sm1043079ejh.219.2023.10.20.01.59.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 01:59:35 -0700 (PDT) Sender: Ingo Molnar Date: Fri, 20 Oct 2023 10:59:33 +0200 From: Ingo Molnar To: Qi Zheng Cc: Andrew Morton , Mike Rapoport , David Hildenbrand , Michal Hocko , 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> <35bd1d51-35ac-3ee6-e068-f50dff7774bf@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 20 Oct 2023 01:59:55 -0700 (PDT) * Ingo Molnar wrote: > > > Mind resubmitting that to the MM folks, with the NULL dereference > > > crash mentioned prominently? Feel free to Cc: me. > > > > OK, I will resend it if no one else objects. :) > > Thanks, much appreciated - and I see Andrew already applied your two > fixes to -mm. > > With that background I was able to apply the x86 fix as well - which can > be backported without the MM changes. The current commit in tip:x86/mm > is: > > a1e2b8b36820 ("x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size") > > Which should hit v6.7 in about ~1.5 weeks, unless there's unexpected > problems. Note that I haven't added a Cc: stable tag, a 17 years old bug is not really a regression - but I have no objections against this fix getting into -stable once it gains a bit more testing and hits upstream. Thanks, Ingo