summaryrefslogtreecommitdiffstats
path: root/tools/lguest
diff options
context:
space:
mode:
authorJulien Grall2015-05-05 17:37:49 +0200
committerDavid Vrabel2015-10-23 15:20:39 +0200
commit5ed5451d997f7a86c62a5557efc00dc3836dc559 (patch)
treebd75362553a4f57a9d6b38ae3ad73bdeed16856f /tools/lguest
parentxen/events: fifo: Make it running on 64KB granularity (diff)
downloadkernel-qcow2-linux-5ed5451d997f7a86c62a5557efc00dc3836dc559.tar.gz
kernel-qcow2-linux-5ed5451d997f7a86c62a5557efc00dc3836dc559.tar.xz
kernel-qcow2-linux-5ed5451d997f7a86c62a5557efc00dc3836dc559.zip
xen/grant-table: Make it running on 64KB granularity
The Xen interface is using 4KB page granularity. This means that each grant is 4KB. The current implementation allocates a Linux page per grant. On Linux using 64KB page granularity, only the first 4KB of the page will be used. We could decrease the memory wasted by sharing the page with multiple grant. It will require some care with the {Set,Clear}ForeignPage macro. Note that no changes has been made in the x86 code because both Linux and Xen will only use 4KB page granularity. Signed-off-by: Julien Grall <julien.grall@citrix.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'tools/lguest')
0 files changed, 0 insertions, 0 deletions