Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2702144imi; Mon, 25 Jul 2022 06:11:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sXSjLbdD6Pdigp6Am1PPJGwBmBZPeL9q4FKL+4jwd7ppqQ9eOpUB3Ycf00Q639D76a6giT X-Received: by 2002:a05:6a00:f87:b0:52b:a5cf:1e32 with SMTP id ct7-20020a056a000f8700b0052ba5cf1e32mr12886639pfb.38.1658754676860; Mon, 25 Jul 2022 06:11:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658754676; cv=none; d=google.com; s=arc-20160816; b=IwRwdQ4k966weaWNaueXThAMYHdA0eJYq7WMKTUKwJCBrQJ/XnixApyuhHMo05Z9Gn VasbtmNBX+YaDdvS0pOFO5qKrfA3LK+spAhW7D6CrPRIpNl1NnmtbmKf5HfaL8pTuqnh 35qqeP9fvDA8xJ1Yp96vJ+eAxXt7dTxNtMVuW/weYYnhgBLQ79kom9Y0efpvmji4NfXM MPdPHvITYRelthJRBzniZMji3S2fFSQ+hFSYgLnYsRBUvawCYZR9a9sue1NnSMfWVcb6 ME7mA5A0tG8zRRQc2hLf/8IeCLie2GQcyhEy7PSLVBJ3zx6b/+hI+prXKh/xdFr5eu5t zM5Q== 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:dkim-signature; bh=bVyez+KaivaZkgkelxLjIWo6gk1pzXjts4b4tXUfE5E=; b=o6Cq2RwRc6bAdf7X1NXJFPjUeeeUsnWXYcuHF+XJoBz+4CT62RCAgFYoblpKiWTljY BO6dqnbqBcict50S5zCxvpOwfhp6q+KmqWIuTCdewos9DWB8TT1p+E5eIazLITfHXHp2 jeD7SuNgasUjHeWLzCWLLH/mzruJKXeOmxA+3QnriB8F7Gq5+LO8N1wy+aug6d2GBmXw 1whX3msGB8P8BSvJvVwBpqi0oWNAEz7d8/jwSVtdMAx09FM6IJDOAF/ojO7VbCJMuPZf 5SIaLQfm8/A4DTG8pb59HaE8xESkLcvNDE7mjFtFKBakFHnqptiilRvMeQjqxgCVmrpL AEbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=AHidmyfF; 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=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y11-20020a17090aa40b00b001f14535e904si16768291pjp.147.2022.07.25.06.11.01; Mon, 25 Jul 2022 06:11:16 -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=@alien8.de header.s=dkim header.b=AHidmyfF; 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=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234727AbiGYMxV (ORCPT + 99 others); Mon, 25 Jul 2022 08:53:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235276AbiGYMxR (ORCPT ); Mon, 25 Jul 2022 08:53:17 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FE2711444; Mon, 25 Jul 2022 05:53:13 -0700 (PDT) Received: from zn.tnic (p200300ea972976f8329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9729:76f8:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 8B53C1EC050F; Mon, 25 Jul 2022 14:53:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1658753587; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=bVyez+KaivaZkgkelxLjIWo6gk1pzXjts4b4tXUfE5E=; b=AHidmyfFxdXR2dBq+boERfOhawIGJo2oSkzqgMeK9Pho+BveJMbsqrEXQQj0wi0jbHcucQ zukVMxUDwR1MUr5mEzksdDD18I73EbF5WDAd170PQSRrR5icGjeSnnSHQZURb/aN4nftPo 7/K8iVTmbBqXUEwDGoZe9Bf16jdaIyM= Date: Mon, 25 Jul 2022 14:53:03 +0200 From: Borislav Petkov To: David Hildenbrand Cc: Dave Hansen , "Kirill A. Shutemov" , Andy Lutomirski , Sean Christopherson , Andrew Morton , Joerg Roedel , Ard Biesheuvel , Andi Kleen , Kuppuswamy Sathyanarayanan , David Rientjes , Vlastimil Babka , Tom Lendacky , Thomas Gleixner , Peter Zijlstra , Paolo Bonzini , Ingo Molnar , Varad Gautam , Dario Faggioli , Mike Rapoport , marcelo.cerri@canonical.com, tim.gardner@canonical.com, khalid.elmously@canonical.com, philip.cox@canonical.com, x86@kernel.org, linux-mm@kvack.org, linux-coco@lists.linux.dev, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: Re: [PATCHv7 02/14] mm: Add support for unaccepted memory Message-ID: References: <20220614120231.48165-1-kirill.shutemov@linux.intel.com> <20220614120231.48165-3-kirill.shutemov@linux.intel.com> <707ca113-c2a2-8fe2-a22c-5be13adc7bb4@intel.com> <7d664831-a78c-4a4f-5bd6-f0e04463ca7c@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7d664831-a78c-4a4f-5bd6-f0e04463ca7c@redhat.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 On Mon, Jul 25, 2022 at 02:38:57PM +0200, David Hildenbrand wrote: > The less core-MM code to handle unaccepted memory the better. Meaning, > that any kind of additional pre-acceptance (in addition to what we have > here) needs good justification. I actually mean to have a user interface to have the core code pre-accept. I.e., interface to what will be already there anyway. Or is that frowned upon too? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette