search for: miscq_hdr

Displaying 8 results from an estimated 8 matches for "miscq_hdr".

2017 Apr 14
2
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
...i.e. inflated/deflated) pages > to chunk. For the ballooned type, it uses the basic chunk msg format: > > virtio_balloon_page_chunk_hdr + > virtio_balloon_page_chunk * MAX_PAGE_CHUNKS > > 2) PAGE_CHUNK_TYPE_UNUSED: unused pages to chunk. It uses this miscq msg > format: > miscq_hdr + > virtio_balloon_page_chunk_hdr + > virtio_balloon_page_chunk * MAX_PAGE_CHUNKS > > The chunk msg is actually the payload of the miscq msg. > > So just combine the two message formats and then it'll all be easier? > > > +#define MAX_PAGE_CHUNKS 4096 > >...
2017 Apr 14
2
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
...i.e. inflated/deflated) pages > to chunk. For the ballooned type, it uses the basic chunk msg format: > > virtio_balloon_page_chunk_hdr + > virtio_balloon_page_chunk * MAX_PAGE_CHUNKS > > 2) PAGE_CHUNK_TYPE_UNUSED: unused pages to chunk. It uses this miscq msg > format: > miscq_hdr + > virtio_balloon_page_chunk_hdr + > virtio_balloon_page_chunk * MAX_PAGE_CHUNKS > > The chunk msg is actually the payload of the miscq msg. > > So just combine the two message formats and then it'll all be easier? > > > +#define MAX_PAGE_CHUNKS 4096 > >...
2017 Apr 17
0
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
...>> to chunk. For the ballooned type, it uses the basic chunk msg format: >> >> virtio_balloon_page_chunk_hdr + >> virtio_balloon_page_chunk * MAX_PAGE_CHUNKS >> >> 2) PAGE_CHUNK_TYPE_UNUSED: unused pages to chunk. It uses this miscq msg >> format: >> miscq_hdr + >> virtio_balloon_page_chunk_hdr + >> virtio_balloon_page_chunk * MAX_PAGE_CHUNKS >> >> The chunk msg is actually the payload of the miscq msg. >> >> > So just combine the two message formats and then it'll all be easier? > Yes, it'll be simple w...
2017 Apr 26
2
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
...es the basic chunk msg format: > >> > >> virtio_balloon_page_chunk_hdr + > >> virtio_balloon_page_chunk * MAX_PAGE_CHUNKS > >> > >> 2) PAGE_CHUNK_TYPE_UNUSED: unused pages to chunk. It uses this miscq > >> msg > >> format: > >> miscq_hdr + > >> virtio_balloon_page_chunk_hdr + > >> virtio_balloon_page_chunk * MAX_PAGE_CHUNKS > >> > >> The chunk msg is actually the payload of the miscq msg. > >> > >> > > So just combine the two message formats and then it'll all be easie...
2017 Apr 26
2
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
...es the basic chunk msg format: > >> > >> virtio_balloon_page_chunk_hdr + > >> virtio_balloon_page_chunk * MAX_PAGE_CHUNKS > >> > >> 2) PAGE_CHUNK_TYPE_UNUSED: unused pages to chunk. It uses this miscq > >> msg > >> format: > >> miscq_hdr + > >> virtio_balloon_page_chunk_hdr + > >> virtio_balloon_page_chunk * MAX_PAGE_CHUNKS > >> > >> The chunk msg is actually the payload of the miscq msg. > >> > >> > > So just combine the two message formats and then it'll all be easie...
2017 Apr 14
0
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
...1) PAGE_CHUNK_TYPE_BALLOON: Ballooned (i.e. inflated/deflated) pages to chunk. For the ballooned type, it uses the basic chunk msg format: virtio_balloon_page_chunk_hdr + virtio_balloon_page_chunk * MAX_PAGE_CHUNKS 2) PAGE_CHUNK_TYPE_UNUSED: unused pages to chunk. It uses this miscq msg format: miscq_hdr + virtio_balloon_page_chunk_hdr + virtio_balloon_page_chunk * MAX_PAGE_CHUNKS The chunk msg is actually the payload of the miscq msg. >> +#define MAX_PAGE_CHUNKS 4096 > This is an order-4 allocation. I'd make it 4095 and then it's > an order-3 one. Sounds good, thanks. I th...
2017 Apr 13
3
[PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
On Thu, Apr 13, 2017 at 05:35:05PM +0800, Wei Wang wrote: > Add a new feature, VIRTIO_BALLOON_F_BALLOON_CHUNKS, which enables Let's find a better name here. VIRTIO_BALLOON_F_PAGE_CHUNK > the transfer of the ballooned (i.e. inflated/deflated) pages in > chunks to the host. > > The implementation of the previous virtio-balloon is not very > efficient, because the ballooned
2017 Apr 13
3
[PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
On Thu, Apr 13, 2017 at 05:35:05PM +0800, Wei Wang wrote: > Add a new feature, VIRTIO_BALLOON_F_BALLOON_CHUNKS, which enables Let's find a better name here. VIRTIO_BALLOON_F_PAGE_CHUNK > the transfer of the ballooned (i.e. inflated/deflated) pages in > chunks to the host. > > The implementation of the previous virtio-balloon is not very > efficient, because the ballooned