[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 00/11] x86/shadow: misc tidying


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 5 Jan 2023 16:57:44 +0100
  • 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=jSiR8+UjgVMW8QiXCNqPlZifOkOHmStw8A6NZfqu+kQ=; b=A5RV05DiHqFjo4Y9ZzQbBkgzLfzbZk+2lruXvKkecMj6WY00YuyOJZj6GsfxQ1k6Vid/mIyuJPUKuAMQD87keo9Iu4PZIRFyaR8+5a2MP+7bMQ25UxNJiXWg6ukfIs0MVSFiFFumCMDcqlZp80y5HFOWCc0Ex7cn8umQkXveFHFEKAi365PSLkz6QAvVEhKUF4NzS23NGAhDMgem2GcqPLJ7IZh0I4q4k0X39Ld7QzJfnC1ZOM4mJo7fl/9Va0JCmYd51ENtTSe+kRPUHz4uC7W2h42n7VIazDv7+GcnC555udbhVeDiO5NDGF/R/AmXF03ACSJymEUTFbJDwSOk/w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KIr82r64RqQ2fdOQa8XsTQ00nLj001I3N9/HBwlly9WHA674lkaPET8gm6s0GOSL34D7SmarEX6etShRAh7tmU7D4SxrRFH9fPWypk6xhGAEYu2FOKM6Apw9215/TKn9X7ONB5thoqd9DCei4IOlz98y4txraAOFPVTiVFfHtkCs3LmhTzlgKI2T2BZipTomrL/rN4iuQiJhQD7bbm1m4UcVMmQ9VrbdoO8B0QYIrowF+dKx0pU5tFrafgdupAoL2jO7LsuCm7ydh8el16Ib0okcC7esQz9nEFVlWSSdn/uOxn7BKzeuV8m16/vQ6uNLP3+sYxb0Y3rh6DWYOhZbyA==
  • 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>, Tim Deegan <tim@xxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>
  • Delivery-date: Thu, 05 Jan 2023 15:57:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

... or so I hope. The main observation was that we still have both
hash_vcpu_for_each() and hash_domain_for_each(), where the latter was
introduced in 2014/15 to replace the former. Only some eight years
later we can now complete this conversion. Everything else addresses
other things noticed along the road.

01: replace sh_reset_l3_up_pointers()
02: convert sh_audit_flags()'es 1st parameter to domain
03: drop hash_vcpu_foreach()
04: rename hash_domain_foreach()
05: move bogus HVM checks in sh_pagetable_dying()
06: drop a few uses of mfn_valid()
07: L2H shadow type is PV32-only
08: reduce effort of hash calculation
09: simplify conditionals in sh_{get,put}_ref()
10: correct shadow type bounds checks
11: sh_remove_all_mappings() is HVM-only

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.