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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7FC4C77B7A for ; Fri, 2 Jun 2023 18:28:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236844AbjFBS2i (ORCPT ); Fri, 2 Jun 2023 14:28:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237020AbjFBS2b (ORCPT ); Fri, 2 Jun 2023 14:28:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D0F9E41 for ; Fri, 2 Jun 2023 11:28:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B65FE62E52 for ; Fri, 2 Jun 2023 18:28:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 154D2C433D2; Fri, 2 Jun 2023 18:28:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1685730506; bh=8u+9qv9TOZklIiv1g7PGOh2A7PkwTol7Bg6o7VjxfMk=; h=Date:To:From:Subject:From; b=XOCApwp4iGZn7D6CLM4M5AIiEmkxvxk33Z/NqMLzaIxNpK8821tbD+tjqjppxvN8n TGiosCk0Yn5ZPN8EEjF+ucy1N3dGC0VAOxUCUKTQ4KC+1KXIUVo3YEfDdPa4Zl74Jr +fAAdY/x7SgtcQak9ZkYXZMf2JWCc3wbr83VA2e8= Date: Fri, 02 Jun 2023 11:28:25 -0700 To: mm-commits@vger.kernel.org, vbabka@suse.cz, mhocko@suse.com, mgorman@techsingularity.net, baolin.wang@linux.alibaba.com, hannes@cmpxchg.org, akpm@linux-foundation.org From: Andrew Morton Subject: + mm-compaction-refactor-__compaction_suitable-fix.patch added to mm-unstable branch Message-Id: <20230602182826.154D2C433D2@smtp.kernel.org> 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-refactor-__compaction_suitable-fix has been added to the -mm mm-unstable branch. Its filename is mm-compaction-refactor-__compaction_suitable-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-compaction-refactor-__compaction_suitable-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Johannes Weiner Subject: mm-compaction-refactor-__compaction_suitable-fix Date: Fri, 2 Jun 2023 10:49:42 -0400 Vlastimil points out the function comment is stale now. Update it. Link: https://lkml.kernel.org/r/20230602144942.GC161817@cmpxchg.org Signed-off-by: Johannes Weiner Cc: Baolin Wang Cc: Mel Gorman Cc: Michal Hocko Cc: Vlastimil Babka Signed-off-by: Andrew Morton --- mm/compaction.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/compaction.c~mm-compaction-refactor-__compaction_suitable-fix +++ a/mm/compaction.c @@ -2220,7 +2220,6 @@ static enum compact_result __compaction_ * 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, _ Patches currently in -mm which might be from hannes@cmpxchg.org are mm-compaction-remove-compaction-result-helpers.patch mm-compaction-simplify-should_compact_retry.patch mm-compaction-refactor-__compaction_suitable.patch mm-compaction-refactor-__compaction_suitable-fix.patch mm-compaction-remove-unnecessary-is_via_compact_memory-checks.patch mm-compaction-drop-redundant-watermark-check-in-compaction_zonelist_suitable.patch mm-compaction-have-compaction_suitable-return-bool.patch mm-page_isolation-write-proper-kerneldoc.patch mm-compaction-avoid-gfp_nofs-abba-deadlock.patch