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

Re: [PATCH v5 8/9] xen: introduce prepare_staticmem_pages


  • To: Penny Zheng <Penny.Zheng@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 31 May 2022 10:48: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=yB5KMgF/thjv6/fbxCHH/G63rFuKteY0TBslkJ4aQT8=; b=ait56F43DyG8SzuVl8lRzQwud3cAJUuQ9bURLOKBdnOhorI7ina4hbY29HaRFZ7jF71K/zzEZkDr6swe3v5XWpJA4TQLpAUFO9OAbDi7kCfyG4oSEcsC+NarvNizrqNaV5bNdxv1OmO9yBYCBjZzzgKa0ldAHL8uqrnkiH7xYJ5gNCWjHg6kHGP9sJw5QXoFAYQtrtS47Y5GI+xtk6bqpskuhz2tbH9zAZvOfffoYFBmKnnqq12f+ZszbBhGTl9uwDSaaYqlgRfb1dDBKw/XGOP+siY5499f0r9CFtQl3pfjNfUaLJ1oFpIu7Ad6sUCGGV9ugJUjcR4C+ONOJUfZIg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=akrHeXIw3ELb4RU0QTfaXOvS2rkbMOiXketzfsmCgYqNXDt8x2HNTNx9r0IqPxxwYKg9AmZoD4Xi8UYQ5cjItycooPuSUIxEaPRfR+INiFrYrxBR3nOu+xOiAqfki13TpbXPknpbD86Vhzo0sx1WSL0ZacYHIiSFWnpPV2jQX5dSah7jqLrrHxuEUJ29iMPLIs3Pw131Ji8I/tWR4ASBjwu9sVG8JJ+huDp2I4zI45ruUBUemx9OLWNmphAO+uXenKC/zMWxAOU2NlUs4h1MjnMdwVLk66OJVNZzAl5K8Gs233fAvUZJcjwcomN7oT25iOw2FI0EGKt/C2z2c/WnuQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: wei.chen@xxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 31 May 2022 08:49:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 31.05.2022 05:12, Penny Zheng wrote:
> Later, we want to use acquire_domstatic_pages() for populating memory
> for static domain on runtime, however, there are a lot of pointless work
> (checking mfn_valid(), scrubbing the free part, cleaning the cache...)
> considering we know the page is valid and belong to the guest.
> 
> This commit splits acquire_staticmem_pages() in two parts, and
> introduces prepare_staticmem_pages to bypass all "pointless work".
> 
> Signed-off-by: Penny Zheng <penny.zheng@xxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>




 


Rackspace

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