[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] [PATCH 0 of 2] Add libxc API that sets mem_access type for an array of gfns
- To: xen-devel@xxxxxxxxxxxxx
- From: Aravindh Puthiyaparambil <aravindh@xxxxxxxxxxxx>
- Date: Thu, 26 Apr 2012 11:33:29 -0700
- Cc: tim@xxxxxxx
- Delivery-date: Thu, 26 Apr 2012 18:34:47 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuata.com; s=google; h=content-type:mime-version:content-transfer-encoding:subject :message-id:user-agent:date:from:to:cc; bh=iy0hqlF9V+9ihPcg1ZVE33srDdXU3VSL2V8kkus2P2U=; b=PbGoBr6jfUkH/1WKuJG5ENQ+0cbhrgCn9n5oM1HK6FIvx9V9vHfF+CRtHkTuzmWCoc xF0FNYEVrEMqo3LnxpVOybkLxpmfvGmwHDYtZHVepQOUKA3Axhv7T0QuruiU8PS1KBYD mX3nhngp4zNYc0ZgB6NyK46P4Bdo0vozc+Ve0=
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
When the mem_access type needs to be changed for multiple discontiguous gfns,
calling xc_hvm_set_mem_access() multiple times does not perform very well. The
main pain points are the multiple libxc calls themselves plus the multiple
map_domain_page() / unmap_domain_page() and ept_sync_domain() calls for each
ept_set_entry(gfn). The following patches adds a new mem_access API that sets
the mem_access type for an array of guest physical addresses in one libxc call
with minimal map_domain_page() / unmap_domain_page() and ept_sync_domain()
calls.
Signed-off-by: Aravindh Puthiyaparambil <aravindh@xxxxxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel