From: Boqun Feng Sent: Tuesday, September 15, 2020 8:48
PM
>
> For a Hyper-V vmbus, the size of the ringbuffer has two requirements:
>
> 1)it has to take one PAGE_SIZE for the header
>
> 2)it has to be PAGE_SIZE aligned so that double-mapping can work
>
> VMBUS_RING_SIZE() could calcu
For a Hyper-V vmbus, the size of the ringbuffer has two requirements:
1) it has to take one PAGE_SIZE for the header
2) it has to be PAGE_SIZE aligned so that double-mapping can work
VMBUS_RING_SIZE() could calculate a correct ringbuffer size which
fulfills both requirements, therefore