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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 3CF3AC3526C for ; Wed, 16 Dec 2020 00:00:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0846622D6F for ; Wed, 16 Dec 2020 00:00:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726845AbgLOX7q (ORCPT ); Tue, 15 Dec 2020 18:59:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:34560 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728103AbgLOX0F (ORCPT ); Tue, 15 Dec 2020 18:26:05 -0500 Date: Tue, 15 Dec 2020 15:23:07 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1608074587; bh=Bu0s/3Rh1x+4/HmRLRHvTPjzQS/1JyTZPirCXj1EJs8=; h=From:To:Subject:From; b=USV3bHUT52/9plYJzrbU/PAVKazw67TOyK0lBfKl/9+RaKCBC3D5IAKbM5COtOLXP oegY6X2/OyOBaan+u721WAedbU4Rz6q2T2lvwvjqPQ92IGoHx+NrrzPRtLmWqNb2bK vV85IOJ6ZMBjXlwjSCwZbao7WI92NsdQwWTVhZyw= From: akpm@linux-foundation.org To: akpm@linux-foundation.org, mm-commits@vger.kernel.org, sh_def@163.com Subject: [merged] mm-compaction-move-compaction_suitables-comment-to-right-place.patch removed from -mm tree Message-ID: <20201215232307.F1ILy9WJH%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: mm/compaction: move compaction_suitable's comment to right place has been removed from the -mm tree. Its filename was mm-compaction-move-compaction_suitables-comment-to-right-place.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Hui Su Subject: mm/compaction: move compaction_suitable's comment to right place Since commit 837d026d560c ("mm/compaction: more trace to understand when/why compaction start/finish"), the comment place is not suitable. So move compaction_suitable's comment to right place. Link: https://lkml.kernel.org/r/20201116144121.GA385717@rlk Signed-off-by: Hui Su Reviewed-by: Andrew Morton Signed-off-by: Andrew Morton --- mm/compaction.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) --- a/mm/compaction.c~mm-compaction-move-compaction_suitables-comment-to-right-place +++ a/mm/compaction.c @@ -2070,13 +2070,6 @@ static enum compact_result compact_finis return ret; } -/* - * compaction_suitable: Is this suitable to run compaction on this zone now? - * Returns - * COMPACT_SKIPPED - If there are too few free pages for compaction - * COMPACT_SUCCESS - If the allocation would succeed without compaction - * COMPACT_CONTINUE - If compaction should run now - */ static enum compact_result __compaction_suitable(struct zone *zone, int order, unsigned int alloc_flags, int highest_zoneidx, @@ -2120,6 +2113,13 @@ static enum compact_result __compaction_ return COMPACT_CONTINUE; } +/* + * compaction_suitable: Is this suitable to run compaction on this zone now? + * Returns + * COMPACT_SKIPPED - If there are too few free pages for compaction + * COMPACT_SUCCESS - If the allocation would succeed without compaction + * COMPACT_CONTINUE - If compaction should run now + */ enum compact_result compaction_suitable(struct zone *zone, int order, unsigned int alloc_flags, int highest_zoneidx) _ Patches currently in -mm which might be from sh_def@163.com are fs-proc-make-pde_get-return-nothing.patch acctc-use-elif-instead-of-end-and-elif.patch mm-memcontrol-rewrite-mem_cgroup_page_lruvec.patch