Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3316201rdh; Thu, 28 Sep 2023 08:21:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE4dTJ7W29PbjulqlCdCzQKpN4H4DoG/f9oblnM/+hq2v+yASxonHT9sJIovujj6+0k+yK4 X-Received: by 2002:a17:903:1247:b0:1c4:3cd5:4298 with SMTP id u7-20020a170903124700b001c43cd54298mr1611469plh.18.1695914479853; Thu, 28 Sep 2023 08:21:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695914479; cv=none; d=google.com; s=arc-20160816; b=H7nx2BMnOnFkbNjbHfcbMG0U/U2L93HI3T5JAxTK/cGbSn9cZaz/Pemm5rXf0qp++a 6jZQBDnRBoC85jb4a3a/Voie5NFi5eo4Z8xQIK7l9BHTdTCFUaHP+Un7i+xUwqCT40hG dvnFN1XEEin3REbpBXkbs3Vdp+vcOtX30PYbXIYuQYMl7GUyq3IVs0uOPUQOJPruPO2x K7vxBOjF91i0hX5vi/DrMOADsqni2yyujLRosTvXoFQagSlQBWoeBw4jg4hJK9ZAD0u2 x9mgEpFzCSDt1Sw1xEh41LCruhfx9SRMHi67m1Iqdtx6cfEHYxqqc64kJwr1te4a96Cu xNYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=0b96YuYA80p/Ki0mQj38m3KI67R1xrVsbIKFBz0ye00=; fh=UpauL8lhZWfBQrxIfURGz64gZHcDZvzpFEcCUcDzp1U=; b=vT2i5yTT7wn9ykYbDjz9PTzzQwUO+n1pA39QpwWFU67s5z5iWJiDrHEQhX7xIVgs2j 5c2isVf9R95dAAnriCVy89FVcPzU7Es07dfSAjzDx5eJW4E3DGg5rs1Kor1+C9ww1vFD z09lYXofmLwVNMt+g+zrpZxd2h+atsD5MQ86925/kX1IjSVkbyNpqWlkl4UbTWJ2K2Z8 CxRhb9Feeaqh/iQfoBwm8Nn76NmvdU/apa+OekhR2SY21oHxnw4DG2QyXRQGt6DG0VqI 532dC1n6KlfDipFATGfw12ccLUvOzHyePkD4Fgx+Dpl8HsOAL9Mik8TkLH9hKe6eGpfY TDDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Zw71CayG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id kt3-20020a170903088300b001c3e13018ffsi18114312plb.51.2023.09.28.08.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 08:21:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Zw71CayG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 59EC382A9B81; Thu, 28 Sep 2023 06:33:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232102AbjI1Ndc (ORCPT + 99 others); Thu, 28 Sep 2023 09:33:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232050AbjI1Ndb (ORCPT ); Thu, 28 Sep 2023 09:33:31 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE63C1A1 for ; Thu, 28 Sep 2023 06:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695908009; x=1727444009; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=TV50ur6EsvFD+NIQva87XnbSKRPe7K1V/2028Lb4zYE=; b=Zw71CayG4jsFtFQYWvPXN6KAoaQY0T2BIscmmHjwt5kYcf7iDEozUu44 tZhugjPMbofMcR5sc758yXsCHBgPKzqw4J8W4kTCGmBwbVca0Ib/3ERNB tdMMYrEB6K7kCS3PCYrOpVBFSHjlL7Eet61CyEwO1ZxRHeFfTsWDYDGYg O1mLx/fL4B+BFJGeehT16aAevrQGxiE4gCD/Mqo1TUH1Wk3uSMO63anvM DRLnyLTO9wMurkwXLTNc/4ckeNwvJVvysvtkMK0EV6y4HE4qQuY1ePzqG zUTjhkTdIiIXvHZ2H9pnUehZ9zQpNjNUvRECT3TrbrJPdvgZtNHd19Fqx w==; X-IronPort-AV: E=McAfee;i="6600,9927,10846"; a="367123735" X-IronPort-AV: E=Sophos;i="6.03,184,1694761200"; d="scan'208";a="367123735" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2023 06:22:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10846"; a="784686572" X-IronPort-AV: E=Sophos;i="6.03,184,1694761200"; d="scan'208";a="784686572" Received: from jveerasa-mobl.amr.corp.intel.com (HELO [10.255.231.134]) ([10.255.231.134]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2023 06:22:54 -0700 Message-ID: Date: Thu, 28 Sep 2023 06:22:54 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [RFC PATCH v2 0/7] Introduce persistent memory pool Content-Language: en-US To: Stanislav Kinsburskii , Baoquan He Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, ebiederm@xmission.com, akpm@linux-foundation.org, stanislav.kinsburskii@gmail.com, corbet@lwn.net, linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-mm@kvack.org, kys@microsoft.com, jgowans@amazon.com, wei.liu@kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org, graf@amazon.de, pbonzini@redhat.com References: <01828.123092517290700465@us-mta-156.us.mimecast.lan> <20230927161319.GA19976@skinsburskii.> From: Dave Hansen In-Reply-To: <20230927161319.GA19976@skinsburskii.> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 06:33:42 -0700 (PDT) On 9/27/23 09:13, Stanislav Kinsburskii wrote: > Once deposited, these pages can't be accessed by Linux anymore and thus > must be preserved in "used" state across kexec, as hypervisor state is > unware of kexec. If Linux can't access them, they're not RAM any more. I'd much rather remove them from the memory map and move on with life rather than implement a bunch of new ABI that's got to be handed across kernels.