[Xen-devel] [RFC 17/23] xen/grant-table: Make it running on 64KB granularity

From
David Vrabel <hidden>
Date
2015-05-19 15:27:48
Also in
lkml
Reply to
Julien Grall, 2015-05-14
On 14/05/15 18:00, Julien Grall wrote:
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.
Reviewed-by: David Vrabel <redacted>

David
Thread (66 messages) 66 messages, 7 authors, last reply 2015-06-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help