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

From: Matthew Wilcox
Date: Thu Jul 30 2020 - 15:57:26 EST


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?