Skip to contentSkip to conversation

mm-memfd_luo-add-config_shmem-dependency.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Dec 9, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: memfd_luo: add CONFIG_SHMEM dependency
has been removed from the -mm tree. Its filename was
mm-memfd_luo-add-config_shmem-dependency.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Arnd Bergmann <[email protected]>
Subject: mm: memfd_luo: add CONFIG_SHMEM dependency
Date: Thu, 4 Dec 2025 11:01:58 +0100

The new memfd code fails to link without SHMEM:

aarch64-linux-ld: mm/memfd_luo.o: in function `memfd_luo_retrieve_folios':
memfd_luo.c:(.text.memfd_luo_retrieve_folios+0xdc): undefined reference to shmem_add_to_page_cache' memfd_luo.c:(.text.memfd_luo_retrieve_folios+0x11c): undefined reference to shmem_inode_acct_blocks' memfd_luo.c:(.text.memfd_luo_retrieve_folios+0x134): undefined reference to `shmem_recalc_inode'

Add a Kconfig dependency to disallow that configuration.

---

 kernel/liveupdate/Kconfig |    1 +
 1 file changed, 1 insertion(+)
kernel/liveupdate/Kconfig renamed from kernel/liveupdate/Kconfig~mm-memfd_luo-add-config_shmem-dependency +1 -0
@@ -54,6 +54,7 @@ config KEXEC_HANDOVER_ENABLE_DEFAULT
 config LIVEUPDATE
 	bool "Live Update Orchestrator"
 	depends on KEXEC_HANDOVER
+	depends on SHMEM
 	help
 	  Enable the Live Update Orchestrator. Live Update is a mechanism,
 	  typically based on kexec, that allows the kernel to be updated

_

Patches currently in -mm which might be from [email protected] are