Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp375202iob; Thu, 28 Apr 2022 04:32:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSWaUO3BrdiaEctRP+A70fvonteWIo6Gxer+xyOxdQxyf93xrqFlp+7kq+JcfObCFpxQP0 X-Received: by 2002:a17:90b:3b4b:b0:1d2:e3fe:e1a1 with SMTP id ot11-20020a17090b3b4b00b001d2e3fee1a1mr49515521pjb.239.1651145572371; Thu, 28 Apr 2022 04:32:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651145572; cv=none; d=google.com; s=arc-20160816; b=A2oQiw2TIblFIYSV/zYUVIsUGxSsPb6OXHZ94ydsRqKQLASXx4cDsaPP2iBOW9+zV6 K2XmOiRovUFwDMLshamM5dHH7S9q2BBmqXB4DyfZV/AYM9clLm3QLBPYM1RxvTF3R5X6 d4Yvyr0H0ai9UhKnzTQhWNSec1QNdx5zVa6/UNGE7ZayA8Fc3nVgB+Qge/izrjuHLRdi a5jSYG0aPyCUpwETjZlBCfjAhkw7J+0vKD20Jh07dOMocMEOfJAkcAHqHJROBJmSBqcy 1sC0TaC5ykEenNw0TuYjXw73jPuzTHGbOVjF/Y991EkT7kZhNg2WdwrRGxnL6OYCH8rV 76WQ== 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=+wDUGHmBZE9TNmVKVV36ycJhC8l9fzDLKuJmbmQV+4c=; b=M/ATrHvWZYKR8fsIkteS7JQ3QOAxSLQBUqErL2IPtjYV5Hdp3VuuCX+G1PP6+dl0bm x+/oxeJFVMut9aT06JK+/ldXUcTDvORp88+A1tvsuQ8QQGQLIwRfOLHFDmLMtxiFA3OA nNLYOPFE6PUUa+xfO89GLTTqUTqw093e0YHjdQhNmAN2GycMrYGOqL7HVouylTbQdnkQ jDXTUSmaDcoOtJ71JdFRo8w4VHWf0ghvC4Q5l5gvUx4IdjmlmMAVzccWBWduCX4FHni/ Dggf1f5liDDuX08SJliStKCMpzKxltvEyeH9vSWulTfeuW/Qt7AsXtyCAnmJtOnapnS4 AOrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ImrLEEQa; 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 z17-20020a170902d55100b0015d284e10a2si4058867plf.150.2022.04.28.04.32.36; Thu, 28 Apr 2022 04:32:52 -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=ImrLEEQa; 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 S232862AbiD1KPA (ORCPT + 99 others); Thu, 28 Apr 2022 06:15:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344998AbiD1KO3 (ORCPT ); Thu, 28 Apr 2022 06:14:29 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 447C62E088; Thu, 28 Apr 2022 03:05:37 -0700 (PDT) Received: from zn.tnic (p5de8eeb4.dip0.t-ipconnect.de [93.232.238.180]) (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 DB99A1EC0494; Thu, 28 Apr 2022 12:05:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1651140331; 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=+wDUGHmBZE9TNmVKVV36ycJhC8l9fzDLKuJmbmQV+4c=; b=ImrLEEQahdLWAyftZPD+6+rrfIiUWaC1eWJI3VJmVPk8k/KMKCEhUXrSYb3ysEnTu1C4rB KyeP+IL/E3gazP9caU37M51frV2EZ5XEvsHBpdRs1r/HbFRnaJu8JrmKP9th+niPB51lmK sgVhUa/9YARi+8TAPdq4ke8uPDDo9EE= Date: Thu, 28 Apr 2022 12:05:32 +0200 From: Borislav Petkov To: "Kirill A. Shutemov" Cc: 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 , Dave Hansen , Brijesh Singh , Mike Rapoport , David Hildenbrand , 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: [PATCHv5 02/12] mm: Add support for unaccepted memory Message-ID: References: <20220425033934.68551-1-kirill.shutemov@linux.intel.com> <20220425033934.68551-3-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220425033934.68551-3-kirill.shutemov@linux.intel.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, Apr 25, 2022 at 06:39:24AM +0300, Kirill A. Shutemov wrote: > @@ -1124,6 +1159,23 @@ static inline void __free_one_page(struct page *page, > done_merging: > set_buddy_order(page, order); > > + /* > + * The page gets marked as PageUnaccepted() if any of merged-in pages > + * is PageUnaccepted(). > + * > + * New pages, just being added to buddy allocator, do not have > + * PageUnaccepted() set. FPI_UNACCEPTED_SLOWPATH indicates that the > + * page is new and page_is_unaccepted() check is required to > + * determinate if accaptance is required. Unknown word [accaptance] in comment. Suggestions: ['acceptance', ... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette