From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED6D4C43444 for ; Thu, 17 Jan 2019 17:27:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C5A3720855 for ; Thu, 17 Jan 2019 17:27:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728218AbfAQR1R (ORCPT ); Thu, 17 Jan 2019 12:27:17 -0500 Received: from mx2.suse.de ([195.135.220.15]:33782 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727374AbfAQR1R (ORCPT ); Thu, 17 Jan 2019 12:27:17 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3E1EEAC43; Thu, 17 Jan 2019 17:27:16 +0000 (UTC) Subject: Re: [PATCH 18/25] mm, compaction: Rework compact_should_abort as compact_check_resched To: Mel Gorman , Linux-MM Cc: David Rientjes , Andrea Arcangeli , ying.huang@intel.com, kirill@shutemov.name, Andrew Morton , Linux List Kernel Mailing References: <20190104125011.16071-1-mgorman@techsingularity.net> <20190104125011.16071-19-mgorman@techsingularity.net> From: Vlastimil Babka Message-ID: Date: Thu, 17 Jan 2019 18:27:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190104125011.16071-19-mgorman@techsingularity.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/4/19 1:50 PM, Mel Gorman wrote: > With incremental changes, compact_should_abort no longer makes > any documented sense. Rename to compact_check_resched and update the > associated comments. There is no benefit other than reducing redundant > code and making the intent slightly clearer. It could potentially be > merged with earlier patches but it just makes the review slightly > harder. > > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka