Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11843525ybi; Fri, 26 Jul 2019 00:28:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXdh1N85oIlxKBbv3wZIcZ3gjBI9PnpXAoVHfGcsVCPq+LUqNRONGh609LhXy3+81vl/Jt X-Received: by 2002:a17:90a:26e4:: with SMTP id m91mr96939683pje.93.1564126095076; Fri, 26 Jul 2019 00:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564126095; cv=none; d=google.com; s=arc-20160816; b=Ae38ubKNvZTl1ooT3CBatPTwJHAN274go/PyaRTkvqmWP9aaIfzPrY2kSedlsTyn/M EGQX74Xwa5MS4gSUrGJWJnYVRBuBN2oplYls9WxQ69Y13afGrxckWGdTQq5aOVFZMx4k 8W+6/swm0oYmS1ZFynL41FaBIp8oQMQpwuXW/VXmubo1rli0Nc32jIzypicmhNTyU9Y5 4Rb1fbAtQLRMW1ZgRHuOJxJg0+0ooEbU7dm85K1fkoewieH1h3gGXf63QvfRzhXzgLBT y6OndhifiRtXHr2bBHaJr46TyjrMeuEEN0LiJKZuFoQNsm6OUXWtVaTKPlS+NOzKpcHq pFmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=K7wN8R/YNGDYyEGuANIgTAsd2D4vuiNiY+AnhAnQqW0=; b=rF+cZCWurqgERUS/zvS/DKOVv9wEKgVkeOibMJXpl3BIonjTXVv8T+7iObrbQaoVj2 qTOqYicRr6ku8knQqQWvgm4VlqL2OnKw4PUvJmcUQICBPNriqJm+8nIiYiDwdm3HwlW1 ljEs+Oza4CN8eZVxZhHCrFV4UzvJ9GjMW+ABPJm2HoPaG5+NT/f91ISTg5jdfsdK64+r uJq4kW4mYpXugd2B/LkefQRR1/mcFg4XcmhWvouQ3lnTmxWr9hF28x8mIONbhspH7fmg D8CYNwPnvSlJCDFohaxUuhrz4UKeQYsckFzqpxi0lE7Mp+/y9Z/jWYjdKFZNfCoXZTvh TCtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l9si16761114plb.317.2019.07.26.00.27.59; Fri, 26 Jul 2019 00:28:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726455AbfGZH0l (ORCPT + 99 others); Fri, 26 Jul 2019 03:26:41 -0400 Received: from outbound-smtp12.blacknight.com ([46.22.139.17]:49221 "EHLO outbound-smtp12.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726124AbfGZH0l (ORCPT ); Fri, 26 Jul 2019 03:26:41 -0400 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp12.blacknight.com (Postfix) with ESMTPS id 961401C32A8 for ; Fri, 26 Jul 2019 08:26:39 +0100 (IST) Received: (qmail 14945 invoked from network); 26 Jul 2019 07:26:39 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.19.7]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 26 Jul 2019 07:26:39 -0000 Date: Fri, 26 Jul 2019 08:26:37 +0100 From: Mel Gorman To: Pengfei Li Cc: akpm@linux-foundation.org, mhocko@suse.com, vbabka@suse.cz, cai@lca.pw, aryabinin@virtuozzo.com, osalvador@suse.de, rostedt@goodmis.org, mingo@redhat.com, pavel.tatashin@microsoft.com, rppt@linux.ibm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 00/10] make "order" unsigned int Message-ID: <20190726072637.GC2739@techsingularity.net> References: <20190725184253.21160-1-lpf.vector@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20190725184253.21160-1-lpf.vector@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 26, 2019 at 02:42:43AM +0800, Pengfei Li wrote: > Objective > ---- > The motivation for this series of patches is use unsigned int for > "order" in compaction.c, just like in other memory subsystems. > Why? The series is relatively subtle in parts, particularly patch 5. There have been places where by it was important for order to be able to go negative due to loop exit conditions. If there was a gain from this or it was a cleanup in the context of another major body of work, I could understand the justification but that does not appear to be the case here. -- Mel Gorman SUSE Labs