Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62C01C433EF for ; Thu, 2 Dec 2021 19:10:42 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.236934.410922 (Exim 4.92) (envelope-from ) id 1msrTQ-0006ks-P8; Thu, 02 Dec 2021 19:10:28 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 236934.410922; Thu, 02 Dec 2021 19:10:28 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1msrTQ-0006kl-Lf; Thu, 02 Dec 2021 19:10:28 +0000 Received: by outflank-mailman (input) for mailman id 236934; Thu, 02 Dec 2021 19:10:27 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1msrTP-0005Su-R5 for xen-devel@lists.xenproject.org; Thu, 02 Dec 2021 19:10:27 +0000 Received: from deinos.phlegethon.org (deinos.phlegethon.org [2001:41d0:8:b1d7::1]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 8232273a-53a3-11ec-b1df-f38ee3fbfdf7; Thu, 02 Dec 2021 20:10:27 +0100 (CET) Received: from tjd by deinos.phlegethon.org with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1msrTM-000BWi-OW; Thu, 02 Dec 2021 19:10:24 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 8232273a-53a3-11ec-b1df-f38ee3fbfdf7 Date: Thu, 2 Dec 2021 19:10:24 +0000 From: Tim Deegan To: Jan Beulich Cc: "xen-devel@lists.xenproject.org" , Andrew Cooper , Wei Liu , Roger Pau =?iso-8859-1?Q?Monn=E9?= , George Dunlap , Kevin Tian , Jun Nakajima Subject: Re: [PATCH 1/2] x86/mm: don't open-code p2m_is_pod() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: X-SA-Known-Good: Yes X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tim@xen.org X-SA-Exim-Scanned: No (on deinos.phlegethon.org); SAEximRunCond expanded to false At 12:01 +0100 on 01 Dec (1638360084), Jan Beulich wrote: > Replace all comparisons against p2m_populate_on_demand (outside of > switch() statements) with the designated predicate. > > Signed-off-by: Jan Beulich Acked-by: Tim Deegan