Re: [Xen-devel] [RFC 16/23] xen/events: fifo: Make it running on 64KB granularity

2015-05-19 Thread David Vrabel
On 14/05/15 18:00, Julien Grall wrote: > Only use the first 4KB of the page to store the events channel info. It > means that we will wast 60KB every time we allocate page for: > * control block: a page is allocating per CPU > * event array: a page is allocating everytime we need to

Re: [Xen-devel] [RFC 16/23] xen/events: fifo: Make it running on 64KB granularity

2015-05-19 Thread David Vrabel
On 14/05/15 18:00, Julien Grall wrote: Only use the first 4KB of the page to store the events channel info. It means that we will wast 60KB every time we allocate page for: * control block: a page is allocating per CPU * event array: a page is allocating everytime we need to expand

[RFC 16/23] xen/events: fifo: Make it running on 64KB granularity

2015-05-14 Thread Julien Grall
Only use the first 4KB of the page to store the events channel info. It means that we will wast 60KB every time we allocate page for: * control block: a page is allocating per CPU * event array: a page is allocating everytime we need to expand it I think we can reduce the memory waste

[RFC 16/23] xen/events: fifo: Make it running on 64KB granularity

2015-05-14 Thread Julien Grall
Only use the first 4KB of the page to store the events channel info. It means that we will wast 60KB every time we allocate page for: * control block: a page is allocating per CPU * event array: a page is allocating everytime we need to expand it I think we can reduce the memory waste