From 7500833ea8450128210b97ec106f2fb2539ca45b Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Wed, 30 Sep 2026 23:01:55 -0300 Subject: [PATCH 1/3] exp: guest kernel with DAMON, ZONE_DEVICE, FS_DAX and EROFS Not to merge: the kernel the page-cache lab boots instead of the release's, for DAMON_RECLAIM and the lru_gen eviction beside memory.reclaim, and for a base image on virtio-pmem with DAX. Co-Authored-By: Claude Opus 5.5 (1M context) --- kernel/config-7.3-rc5-x86_64 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kernel/config-7.3-rc5-x86_64 b/kernel/config-7.3-rc5-x86_64 index 873b454..46e2414 100644 --- a/kernel/config-7.3-rc5-x86_64 +++ b/kernel/config-7.3-rc5-x86_64 @@ -981,6 +981,7 @@ CONFIG_EXCLUSIVE_SYSTEM_RAM=y CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTREMOVE=y +CONFIG_ZONE_DEVICE=y CONFIG_ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE=y CONFIG_SPLIT_PTE_PTLOCKS=y CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y @@ -1061,7 +1062,10 @@ CONFIG_PT_RECLAIM=y # # Data Access Monitoring # -# CONFIG_DAMON is not set +CONFIG_DAMON=y +CONFIG_DAMON_PADDR=y +CONFIG_DAMON_SYSFS=y +CONFIG_DAMON_RECLAIM=y # end of Data Access Monitoring # end of Memory Management options @@ -3114,6 +3118,7 @@ CONFIG_ND_CLAIM=y CONFIG_ND_BTT=y CONFIG_BTT=y CONFIG_DAX=y +CONFIG_FS_DAX=y # CONFIG_DEV_DAX is not set CONFIG_NVMEM=y CONFIG_NVMEM_SYSFS=y @@ -3272,7 +3277,7 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_ROMFS_FS is not set # CONFIG_PSTORE is not set # CONFIG_UFS_FS is not set -# CONFIG_EROFS_FS is not set +CONFIG_EROFS_FS=y # CONFIG_EROFS_FS_DEBUG is not set CONFIG_EROFS_FS_XATTR=y CONFIG_EROFS_FS_POSIX_ACL=y From a104216451c3be6703ad6d1e9c2b863ec225316b Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Wed, 30 Sep 2026 23:04:27 -0300 Subject: [PATCH 2/3] exp: no EROFS - the DAX base is ext4, and the build forbids erofs Co-Authored-By: Claude Opus 5.5 (1M context) --- kernel/config-7.3-rc5-x86_64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/config-7.3-rc5-x86_64 b/kernel/config-7.3-rc5-x86_64 index 46e2414..b6e6a9f 100644 --- a/kernel/config-7.3-rc5-x86_64 +++ b/kernel/config-7.3-rc5-x86_64 @@ -3277,7 +3277,7 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_ROMFS_FS is not set # CONFIG_PSTORE is not set # CONFIG_UFS_FS is not set -CONFIG_EROFS_FS=y +# CONFIG_EROFS_FS is not set # CONFIG_EROFS_FS_DEBUG is not set CONFIG_EROFS_FS_XATTR=y CONFIG_EROFS_FS_POSIX_ACL=y From 7903b1f10852853a09346faa861cf15b53cc246d Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Wed, 30 Sep 2026 23:20:27 -0300 Subject: [PATCH 3/3] exp: EROFS back, for an erofs base on virtio-pmem Co-Authored-By: Claude Opus 5.5 (1M context) --- kernel/config-7.3-rc5-x86_64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/config-7.3-rc5-x86_64 b/kernel/config-7.3-rc5-x86_64 index b6e6a9f..46e2414 100644 --- a/kernel/config-7.3-rc5-x86_64 +++ b/kernel/config-7.3-rc5-x86_64 @@ -3277,7 +3277,7 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_ROMFS_FS is not set # CONFIG_PSTORE is not set # CONFIG_UFS_FS is not set -# CONFIG_EROFS_FS is not set +CONFIG_EROFS_FS=y # CONFIG_EROFS_FS_DEBUG is not set CONFIG_EROFS_FS_XATTR=y CONFIG_EROFS_FS_POSIX_ACL=y