lkml.org 
[lkml]   [2020]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm/hugetlb: Fix calculation of adjust_range_if_pmd_sharing_possible
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

\
 
 \ /
  Last update: 2020-07-30 22:11    [W:0.043 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site