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 1D02AC433F5 for ; Mon, 18 Apr 2022 15:13:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344000AbiDRPPy (ORCPT ); Mon, 18 Apr 2022 11:15:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344960AbiDRPPi (ORCPT ); Mon, 18 Apr 2022 11:15:38 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62BDDB89B9 for ; Mon, 18 Apr 2022 07:12:29 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4KhplN2TQmzfYx0; Mon, 18 Apr 2022 22:11:44 +0800 (CST) Received: from huawei.com (10.175.124.27) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 18 Apr 2022 22:12:26 +0800 From: Miaohe Lin To: CC: , , , , , Subject: [PATCH 00/12] A few cleanup and fixup patches for compaction Date: Mon, 18 Apr 2022 22:12:41 +0800 Message-ID: <20220418141253.24298-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi everyone, This series contains a few patches to clean up some obsolete comment, remove unneeded return value and so on. Also we fix the possible NULL pointer dereference. More details can be found in the respective changelogs. Thanks! Miaohe Lin (12): mm: compaction: remove unneeded return value of kcompactd_run mm: compaction: remove unneeded pfn update mm: compaction: remove unneeded assignment to isolate_start_pfn mm: compaction: clean up comment for sched contention mm: compaction: clean up comment about suitable migration target recheck mm: compaction: use COMPACT_CLUSTER_MAX in compaction.c mm: compaction: use helper compound_nr in isolate_migratepages_block mm: compaction: clean up comment about async compaction in isolate_migratepages mm: compaction: avoid possible NULL pointer dereference in kcompactd_cpu_online mm: compaction: make compaction_zonelist_suitable return false when COMPACT_SUCCESS mm: compaction: simplify the code in __compact_finished mm: compaction: make sure highest is above the min_pfn include/linux/compaction.h | 5 +-- mm/compaction.c | 87 ++++++++++++++------------------------ mm/internal.h | 2 +- 3 files changed, 34 insertions(+), 60 deletions(-) -- 2.23.0