On 23/07/2020 11:25, Jan Beulich wrote:
> On 23.07.2020 11:40, Andrew Cooper wrote:
>> On 22/07/2020 17:13, Jan Beulich wrote:
>>> On 22.07.2020 17:15, Andrew Cooper wrote:
* Rename nr to nr_frames. A plain 'nr' is confusing to follow in the the
lower levels.
* Use DIV_ROUND_UP
At 16:15 +0100 on 22 Jul (1595434548), Andrew Cooper wrote:
> * Rename nr to nr_frames. A plain 'nr' is confusing to follow in the the
>lower levels.
> * Use DIV_ROUND_UP() rather than opencoding it in several different ways
> * The hypercall input is capped at uint32_t, so there is no need
On 23.07.2020 11:40, Andrew Cooper wrote:
> On 22/07/2020 17:13, Jan Beulich wrote:
>> On 22.07.2020 17:15, Andrew Cooper wrote:
>>> * Rename nr to nr_frames. A plain 'nr' is confusing to follow in the the
>>>lower levels.
>>> * Use DIV_ROUND_UP() rather than opencoding it in several differe
On 22/07/2020 17:13, Jan Beulich wrote:
> On 22.07.2020 17:15, Andrew Cooper wrote:
>> * Rename nr to nr_frames. A plain 'nr' is confusing to follow in the the
>>lower levels.
>> * Use DIV_ROUND_UP() rather than opencoding it in several different ways
>> * The hypercall input is capped at u
On 22.07.2020 17:15, Andrew Cooper wrote:
> * Rename nr to nr_frames. A plain 'nr' is confusing to follow in the the
>lower levels.
> * Use DIV_ROUND_UP() rather than opencoding it in several different ways
> * The hypercall input is capped at uint32_t, so there is no need for
>nr_frame
* Rename nr to nr_frames. A plain 'nr' is confusing to follow in the the
lower levels.
* Use DIV_ROUND_UP() rather than opencoding it in several different ways
* The hypercall input is capped at uint32_t, so there is no need for
nr_frames to be unsigned long in the lower levels.
No funct