Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp864958rwn; Thu, 8 Sep 2022 09:47:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR5xkC3atRHImKBaXqUes1dx3CAT/UPsHcLP0VbrvJ6IQ5B1QwcoPFoB/jnZOKvrE4Avy1ZN X-Received: by 2002:a05:651c:1941:b0:268:9a35:4a00 with SMTP id bs1-20020a05651c194100b002689a354a00mr2642686ljb.264.1662655632091; Thu, 08 Sep 2022 09:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662655632; cv=none; d=google.com; s=arc-20160816; b=Mj3N9ahRxvpovsydloaEr7JzY1SQiwEdDMVMyjcCZn+7K2idalcPi9jLrCvlXu9iyY 0J97dmOs2PVpvrfBUAJb4E1ycDnltgDp84UOf6gIQwpaj6FTsiSV1DCKMMlrvaWBLroy 8l0TxLRNCVURjwWaRuCkhSQ0+OwZ7/c4BdJK2djtjH4NRXCM5EfrEnSZtJUd3R6hAToY kSaMyitdV8zsP0veUmfzA9td78id8C0M1hbL0BetddDhBFC2sGKJNQ9Ey5egisjju2Vl Pr12bxkL511+P4iXuMAysA5/M/CV7mHGAJo+bavx8GS3rAl1ycgQ72kRzK5t+8Z8vOJl Y3ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=bdMeN6FnqK1npcK6VCQhFv3779r/x2/CSa4ry5MamXU=; b=jYbfu+WTzqFFaOjJYFugA/5tX0w5jegw5Llf2xFfmcFTzcZTgQn3luCAsxfXPzFNt7 yqiEw4TrOsZqXq9c4/qf9rNt0tzkBKmwgWvAWKfHXHIsl4uUDgKeisHuP22IStuyBQQd Ynx9mb2UBO597uKiZJu0mtXzyGbuZ/FZQEBuFiiwczWGuMJNwEq1kzzN5y56fbAK2Drv cnS6E+fp4zML4hgM9ZlX19/6224TMRk2ekpfQxl+UyeDN0TeU7EEYT8M4Acr68wFU0Kz 3Cd/2PguDVvcdIL8rjrYogWxxp6FP597cToxkBzy50zZ6tFoOy0vL3z0ZoIE/Y00kSvz 97Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=jM4kqEGL; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x21-20020a2ea7d5000000b0025ff27354a1si10018747ljp.25.2022.09.08.09.46.41; Thu, 08 Sep 2022 09:47:12 -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; dkim=pass header.i=@google.com header.s=20210112 header.b=jM4kqEGL; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229842AbiIHQX2 (ORCPT + 99 others); Thu, 8 Sep 2022 12:23:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231681AbiIHQXX (ORCPT ); Thu, 8 Sep 2022 12:23:23 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F010FF8274 for ; Thu, 8 Sep 2022 09:23:20 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id nc14so39249815ejc.4 for ; Thu, 08 Sep 2022 09:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=bdMeN6FnqK1npcK6VCQhFv3779r/x2/CSa4ry5MamXU=; b=jM4kqEGLo0x4c9SugkK2RZKbi8J75NwCzwL+WzDAvgOr3Awyy2M5reAUlyKUIwSmVQ J9BI623JbDsn4hxWXBzGM83644hklSb/eJHFal/qOnvs0cA5VWs+JZrHroKPGVlfzABE QM900Eal8QIX1v9trvzd3GY/4kUfcnb02cpp+9UP+vtuyX7zS4gRkhFcNNcpX4EOp1t5 KVrLCi1YIyLUM44gXELwOOnu8pLYGYFBJo7roHRlNiMDIxL9Nd9BiMUzAjSEqOPoCp7r BJxtczTXopJ0WpmOUI5eQgMgYSP427DqVjx3c6Ov43PItJTNHC8ZNQdB7GqzQYkfhnxz qxNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=bdMeN6FnqK1npcK6VCQhFv3779r/x2/CSa4ry5MamXU=; b=KXOoDOUoJi0AXhCCHF6L4Yuks+bV2ny7KGRiAfvfmdbWXrgDeubTdQ35MiyA7Rmj7T Pc+67InK5MlzyFaydk2kXmFiVmdsd//mDWY2A9PqjKe3x2DBZKWhb2eo7y3ELFLxi+7h Hgfl62XMz1gqJPyTgJtW+ImJRY6CrAAzcX3oSuEBCOyA2a+/Yd1JZou6tvwtz9qWHe3T NkI/mhBZrtVC4IQ1IclVvY5dyYaDHe9u4yMw58OlOaKmKWvXDI23B/Ie1RaRHCn7tr18 7UX5pV8rEyxlI+mgreh1Jas1b2QokDZG5fpTOfq4uq8f11CXdK+Azpys54gvkxdSt9zF m4Qg== X-Gm-Message-State: ACgBeo0XMXRrSO+KkvhVRzKOU4UEVZj7o23UEyPE6glQfTF1vnCbzI6W FFYIeobCw6ENtRglnlnVedS6Ej4HEQ5yT8t3gadRCA== X-Received: by 2002:a17:907:948f:b0:770:639:fbd1 with SMTP id dm15-20020a170907948f00b007700639fbd1mr6304073ejc.255.1662654198886; Thu, 08 Sep 2022 09:23:18 -0700 (PDT) MIME-Version: 1.0 References: <20220614120231.48165-1-kirill.shutemov@linux.intel.com> <20220614120231.48165-3-kirill.shutemov@linux.intel.com> <8cf143e7-2b62-1a1e-de84-e3dcc6c027a4@suse.cz> <20220810141959.ictqchz7josyd7pt@techsingularity.net> <2981e25e-9cda-518a-9750-b8694f2356b5@amd.com> <984e07ed-914f-93ca-a141-3fc8677878e0@intel.com> In-Reply-To: From: Dionna Amalie Glaze Date: Thu, 8 Sep 2022 09:23:07 -0700 Message-ID: Subject: Re: [PATCHv7 02/14] mm: Add support for unaccepted memory To: Mike Rapoport Cc: Dave Hansen , Tom Lendacky , Mel Gorman , Vlastimil Babka , "Kirill A. Shutemov" , Borislav Petkov , Andy Lutomirski , Sean Christopherson , Andrew Morton , Joerg Roedel , Ard Biesheuvel , Andi Kleen , Kuppuswamy Sathyanarayanan , David Rientjes , Thomas Gleixner , Peter Zijlstra , Paolo Bonzini , Ingo Molnar , Dario Faggioli , Mike Rapoport , David Hildenbrand , Marcelo Cerri , tim.gardner@canonical.com, Khalid ElMously , philip.cox@canonical.com, "the arch/x86 maintainers" , Linux Memory Management List , linux-coco@lists.linux.dev, linux-efi , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham 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 > > Looks like the first access to the memory map fails, although I think > it's not in INIT_LIST_HEAD() but rather in init_page_count(). > > I'd start with making sure that page_alloc::memmap_alloc() actually returns > accepted memory. If you build kernel with CONFIG_DEBUG_VM=y the memory map > will poisoned in this function, so my guess is it'd crash there. > That's a wonderful hint, thank you! I did not run this test CONFIG_DEBUG_VM set, but you think it's possible it could still be here? > -- > Sincerely yours, > Mike. -- -Dionna Glaze, PhD (she/her)