Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp920176rwd; Thu, 25 May 2023 06:00:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7qCIokLAJSJqwXATyMjxVAgkShJPk4W9htr9CMu/99Zlglpqkd57X8YjACZaOEH9BzJZeV X-Received: by 2002:a17:903:1251:b0:1ac:7245:ba55 with SMTP id u17-20020a170903125100b001ac7245ba55mr1675173plh.6.1685019655193; Thu, 25 May 2023 06:00:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685019655; cv=none; d=google.com; s=arc-20160816; b=O1Gdodl6/2riHbC7zdsro5YDnTNBMQGkXR+a6QxSPEnk4J1hf55VxxUZ15zW4q4ol/ GH9UHFglKqgIz8mwaB7B+33Xw5kHDEWpCkTHo1aCc7JMM413+RDbx81KJc4KRIfhd4w0 DSOlaOD1UAtr5dFgj6enUogMI6i9AqDxeqbNFU02DCjlcpnxrGb+cL450/umaOLDKMYP tKWZ5+HoUA1jH4R6CBnoe5dwuC05lreLwQ0lu6oz7ryGCK2s2lJlaVSMUeN4fgSxbrlW CosThbEXZTbU9jFPFfnl1lNT/Eba7WFOTuGjmxEv88n2JMsS6OfPC1U5cIqGHwH9NYPt 4Gag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=zeBwz1t5SdgeV+hU8uGNH5toBIgtcVCmopBMWvvEMdc=; b=zIuH9LxyO9WLQwMaERa94wt7I9Bz4/kAWGCJ2UGgUk+N6ul4AyOuPL5yKt3EErn4Ba yDcMe2aLW8WbBw4KCiTkiojP/Cy9+60tG1DioTvDFPlec3/PUAtZdXq0hGpfGlI+oHkX +zb6/fI5O4Mci5Y+YsVU6E6U1nWR9Wc7ZDlrv6nHexTlnezks6FbLa12Zg2/UPutwjTI Uypz52Ag6gm5qBVXrsIQ7nEoGE0HpRilEjpxcoKpBy9eSenRblc7fTwbMpTtTQM1zdMq 5OJeZqt8519FF912cb4N93t9TKKYwf79Oscxr6/eEXcg+rr4mbLuXoE4/v7m0gTRKKKb 5+gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gl10-20020a17090b120a00b00246a6cecff8si1523462pjb.44.2023.05.25.06.00.41; Thu, 25 May 2023 06:00:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240576AbjEYMyW (ORCPT + 99 others); Thu, 25 May 2023 08:54:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233263AbjEYMyS (ORCPT ); Thu, 25 May 2023 08:54:18 -0400 Received: from out30-112.freemail.mail.aliyun.com (out30-112.freemail.mail.aliyun.com [115.124.30.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7635189 for ; Thu, 25 May 2023 05:54:16 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R231e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VjSMoT4_1685019250; Received: from localhost(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0VjSMoT4_1685019250) by smtp.aliyun-inc.com; Thu, 25 May 2023 20:54:11 +0800 From: Baolin Wang To: akpm@linux-foundation.org Cc: mgorman@techsingularity.net, vbabka@suse.cz, baolin.wang@linux.alibaba.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] Misc cleanups and improvements for compaction Date: Thu, 25 May 2023 20:53:55 +0800 Message-Id: X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 Hi, This series cantains some cleanups and improvements for compaction. Please help to review. Thanks. Baolin Wang (6): mm: compaction: drop the redundant page validation in update_pageblock_skip() mm: compaction: change fast_isolate_freepages() to void type mm: compaction: skip more fully scanned pageblock mm: compaction: only set skip flag if cc->no_set_skip_hint is false mm: compaction: add trace event for fast freepages isolation mm: compaction: skip fast freepages isolation if enough freepages are isolated include/trace/events/compaction.h | 11 +++++++++++ mm/compaction.c | 25 ++++++++++++++----------- 2 files changed, 25 insertions(+), 11 deletions(-) -- 2.27.0