* [GIT PULL] Remove dependencies on pagemap.h
@ 2026-08-28 16:51 Matthew Wilcox
2026-08-28 16:56 ` Linus Torvalds
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2026-08-28 16:51 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel, linux-mm
My apologies for not sending you a signed tag. I haven't used it in so
long that I've forgotten my passphrase on that key. Here's what would
have been in the commit tag message:
Remove unnecessary dependencies on pagemap.h
pagemap.h contains primarily page cache functions. Currently around
9100 files (x86 allmodconfig) depend on it, mostly unnecessarily.
This series reduces that to around 1400 and unsnarls a few other headers
a little.
The following changes since commit b6b019a1d9b90ac51174f0ca15b1338b61506bf9:
Merge tag 'parisc-for-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux (2026-08-23 10:30:02 -0700)
are available in the Git repository at:
git://git.infradead.org/users/willy/pagecache.git tags/headers-7.2
for you to fetch changes up to e02cb91d4644dfff593146f89e70d2008cc6ac16:
ksm: Remove pagemap.h include (2026-08-25 15:12:27 -0400)
----------------------------------------------------------------
Matthew Wilcox (Oracle) (21):
alpha: Fix pgd_t dependency
arc: Fix pgd_t dependency
microblaze: Fix pgd_t dependency
sh: Fix pgd_t dependency
sparc: Fix pgd_t dependency
headers: Remove swap.h from suspend.h
agp: Remove pagemap includes
arch: Remove pagemap.h from arch includes
security: Remove pagemap.h includes
mm: Remove pagemap.h from mempolicy.h
balloon: Remove pagmap.h include
drivers/net: Remove includes of pagemap.h
drivers/media: Remove pagemap.h includes
drivers/mmc: Remove pagemap.h includes
drm: Remove pagemap from ttm_tt.h header
drm/amd: Remove pagemap.h includes
headers: Remove pagemap.h from swap.h
sunrpc: Remove pagemap.h
net: Remove includes of pagemap.h
nfs: Remove pagemap.h from includes
ksm: Remove pagemap.h include
arch/alpha/include/asm/pgtable.h | 2 +-
arch/arc/include/asm/Kbuild | 1 +
arch/arc/include/asm/pgtable-levels.h | 2 ++
arch/arc/include/asm/tlb.h | 12 ----------
arch/arm/include/asm/pgalloc.h | 2 --
arch/arm/include/asm/tlb.h | 2 --
arch/arm/mach-pxa/pxa3xx.c | 1 +
arch/arm64/include/asm/tlb.h | 3 ---
arch/hexagon/include/asm/tlb.h | 1 -
arch/microblaze/include/asm/pgtable.h | 2 +-
arch/nios2/include/asm/tlb.h | 1 -
arch/openrisc/include/asm/Kbuild | 1 +
arch/openrisc/include/asm/tlb.h | 26 ----------------------
arch/powerpc/include/asm/tlb.h | 2 --
arch/sh/include/asm/pgtable.h | 2 +-
arch/sh/include/asm/tlb.h | 1 -
arch/sparc/include/asm/pgtable_64.h | 2 +-
arch/sparc/include/asm/tlb_64.h | 1 -
arch/x86/include/asm/pgalloc.h | 1 -
arch/x86/virt/vmx/tdx/tdx.c | 1 +
arch/xtensa/kernel/hibernate.c | 1 +
block/fops.c | 1 +
drivers/char/agp/backend.c | 1 -
drivers/char/agp/generic.c | 1 -
drivers/char/agp/intel-agp.c | 1 -
drivers/char/agp/intel-gtt.c | 1 -
drivers/char/agp/uninorth-agp.c | 3 ++-
drivers/dma/ste_dma40.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 1 -
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 1 -
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 1 -
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 3 +--
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 1 +
drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 1 -
drivers/gpu/drm/display/drm_dp_cec.c | 1 +
drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 1 +
drivers/gpu/drm/i915/display/intel_display_power.c | 1 +
drivers/gpu/drm/i915/gem/i915_gem_userptr.c | 1 +
drivers/gpu/drm/msm/msm_fb.c | 2 ++
drivers/gpu/drm/msm/msm_gem_shrinker.c | 2 ++
drivers/gpu/drm/nouveau/nouveau_dmem.c | 1 +
drivers/gpu/drm/omapdrm/dss/hdmi4.c | 1 +
drivers/gpu/drm/omapdrm/dss/hdmi5.c | 1 +
drivers/gpu/drm/panel/panel-ilitek-ili9806e-core.c | 1 +
drivers/gpu/drm/panfrost/panfrost_gem.c | 2 ++
drivers/gpu/drm/panthor/panthor_gem.c | 3 +++
drivers/hwmon/pmbus/pmbus_core.c | 1 +
drivers/i2c/busses/i2c-amd-asf-plat.c | 1 +
drivers/i2c/busses/i2c-gxp.c | 1 +
drivers/i2c/busses/i2c-k1.c | 1 +
drivers/i2c/busses/i2c-pasemi-platform.c | 1 +
drivers/iio/accel/fxls8962af-core.c | 1 +
drivers/iio/adc/nct7201.c | 1 +
drivers/iio/adc/ti-ads1298.c | 1 +
drivers/iio/light/rohm-bu27034.c | 1 +
drivers/iio/pressure/bmp280-core.c | 1 +
drivers/iio/pressure/bmp280.h | 1 +
drivers/input/misc/aw86927.c | 1 +
drivers/input/touchscreen/goodix_berlin_core.c | 1 +
drivers/input/touchscreen/hynitron_cstxxx.c | 1 +
drivers/input/touchscreen/imagis.c | 1 +
drivers/leds/leds-turris-omnia.c | 1 +
drivers/media/common/videobuf2/frame_vector.c | 1 -
drivers/media/pci/cx18/cx18-driver.h | 1 -
drivers/media/pci/ivtv/ivtv-driver.h | 2 +-
drivers/media/platform/st/stm32/stm32-csi.c | 1 +
drivers/media/platform/ti/omap3isp/ispvideo.c | 1 -
drivers/media/usb/go7007/go7007-v4l2.c | 1 -
drivers/media/usb/gspca/gspca.c | 1 -
drivers/mfd/88pm886.c | 1 +
drivers/mfd/abx500-core.c | 1 +
drivers/mfd/adp5585.c | 1 +
drivers/mfd/cs40l50-core.c | 1 +
drivers/mfd/cs42l43.c | 1 +
drivers/mfd/rt5120.c | 1 +
drivers/mfd/tps65219.c | 1 +
drivers/mfd/twl-core.c | 2 +-
drivers/mmc/core/core.c | 1 -
drivers/mmc/core/host.c | 1 -
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 -
drivers/mmc/host/renesas_sdhi_sys_dmac.c | 1 -
drivers/mmc/host/sh_mmcif.c | 1 -
drivers/mmc/host/tmio_mmc.h | 1 -
drivers/mmc/host/tmio_mmc_core.c | 1 -
drivers/mmc/host/usdhi6rol0.c | 1 -
drivers/net/ethernet/atheros/atl1c/atl1c.h | 1 -
drivers/net/ethernet/atheros/atl1e/atl1e.h | 1 -
drivers/net/ethernet/intel/e1000/e1000.h | 1 -
drivers/net/ethernet/intel/e1000e/netdev.c | 1 -
drivers/net/ethernet/intel/igb/igb_main.c | 1 -
drivers/net/ethernet/intel/igbvf/netdev.c | 1 -
drivers/phy/st/phy-stm32-combophy.c | 1 +
drivers/pinctrl/pinctrl-sx150x.c | 1 +
drivers/platform/arm64/huawei-gaokun-ec.c | 1 +
drivers/platform/arm64/lenovo-yoga-c630.c | 2 +-
.../platform/x86/intel/int3472/clk_and_regulator.c | 1 +
drivers/power/supply/bq25630_charger.c | 1 +
drivers/power/supply/rk817_charger.c | 2 +-
drivers/regulator/fixed.c | 1 +
drivers/regulator/fp9931.c | 1 +
drivers/regulator/mt6360-regulator.c | 1 +
drivers/regulator/qcom-labibb-regulator.c | 1 +
drivers/regulator/rtq2208-regulator.c | 1 +
drivers/regulator/tps65185.c | 1 +
drivers/regulator/tps65219-regulator.c | 1 +
drivers/regulator/tps6594-regulator.c | 1 +
drivers/soc/xilinx/zynqmp_power.c | 1 +
drivers/ufs/host/ufs-mediatek.c | 1 +
drivers/ufs/host/ufs-qcom.c | 1 +
drivers/usb/core/hcd.c | 1 +
drivers/usb/typec/mux/it5205.c | 1 +
drivers/usb/typec/wusb3801.c | 1 +
drivers/video/fbdev/core/fb_procfs.c | 1 +
drivers/xen/balloon.c | 1 +
fs/aio.c | 1 +
fs/buffer.c | 1 +
fs/file_table.c | 1 +
fs/inode.c | 1 +
fs/nfs/blocklayout/blocklayout.c | 1 +
fs/nfs/nfs42proc.c | 1 +
fs/nfs/nfstrace.h | 1 +
fs/nfs/pnfs.c | 1 +
fs/nfsd/nfs4proc.c | 1 +
include/drm/drm_print.h | 1 +
include/drm/ttm/ttm_tt.h | 1 -
include/linux/balloon.h | 1 -
include/linux/ceph/libceph.h | 1 -
include/linux/i3c/master.h | 1 +
include/linux/ksm.h | 1 -
include/linux/mempolicy.h | 1 -
include/linux/nfs_fs.h | 1 -
include/linux/nfs_page.h | 1 -
include/linux/suspend.h | 1 -
include/linux/swap.h | 1 -
include/sound/cs35l41.h | 1 +
kernel/power/snapshot.c | 1 +
net/ceph/osd_client.c | 1 -
net/ceph/pagevec.c | 1 +
net/core/datagram.c | 1 -
net/rds/rdma.c | 1 -
net/sunrpc/auth_gss/auth_gss.c | 1 -
net/sunrpc/auth_gss/gss_krb5_crypto.c | 1 -
net/sunrpc/auth_gss/gss_krb5_wrap.c | 1 -
net/sunrpc/auth_gss/svcauth_gss.c | 1 -
net/sunrpc/cache.c | 1 -
net/sunrpc/rpc_pipe.c | 1 -
net/sunrpc/socklib.c | 1 -
net/sunrpc/xdr.c | 1 -
net/sunrpc/xprtsock.c | 1 -
security/commoncap.c | 3 ---
security/inode.c | 1 -
security/selinux/hooks.c | 1 -
security/selinux/selinuxfs.c | 1 -
security/smack/smack_lsm.c | 1 -
sound/soc/codecs/cs35l41-lib.c | 1 +
155 files changed, 98 insertions(+), 118 deletions(-)
delete mode 100644 arch/arc/include/asm/tlb.h
delete mode 100644 arch/openrisc/include/asm/tlb.h
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [GIT PULL] Remove dependencies on pagemap.h
2026-08-28 16:51 [GIT PULL] Remove dependencies on pagemap.h Matthew Wilcox
@ 2026-08-28 16:56 ` Linus Torvalds
2026-08-28 17:18 ` Matthew Wilcox
0 siblings, 1 reply; 6+ messages in thread
From: Linus Torvalds @ 2026-08-28 16:56 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: linux-kernel, linux-fsdevel, linux-mm
On Fri, 28 Aug 2026 at 09:51, Matthew Wilcox <willy@infradead.org> wrote:
>
> My apologies for not sending you a signed tag.
I'm not pulling non-signed stuff.
And it's way too late in the merge window to try to fix this. Make a
new key, and we can do this next time around.
Linus
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [GIT PULL] Remove dependencies on pagemap.h
2026-08-28 16:56 ` Linus Torvalds
@ 2026-08-28 17:18 ` Matthew Wilcox
2026-08-28 17:26 ` Linus Torvalds
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2026-08-28 17:18 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel, linux-mm
On Fri, Aug 28, 2026 at 09:56:59AM -0700, Linus Torvalds wrote:
> On Fri, 28 Aug 2026 at 09:51, Matthew Wilcox <willy@infradead.org> wrote:
> >
> > My apologies for not sending you a signed tag.
>
> I'm not pulling non-signed stuff.
>
> And it's way too late in the merge window to try to fix this. Make a
> new key, and we can do this next time around.
OK. I thought you liked this kind of churn stuff at the end of the window,
rather than having it create random unnecesary conflicts throughout the
development cycle. Have you changed your mind on that?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Remove dependencies on pagemap.h
2026-08-28 17:18 ` Matthew Wilcox
@ 2026-08-28 17:26 ` Linus Torvalds
2026-08-28 17:33 ` Matthew Wilcox
0 siblings, 1 reply; 6+ messages in thread
From: Linus Torvalds @ 2026-08-28 17:26 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: linux-kernel, linux-fsdevel, linux-mm
On Fri, 28 Aug 2026 at 10:18, Matthew Wilcox <willy@infradead.org> wrote:
>
> OK. I thought you liked this kind of churn stuff at the end of the window,
> rather than having it create random unnecesary conflicts throughout the
> development cycle. Have you changed your mind on that?
I like things like automated churn at the end - IF I HAVE BEEN TOLD
ABOUT AHEAD OF TIME and know to expect it, and people have said "this
is scripted stuff that can cause conflicts, so I'd suggest we do it
just after rc1 when all the big stuff is merged".
But I absolutely do *NOT* want to see a random pull that is broken in
other ways popping up on the Friday before the merge window closes
that has never been in linux-next and has never been explicitly talked
about with me beforehand.
One is planned. The other is just rushed garbage and badly executed.
See the difference? You should - because it's not a very subtle one.
Linus
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [GIT PULL] Remove dependencies on pagemap.h
2026-08-28 17:26 ` Linus Torvalds
@ 2026-08-28 17:33 ` Matthew Wilcox
2026-08-28 17:42 ` Linus Torvalds
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2026-08-28 17:33 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel, linux-mm
On Fri, Aug 28, 2026 at 10:26:22AM -0700, Linus Torvalds wrote:
> On Fri, 28 Aug 2026 at 10:18, Matthew Wilcox <willy@infradead.org> wrote:
> >
> > OK. I thought you liked this kind of churn stuff at the end of the window,
> > rather than having it create random unnecesary conflicts throughout the
> > development cycle. Have you changed your mind on that?
>
> I like things like automated churn at the end - IF I HAVE BEEN TOLD
> ABOUT AHEAD OF TIME and know to expect it, and people have said "this
> is scripted stuff that can cause conflicts, so I'd suggest we do it
> just after rc1 when all the big stuff is merged".
>
> But I absolutely do *NOT* want to see a random pull that is broken in
> other ways popping up on the Friday before the merge window closes
> that has never been in linux-next and has never been explicitly talked
> about with me beforehand.
How far in advance do you want to know about it? Because I did send you
email about it a few days ago; must've got lost. It has been in
linux-next for a few days (would have been longer, but the Intel test
robot kept finding random drivers and configs that had build problems).
It's already generating conflicts with other header file changes, and
that's just going to be amplified throughout a whole development cycle.
I'd love to script this, but I just don't think that's possible.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Remove dependencies on pagemap.h
2026-08-28 17:33 ` Matthew Wilcox
@ 2026-08-28 17:42 ` Linus Torvalds
0 siblings, 0 replies; 6+ messages in thread
From: Linus Torvalds @ 2026-08-28 17:42 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: linux-kernel, linux-fsdevel, linux-mm
On Fri, 28 Aug 2026 at 10:33, Matthew Wilcox <willy@infradead.org> wrote:
>
> How far in advance do you want to know about it? Because I did send you
> email about it a few days ago; must've got lost. It has been in
> linux-next for a few days (would have been longer, but the Intel test
> robot kept finding random drivers and configs that had build problems).
> It's already generating conflicts with other header file changes, and
> that's just going to be amplified throughout a whole development cycle.
So basically things like this need to be ready before the merge window.
During the merge window, I basically only read pull requests. Sure, I
read other emails, but it's a back seat operation at that point.
And I fetch linux-next the first week of the merge window. Anything
that isn't there at that point doesn't count as having been in
linux-next to me.
In fact, I should fetch linux-next *before* the merge window even
starts, but typically I never actually remember to do that, so I only
fetch it the first time I go "has this been in linux-next".
And honestly, none of the patches I saw actually seem to merit any
kind of special treatment. "Generates conflicts" is not a huge issue -
not for me, and not for linux-next - when it's trivial one-liners and
no actual code involved.
So put it in linux-next. Use a signed tag. Make a proper pull request
next time around.
Linus
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-08-28 17:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 16:51 [GIT PULL] Remove dependencies on pagemap.h Matthew Wilcox
2026-08-28 16:56 ` Linus Torvalds
2026-08-28 17:18 ` Matthew Wilcox
2026-08-28 17:26 ` Linus Torvalds
2026-08-28 17:33 ` Matthew Wilcox
2026-08-28 17:42 ` Linus Torvalds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®