From nobody Tue Apr 7 15:29:56 2026 Received: from mx0b-00364e01.pphosted.com (mx0b-00364e01.pphosted.com [148.163.139.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F141E387354 for ; Wed, 25 Feb 2026 23:44:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.139.74 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772063089; cv=none; b=UB5DStx6GllQd2Qga0wByDLrMCpAqON5Z8Exv3Dq7oYb8q0CrieQv+7ooyKvAMzWb615PRc0CI+WZP3t7RgxhrUL+rvrJ3/1+aav0crkLUYBHelfbMfQCgttRVpb9NGxOHUPY1mmdqJL4avflixNJnGb1L0CRS6MPHcO3u31wSM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772063089; c=relaxed/simple; bh=gYLxuKpY2d3qKNQKxivfKoBOKiAm81D0oxjvJeYJzNU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hF1jMcFEoOZlSbr6q5dI1eLqhTBjFW6+vvReOJt4qy/3F9TOWufS5tVeF2bl8qG+xtRJIhrNm2LybidPd0yUJxpORbt3MmixsiyTlIpP/R2zDYQwJE1mNzBN6koxKgLpfZguL40iKBk2cdh7p6ozgPwzDA/x8kSFz4KFVqUv7Po= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=columbia.edu; spf=pass smtp.mailfrom=columbia.edu; dkim=pass (2048-bit key) header.d=columbia.edu header.i=@columbia.edu header.b=U1PIVhaQ; arc=none smtp.client-ip=148.163.139.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=columbia.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=columbia.edu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=columbia.edu header.i=@columbia.edu header.b="U1PIVhaQ" Received: from pps.filterd (m0167075.ppops.net [127.0.0.1]) by mx0b-00364e01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61PNN9Ov3371108 for ; Wed, 25 Feb 2026 18:44:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=columbia.edu; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pps01; bh=Q1k2 aRLcgmydoMd1dEiHPTc9xxnOTAMtx9b+CM6PXh0=; b=U1PIVhaQRwd3nbrNnYtm L1no1lMCV2YmzeST//Dp/v7B3/cqL4T65QQrGFeq4b08zK5Y2bNTbh+NZ0dvRq8L fWxAXdfzylJQAflLxh8iC6HUOyaR7ki6/xPgiP+/NrizW4D7zaK1w0+W4ErGSFUd W0ErFErP2OIoxqkEv58jTOIg5iLwKzU7KKkGTTglXZHlYByD0dZEd4gm2XRonTBf IAwk64JaWJh5SI6PlHFHgjkB1xFbM72XAqyzdYvOCmP5fAPuCzBajwGH0E/vZsKp WVFnR0ForMBT3YjkIm2sCMYMPztXn+cqf57JO1rCfMS6vvmcio9eEyqAYlqMbGkD Vw== Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by mx0b-00364e01.pphosted.com (PPS) with ESMTPS id 4chs0qf8sx-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 25 Feb 2026 18:44:45 -0500 (EST) Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-896fa0fcf27so25571506d6.1 for ; Wed, 25 Feb 2026 15:44:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772063085; x=1772667885; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message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qRV1SHPgLx17FAtOY0a7+IYCFZN8/oW4tiUl3V64 2LODHBE4mjEdbG2euyPbZJGgG0S0r354e X-Received: by 2002:a05:6214:21ea:b0:895:7864:f69a with SMTP id 6a1803df08f44-89979eedb2amr279116486d6.46.1772063085024; Wed, 25 Feb 2026 15:44:45 -0800 (PST) X-Received: by 2002:a05:6214:21ea:b0:895:7864:f69a with SMTP id 6a1803df08f44-89979eedb2amr279115656d6.46.1772063084415; Wed, 25 Feb 2026 15:44:44 -0800 (PST) Received: from [127.0.1.1] ([216.158.158.246]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-899c738d80bsm3357606d6.41.2026.02.25.15.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Feb 2026 15:44:43 -0800 (PST) From: Tal Zussman Date: Wed, 25 Feb 2026 18:44:26 -0500 Subject: [PATCH v2 2/4] fs: Remove unncessary pagevec.h includes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260225-pagevec_cleanup-v2-2-716868cc2d11@columbia.edu> References: <20260225-pagevec_cleanup-v2-0-716868cc2d11@columbia.edu> In-Reply-To: <20260225-pagevec_cleanup-v2-0-716868cc2d11@columbia.edu> To: David Howells , Marc Dionne , Jaegeuk Kim , Chao Yu , Andrew Morton , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Baoquan He , Barry Song , Matthew Wilcox , Dan Williams , Jan Kara , Alexander Viro , Christian Brauner , Theodore Ts'o Cc: Andreas Dilger , Paulo Alcantara , Trond Myklebust , Anna Schumaker , Mark Fasheh , Joel Becker , Joseph Qi , Steve French , Ronnie Sahlberg , Shyam Prasad N , Tom Talpey , Bharath SM , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Chris Mason , David Sterba , Ilya Dryomov , Alex Markuze , Viacheslav Dubeyko , Andreas Gruenbacher , Muchun Song , Oscar Salvador , Ryusuke Konishi , "Darrick J. Wong" , Chuck Lever , Jeff Layton , NeilBrown , Olga Kornievskaia , Dai Ngo , Jason Gunthorpe , John Hubbard , Peter Xu , Johannes Weiner , Roman Gushchin , Shakeel Butt , Jann Horn , Pedro Falcato , Brendan Jackman , Zi Yan , Hugh Dickins , Baolin Wang , Axel Rasmussen , Yuanchu Xie , Wei Xu , Qi Zheng , linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, nvdimm@lists.linux.dev, linux-ext4@vger.kernel.org, netfs@lists.linux.dev, linux-nfs@vger.kernel.org, ocfs2-devel@lists.linux.dev, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-btrfs@vger.kernel.org, ceph-devel@vger.kernel.org, gfs2@lists.linux.dev, linux-nilfs@vger.kernel.org, linux-xfs@vger.kernel.org, cgroups@vger.kernel.org, Tal Zussman X-Mailer: b4 0.14.3-dev-d7477 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772063077; l=5646; i=tz2294@columbia.edu; s=20250528; h=from:subject:message-id; bh=gYLxuKpY2d3qKNQKxivfKoBOKiAm81D0oxjvJeYJzNU=; b=0+QFbVO+EVyu3LcoNlltI7+0YkfiOzPAREHRqHF+/vRJBoggqFw4V6DeYqoYE35EGaZ0z2yM5 xg7WRatCQDeAtdc5+Wn8weZAkk+lk9tyDOPYyXE2pnCtDyQNUNup7UV X-Developer-Key: i=tz2294@columbia.edu; a=ed25519; pk=BIj5KdACscEOyAC0oIkeZqLB3L94fzBnDccEooxeM5Y= X-Authority-Analysis: v=2.4 cv=ZbYQ98VA c=1 sm=1 tr=0 ts=699f896d cx=c_pps a=wEM5vcRIz55oU/E2lInRtA==:117 a=mD05b5UW6KhLIDvowZ5dSQ==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=x7bEGLp0ZPQA:10 a=VkNPw1HP01LnGYTKEx00:22 a=Da8U98TiO7q1upZEImrf:22 a=HpS3TJQ9O3Ob1ozEcmik:22 a=_wBAnLaIECucki5onNwA:9 a=QEXdDO2ut3YA:10 a=OIgjcC2v60KrkQgK7BGD:22 X-Proofpoint-GUID: K2TDPG0Um3PS69Licv6hSpMpw9foX0BY X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjI1MDIyNyBTYWx0ZWRfX4AIIumHxMUi1 JMAb8CHJ9wKrD32VnALOyIwsXVmYPXSNPH4cpLVLOkTn0L7z97Ms6qOVUllmXx/PI5m5DPqixOy JZr35AwbC5RyDv42hG96fBxoUSAfNG9X/umnxFGOiBtq6D50IHAiqz4JjdYOdWEKioWJOSHF2Gz hlLT0SMd8iZRGH1iYqJ3hqeDEj4SkaHeF/zbg4uuF9hZD6UHCnQWkNZ4pBZkCjFvpgcYbreRnuk B+bjgmnScPrfK0bL4fJJ7Kz8/vh1+2NawN4h7ERTH2WGK2zppN2F0p4oTGEb/bPW0wDXwTl/Hu0 FCirKMUJlxdZilmzeJyd50I8f7Nl0LjVKBs5UYPQQNPXmkcIgCu2+gRyMZo//bLWOqO3X2Lc8v4 3MX84fhzX8OJevwU4K5Xws9Li4Z2e9DPit/bXHBQXi0alTudapJUaRcmFjk3Ki12ViPHuKr+aIW K1hesHx6H8jGMyN3Blg== X-Proofpoint-ORIG-GUID: K2TDPG0Um3PS69Licv6hSpMpw9foX0BY X-Proofpoint-Virus-Version: vendor=nai engine=6800 definitions=11712 signatures=596818 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 suspectscore=0 impostorscore=10 priorityscore=1501 phishscore=0 spamscore=0 bulkscore=10 adultscore=0 lowpriorityscore=10 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602250227 Remove unused pagevec.h includes from .c files. These were found with the following command: grep -rl '#include.*pagevec\.h' --include=3D'*.c' | while read f; do grep -qE 'PAGEVEC_SIZE|folio_batch' "$f" || echo "$f" done There are probably more removal candidates in .h files, but those are more complex to analyze. Signed-off-by: Tal Zussman Acked-by: Chris Li Acked-by: Zi Yan Reviewed-by: Jan Kara Reviewed-by: Lorenzo Stoakes (Oracle) --- fs/afs/write.c | 1 - fs/dax.c | 1 - fs/ext4/file.c | 1 - fs/ext4/page-io.c | 1 - fs/ext4/readpage.c | 1 - fs/f2fs/file.c | 1 - fs/mpage.c | 1 - fs/netfs/buffered_write.c | 1 - fs/nfs/blocklayout/blocklayout.c | 1 - fs/nfs/dir.c | 1 - fs/ocfs2/refcounttree.c | 1 - fs/smb/client/connect.c | 1 - fs/smb/client/file.c | 1 - 13 files changed, 13 deletions(-) diff --git a/fs/afs/write.c b/fs/afs/write.c index 93ad86ff3345..fcfed9d24e0a 100644 --- a/fs/afs/write.c +++ b/fs/afs/write.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include "internal.h" diff --git a/fs/dax.c b/fs/dax.c index b78cff9c91b3..a5237169b467 100644 --- a/fs/dax.c +++ b/fs/dax.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/ext4/file.c b/fs/ext4/file.c index f1dc5ce791a7..5e02f6cf653e 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index a8c95eee91b7..98da200d11c8 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/ext4/readpage.c b/fs/ext4/readpage.c index 830f3b8a321f..3c7aabde719c 100644 --- a/fs/ext4/readpage.c +++ b/fs/ext4/readpage.c @@ -43,7 +43,6 @@ #include #include #include -#include =20 #include "ext4.h" #include diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index c8a2f17a8f11..c6b6a1465d08 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/mpage.c b/fs/mpage.c index 7dae5afc2b9e..e5285fbfcf09 100644 --- a/fs/mpage.c +++ b/fs/mpage.c @@ -28,7 +28,6 @@ #include #include #include -#include #include "internal.h" =20 /* diff --git a/fs/netfs/buffered_write.c b/fs/netfs/buffered_write.c index 22a4d61631c9..05ea5b0cc0e8 100644 --- a/fs/netfs/buffered_write.c +++ b/fs/netfs/buffered_write.c @@ -10,7 +10,6 @@ #include #include #include -#include #include "internal.h" =20 static void __netfs_set_group(struct folio *folio, struct netfs_group *net= fs_group) diff --git a/fs/nfs/blocklayout/blocklayout.c b/fs/nfs/blocklayout/blocklay= out.c index cb0a645aeb50..11f9f69cde61 100644 --- a/fs/nfs/blocklayout/blocklayout.c +++ b/fs/nfs/blocklayout/blocklayout.c @@ -36,7 +36,6 @@ #include #include /* struct bio */ #include -#include =20 #include "../pnfs.h" #include "../nfs4session.h" diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 2402f57c8e7d..0d276441206b 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c index c1cdececdfa4..b4acd081bbc4 100644 --- a/fs/ocfs2/refcounttree.c +++ b/fs/ocfs2/refcounttree.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/smb/client/connect.c b/fs/smb/client/connect.c index 33dfe116ca52..9e57812b7b95 100644 --- a/fs/smb/client/connect.c +++ b/fs/smb/client/connect.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/smb/client/file.c b/fs/smb/client/file.c index 18f31d4eb98d..853ce1817810 100644 --- a/fs/smb/client/file.c +++ b/fs/smb/client/file.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include --=20 2.39.5