Re: [Xen-devel] [PATCH 7/8] gnttab: use DIV_ROUND_UP() instead of open-coding it

2017-08-15 Thread Andrew Cooper
On 15/08/17 15:42, Jan Beulich wrote: > Also adjust formatting of nearby code. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

[Xen-devel] [PATCH 7/8] gnttab: use DIV_ROUND_UP() instead of open-coding it

2017-08-15 Thread Jan Beulich
Also adjust formatting of nearby code. Signed-off-by: Jan Beulich --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -206,11 +206,13 @@ static inline void gnttab_flush_tlb(cons static inline unsigned int num_act_frames_from_sha_frames(const unsigned int num) { -/* How many f