Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2964213rdh; Wed, 27 Sep 2023 20:16:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IExGpwkIOrlu1eym1mIhvoNqkt6aOQ5lyF7Koi2rH8cLHv/B5dmmSHniTMEzBjajgP0gxKe X-Received: by 2002:a9d:6a92:0:b0:6c4:a30c:f3f1 with SMTP id l18-20020a9d6a92000000b006c4a30cf3f1mr29139otq.19.1695871014288; Wed, 27 Sep 2023 20:16:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695871014; cv=none; d=google.com; s=arc-20160816; b=KbzPegeK1DQ2AyOCUOU4rS+6YWs4IqGGakaPtM+fgyO7XOv3PM34DBWqenKGYAsqZL m+De3RpQjNv0sXdtRI3SaSr+YeYr7S2c3rga0a06E5WZO1Bs5U7szi0h7QymDGQJfnrW obfFWH6RK1X8cOXxVaIU82ok928+2PMniFCqABY8UbcB55bHn94153NHv7HvVAXcVxOw OlvNtxnx2wAie/3JpU7DdPJohoQB5lBVxjxWA7kU2EeBrDzrm+dpO6kZm91APa6jUb5t hVNJxm+8dc3sUhU3ZJjNm0YT4V/4grYygjvgbkRQ4v9n6pjtCFsUexUjOCuJBKadGY2g s5Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qlJCDiEm1PsyZ7btU88olFOkJZVUmE9aa9jDpV/uPGI=; fh=dAd/tjKgauAXbKPxF6fIF+fanoaK68d2whDdk16A23M=; b=wZdi4Yhh1IkB0SYsIQ+8ww5l9La2J8uBjgtzMfZpEiCivTqUgPx//g4AtNJlShvY41 cx1zrp7rjTwFN7JDc44MWx9M8tJKvhHmBftWcM2AWNS1oHXuNEPR/6cV4kGk0ZRc++6m 1Zrkyv9SD9GkXX03RoDD3knETikW052VLA9Zdqtke9gDFPXRuDo7W8a572YbOixHhT5W TJ9kPtYTH18z6gmPXOWQwQerGJPb27n1cIHby5PQZ4/azEEo0vrY7s7q9G2jlRBqXPRY gWbbNSzdj6wnDgJIVDU3pGQ7hCfOWWZGL7cp+AHhOX8BneWdEbEfRS4ux8Vj6WyTrWnV 1gIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=dXUQNgSX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id y21-20020a056a00191500b00691023321ebsi18001173pfi.113.2023.09.27.20.16.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 20:16:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=dXUQNgSX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5EE5A8092D99; Wed, 27 Sep 2023 13:00:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229690AbjI0UAs (ORCPT + 99 others); Wed, 27 Sep 2023 16:00:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229595AbjI0UAr (ORCPT ); Wed, 27 Sep 2023 16:00:47 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B993810A for ; Wed, 27 Sep 2023 13:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=qlJCDiEm1PsyZ7btU88olFOkJZVUmE9aa9jDpV/uPGI=; b=dXUQNgSXhkz8i62uo5LIX08iEA r3zOiUCeTcPleePVu8jh+ZGWCbulNNbzkJkO15OQyh1il6YCDwgZYWDNjLaIhEmRy0BttBtrYMjPn +cA55TXN51iUPo+8HcL1ZF0DdtjJOyJRMjdTFQFPeKd9xBElZdyV/CZoaupkO4vcnsBLyU4D/6zDz A1USedkgVlvt/nqneDRhK4ApTCYC+U8gHKtpQcmZEiNSh4zlpY5PrOsEyx8i2gBlOKFxib7dxZhzm MKeJiCH634KigRAaeO/f1Jl+dEPGQerHwQE7ZXF4THb7DH3JHVH37SzGXhN/jEJBV6RGFZWXp1wG0 GPYkc/PA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qlai5-00FpW7-5r; Wed, 27 Sep 2023 20:00:37 +0000 Date: Wed, 27 Sep 2023 21:00:37 +0100 From: Matthew Wilcox To: Alexey Dobriyan Cc: David Laight , linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, Jason@zx2c4.com, hch@infradead.org, andriy.shevchenko@linux.intel.com, akpm@linux-foundation.org Subject: Re: + minmax-add-umina-b-and-umaxa-b.patch added to mm-nonmm-unstable branch Message-ID: References: <20230927173033.AF86DC433C7@smtp.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 13:00:50 -0700 (PDT) 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.