Re: + minmax-add-umina-b-and-umaxa-b.patch added to mm-nonmm-unstable branch
From: Matthew Wilcox
Date: Wed Sep 27 2023 - 16:00:50 EST
On Wed, Sep 27, 2023 at 10:21:41PM +0300, Alexey Dobriyan wrote:
> On Wed, Sep 27, 2023 at 10:30:33AM -0700, Andrew Morton wrote:
> > +#define umin(x, y) \
> > + __careful_cmp((x) + 0u + 0ul + 0ull, (y) + 0u + 0ul + 0ull, <)
>
> kmin() and kmax() are (of course!) much better names.
it's unsigned, not user.