From patchwork Wed Dec 11 02:52:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junjie Fu X-Patchwork-Id: 13902778 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B275E7717F for ; Wed, 11 Dec 2024 02:56:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9E0778D0025; Tue, 10 Dec 2024 21:56:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 990838D0017; Tue, 10 Dec 2024 21:56:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 80AA88D0025; Tue, 10 Dec 2024 21:56:08 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 6089C8D0017 for ; Tue, 10 Dec 2024 21:56:08 -0500 (EST) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id B84B3C112F for ; Wed, 11 Dec 2024 02:56:07 +0000 (UTC) X-FDA: 82881163512.18.8C5FF9D Received: from out162-62-58-216.mail.qq.com (out162-62-58-216.mail.qq.com [162.62.58.216]) by imf02.hostedemail.com (Postfix) with ESMTP id 089DE8000E for ; Wed, 11 Dec 2024 02:55:21 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=qq.com header.s=s201512 header.b=mKBxnlN+; spf=pass (imf02.hostedemail.com: domain of fujunjie1@qq.com designates 162.62.58.216 as permitted sender) smtp.mailfrom=fujunjie1@qq.com; dmarc=pass (policy=quarantine) header.from=qq.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1733885748; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=N1Y0Ewuqgf9QZTIQBfmdJXWoO/SIWBVGgwDuKwe+MZ8=; b=CjQkQextup2v067NStO6pc5L6oIi88q6MGxcbmsEJP1XxEM2oY4GvXYgVdMCdEObHN2bdL UhCTydCAmmx3VfZID6MTHASIUECiMCl6Za9FvAPQBHz+/1iBs4LV9iXarw/0ec0xFQ5qG7 gLL3ktJC/xf5lItmtW69RGVNNlYjlSE= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=qq.com header.s=s201512 header.b=mKBxnlN+; spf=pass (imf02.hostedemail.com: domain of fujunjie1@qq.com designates 162.62.58.216 as permitted sender) smtp.mailfrom=fujunjie1@qq.com; dmarc=pass (policy=quarantine) header.from=qq.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1733885748; a=rsa-sha256; cv=none; b=0Giyt4DHIpkd7BLSOhhN8TJ1qmBJhdS5SuXO1wbwnS6rAjvdvzAKisQUcEWPzLpoz3cjaC hV0V9eCu1yHDSIyLLfUgbrU3wkul2uPyK0YxGvko+3npifk/IzH1c5hn4BIikjq7Zx8sii DmJvQ7XJcpXNa97WH5Uw7yG+Y6m3yJM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1733885700; bh=N1Y0Ewuqgf9QZTIQBfmdJXWoO/SIWBVGgwDuKwe+MZ8=; h=From:To:Cc:Subject:Date; b=mKBxnlN+ep8pTOsXGcFvauNSt+UxXfOL4THNuyNtF9T07deNhHbwHTofL65UjIG6k szZZj2ZG2NNySyVz3XtsTALdN064OvXZXt3l+K6MG4qXpDrnYK61sRc/KketIX9Fru BMWp03pXpZulLSjxrNIb76VlKBBReSLGtD9xl3DU= Received: from localhost.localdomain ([2409:875e:a030:1001:14::e66]) by newxmesmtplogicsvrszgpua5-0.qq.com (NewEsmtp) with SMTP id DB40C0FE; Wed, 11 Dec 2024 10:54:52 +0800 X-QQ-mid: xmsmtpt1733885692tpipzqu0p Message-ID: X-QQ-XMAILINFO: MaFEdJWNc83lhEh5TQ2KMz1yyRXFPVfkEE8kvYKybM5H0OUQEC4CLhSaKqvwNI VYIfXkNARoCu5jJgA+ProgXh/XTFiaz1zezKnVZNierSkORNtf5286BAFrZMK5JiS1IEg51CXxzB xnMmkyQfEYijvorDGQ6Sx+CK9RJyqmwYVVhXhCQzJTLJRGfaM6iEF0HWRQztyoAsDXZrA7TDDazM yH8fMnFslhJ/ciqzFqPsNhLh46gS7UcKuSmk6WyU1n1jM++U8eFgq3yxyPGzvT1MRZD5m6YyiQao GVrxToxK4J8LhlimsT5jmguMYmUwo2I1sSSwLwtufjLiMPAvcWXM11Iam3ofrryruBkO9z7XJQBt r/ohndy+PVQXha5o4FK8u/ZaOWBJPcOeHJlkDLnrD7jOtrrAsQt+/AU52RydjJGzaL/rhC55/EPn t/h4zOPTOAAlScT2QUohHagy5PYKUilVCr+z8F1opxvTC07R8FnqxwMdkn9fvBhEIwFx88cWj1T0 9NAsHQqbW6IR2ww5PcjEF0gK0MNw+z7DE/FezYhqhJIT8k8AYhEW2OuimMzOBwpJWxxBWrEEZPzI o9l9bbF7MXHjJcWvfp3V5lDHxmtO8hw4vRnB0u1aikbepdsy1tPzqM4YXNX/45vAs7YccQKGhiN8 RhQ7bXYrloOoBpCLpKBlTNseU6z+SIjPt74H6FxDlO0Q3Jd+fXfhZqRJ8dZ16xruKqa+tQBTnete 6ZsASN8nr3TYup3cI9cjp7rgnYzJtvDbANjDiaELXxdI7drqT5D/+jlALKTepV10Sp7JTOKaC2v8 mG8BNk8d9id+iLTQx9RRFxmQR41U8ivvSaoY8Agdej5sxgADlrteLDzlhxFhs/ii7efFIR/PO/po GobM5mkJXYVvn899Orv3aPu0kQ+lzDAz2vQjGxeBlHdHonVsTB3NuGu17tAbIkHyg48vva9oH9AT MjXaw3p9wDA+oYL/2VpWExT8y160f34jA8ZOtIBF71cDERSbBZTT8xrkse5GM80V0xfHH4X7C3Yr LdOW51rM6Ym66MPMBwgnsDKb64Azc= X-QQ-XMRINFO: Mp0Kj//9VHAxr69bL5MkOOs= From: Junjie Fu To: linux-mm@kvack.org, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, willy@infradead.org, sj@kernel.org, Junjie Fu Subject: [PATCH] mempolicy.h: Remove unnecessary header file inclusions with no test failure Date: Wed, 11 Dec 2024 10:52:30 +0800 X-OQ-MSGID: <20241211025230.514570-1-fujunjie1@qq.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Rspamd-Queue-Id: 089DE8000E X-Rspamd-Server: rspam12 X-Stat-Signature: 5zhx4seh34icth16k3grnq4p4j16twzo X-Rspam-User: X-HE-Tag: 1733885721-124399 X-HE-Meta: U2FsdGVkX1+7Ni4PrKbMTK0icdALyXYIrSqOiciD+TrQb8ML5fReOG3Wu46APiwjh1mWSe2bRCb4VrRQ2XLPO153gIgPfeLozmEIFHLetEHYSFv6a83NAX3rODVpWf3ePhu0HUKHgi7Ux73v0Nu7WinL76SmYDtrG6wB54lrycR9YglpYVRYInBUPnJ+eyaBPm5bRYunibqHAgBM/AYJSmXQDD/W4Fwm3LCrQg1shjKuynA+Kt/CWdlLFViCUVb3XLEcMAF4BhFNODaw/+f7U5MvKjramGtRItPxZIpEnlqTEhQAjUKYcWbUrv3ly8BwB5AGeAqqO4PuF1HRoGT6ha21jq+PJzMzDAm/EL2vGBgmSrrmpT4gqNshNF4/fyQajBCNVwNheKByePkZVx5v1buhGt+mUBr/TuJ/TfqR/GdAAMXt4Nyok14mdQp2oOq8Jzvfyj5v4VjCU3Im2GmV4BKj5mPJddyn+QzTxMgZmstPqlOEnbuaINlAwRpHVHBpKjQjNhfgq/jK1RC5wOJpc33unQrctjIvvlqky1cB+a9phr6FfMB9Aoo53lyq1kBVIxRb5/wJKtJ3dWIxJCnF8RCcMAfiv/GGpuPKdrt3dpZcV97eIkiRtxrAb+n7Z94lno6mYfnlzD1VMsiv5aNcw9czdtOe4ynQBK1uPEzvFgCJcb+vV9QtFtoikrIf4prfeiMLCslkLpaZN+DbxZS3vMghJAz03iIk8IqhSH0rqvUCYfCGqDvKBxP/Mup8a8Qf5iS77hQ5W04GRC/Qd6nP4j2PpCIuspI1+4hlmThXbEqvxuHtj2BEM0ZrSAl550vljFSg73HQEFKEoV1EeeMPZT+Rgh62/ERaNXOZmNPsQv93sqKCPao9kA2pFBC3+Swxyev4bS8TF4530DokmCbMMdgjySxqvq6rUmZe6SVxuGmZU18JnmYaY9Qh9pJGUTjdbFMkCaR9/rJ1cBF0icW MY4Weyp/ 0sQNHZpOBVyPxnZ3JMQHVM/SIhyL3nuQ/BD/tQeRYoqsyrRKHy7KSbtALJlO88n2GiXU7B6nRfBh/g88W6mTqlNjku5gv+ZCXSf8xomheEX4PozYGLc3sqccFbeu9ow2a+Dau7t+JcdvPuaD6xTQ8IeZB36maqySOyS0v46Q5hDE7b7/C+EywxVh/0MceQjVan4+FkvYh9udwwuhx5WdBWrBcvlxJ032F+D1Q X-Bogosity: Ham, tests=bogofilter, spamicity=0.430499, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Due to my previous patch not including pagemap.h in fs/aio.c, a test failure occurred. In this patch, it has been fixed. Previous patch address: https://lore.kernel.org/all/tencent_08B979048FE091821B290B18AE97E70DC507@qq.com/ Signed-off-by: Junjie Fu --- fs/aio.c | 1 + include/linux/mempolicy.h | 1 - mm/mempolicy.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/aio.c b/fs/aio.c index 50671640b588..9fad51dc823f 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h index ce9885e0178a..d36877557b00 100644 --- a/include/linux/mempolicy.h +++ b/include/linux/mempolicy.h @@ -12,7 +12,6 @@ #include #include #include -#include #include struct mm_struct; diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 88eef9776bb0..5297e0df4e3d 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -99,6 +99,7 @@ #include #include #include +#include #include #include #include