Re: [PATCH] mm/hugetlb: Fix calculation of adjust_range_if_pmd_sharing_possible

From: Peter Xu
Date: Thu Jul 30 2020 - 16:11:32 EST


On Thu, Jul 30, 2020 at 08:57:22PM +0100, Matthew Wilcox wrote:
> On Thu, Jul 30, 2020 at 03:50:30PM -0400, Peter Xu wrote:
> > +#define MAX(a,b) (((a)>(b))?(a):(b))
> > +#define MIN(a,b) (((a)<(b))?(a):(b))
>
> What's wrong with max() and min() defined in kernel.h?

Oops.. Posting another one... Thanks.

--
Peter Xu