[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] x86/p2m: type checking adjustments
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Thu, 23 Jun 2022 13:52:54 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DfA+KoDOZk7fiA1yr/ZaD1BDBKAQ3tEWWMbgEIRy8qw=; b=hJsleS8279hdVDknHAWgMkXhaS8/AQ+ucEyYvKrxK+P5Kt5/Q6RLe7D5Lk58jTgaNifeC75vnenwsznI8DhVe2zm1MdmfsgrHjejT1TV44p28V0W7AWwdWOsqgb6LXjEvFsuv47mZVWq2WkNU5XXl2g1fg1VxUsU/UKgq0PD0PeUhiqtSWJCvk2XSsRecIc3dpEjSNYNfEc1Zc0BWZZc3mtDN7TeRaNvR2r6PwL0zqfn38NyTkZs7cPEqkfNoFKapXbccZfHl3C2X/dzsiLBTrkKlZSSmFaQCmmFI6EDgs2EStEEqcG03Hsp89+YLgV8KqLZ0XuWoD5Uc4GL1Noz4g==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kzLKvHpmFQhkTaNa4Gb4i/K2/P7gr/7zWwtS6ycAtmCI7GR89LBj2Xt/hPJerwy3dvwqDG6i+SZQlPO1fcjCBvcO/vepvmSv1zjOxIOxM5cBLcgv5n7HONXFkNEDdmMKvnMAPbkmf+k5N318WykNhrhDXjpXf69BqUFyViLi3XBZpu9rbh6LejFq/UDgDE4Ae0E5x7VdRCxMgzjfxz0eV5VkxCTvlkc7A/CC6Mah/8/U99/N2tSOlR/E2e4J6TDzFAfs+OxC9YZvC4iWPBBhdllIzx7rZEJBM8mB5/ywai9XHq2wR1znWLlnPatmXp+KzfbtnXb6qhUXCgcamVpERw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>
- Delivery-date: Thu, 23 Jun 2022 11:53:04 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
While the first change is a bug fix (for, admittedly, a case which
apparently hasn't occurred in practice, or else we would have had
bug reports), it already puts in place an instance of what the 2nd
patch is proposing for perhaps wider use.
1: make p2m_get_page_from_gfn() handle grant and shared cases better
2: aid the compiler in folding p2m_is_...()
Jan
|