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

2015-05-19 Thread David Vrabel
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

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

2015-05-19 Thread David Vrabel
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

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

2015-05-14 Thread Julien Grall
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

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

2015-05-14 Thread Julien Grall
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