projects/linux·commit 00c010e1

Merge tag 'mm-stable-2025-05-31-14-50' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

00c010e1 · Linus Torvalds <[email protected]> · 2025-05-31 15:44:16 -07:00

Pull MM updates from Andrew Morton:

 - "Add folio_mk_pte()" from Matthew Wilcox simplifies the act of
   creating a pte which addresses the first page in a folio and reduces
   the amount of plumbing which architecture must implement to provide
   this.

 - "Misc folio patches for 6.16" from Matthew Wilcox is a shower of
   largely unrelated folio infrastructure changes which clean things up
   and better prepare us for future work.

 - "memory,x86,acpi: hotplug memory alignment advisement" from Gregory
   Price adds early-init code to prevent x86 from leaving physical
   memory unused when physical address regions are not aligned to memory
   block size.

 - "mm/compaction: allow more aggressive proactive compaction" from
   Michal Clapinski provides some tuning of the (sadly, hard-coded (more
   sadly, not auto-tuned)) thresholds for our invokation of proactive
   compaction. In a simple test case, the reduction of a guest VM's
   memory consumption was dramatic.

 - "Minor cleanups and improvements to swap freeing code" from Kemeng
   Shi provides some code cleaups and a small efficiency improvement to
   this part of our swap handling code.

 - "ptrace: introduce PTRACE_SET_SYSCALL_INFO API" from Dmitry Levin
   adds the ability for a ptracer to modify syscalls arguments. At this
   time we can alter only "system call information that are used by
   strace system call tampering, namely, syscall number, syscall
   arguments, and syscall return value.

   This series should have been incorporated into mm.git's "non-MM"
   branch, but I goofed.

 - "fs/proc: extend the PAGEMAP_SCAN ioctl to report guard regions" from
   Andrei Vagin extends the info returned by the PAGEMAP_SCAN ioctl
   against /proc/pid/pagemap. This permits CRIU to more efficiently get
   at the info about guard regions.

 - "Fix parameter passed to page_mapcount_is_type()" from Gavin Shan
   implements that fix. No runtime effect is expected because
   validate_page_before_insert() happens to fix up this error.

 - "kernel/events/uprobes: uprobe_write_opcode() rewrite" from David
   Hildenbrand basically brings uprobe text poking into the current
   decade. Remove a bunch of hand-rolled implementation in favor of
   using more current facilities.

 - "mm/ptdump: Drop assumption that pxd_val() is u64" from Anshuman
   Khandual provides enhancements and generalizations to the pte dumping
   code. This might be needed when 128-bit Page Table Descriptors are
   enabled for ARM.

 - "Always call constructor for kernel page tables" from Kevin Brodsky
   ensures that the ctor/dtor is always called for kernel pgtables, as
   it already is for user pgtables.

   This permits the addition of more functionality such as "insert hooks
   to protect page tables". This change does result in various
   architectures performing unnecesary work, but this is fixed up where
   it is anticipated to occur.

 - "Rust support for mm_struct, vm_area_struct, and mmap" from Alice
   Ryhl adds plumbing to permit Rust access to core MM structures.

 - "fix incorrectly disallowed anonymous VMA merges" from Lorenzo
   Stoakes takes advantage of some VMA merging opportunities which we've
   been missing for 15 years.

 - "mm/madvise: batch tlb flushes for MADV_DONTNEED and MADV_FREE" from
   SeongJae Park optimizes process_madvise()'s TLB flushing.

   Instead of flushing each address range in the provided iovec, we
   batch the flushing across all the iovec entries. The syscall's cost
   was approximately halved with a microbenchmark which was designed to
   load this particular operation.

 - "Track node vacancy to reduce worst case allocation counts" from
   Sidhartha Kumar makes the maple tree smarter about its node
   preallocation.

   stress-ng mmap performance increased by single-digit percentages and
   the amount of unnecessarily preallocated memory was dramaticelly
   reduced.

 - "mm/gup: Minor fix, cleanup and improvements" from Baoquan He removes
   a few unnecessary things which Baoquan noted when reading the code.

 - ""Enhance sysfs handling for memory hotplug in weighted interleave"
   from Rakie Kim "enhances the weighted interleave policy in the memory
   management subsystem by improving sysfs handling, fixing memory
   leaks, and introducing dynamic sysfs updates for memory hotplug
   support". Fixes things on error paths which we are unlikely to hit.

 - "mm/damon: auto-tune DAMOS for NUMA setups including tiered memory"
   from SeongJae Park introduces new DAMOS quota goal metrics which
   eliminate the manual tuning which is required when utilizing DAMON
   for memory tiering.

 - "mm/vmalloc.c: code cleanup and improvements" from Baoquan He
   provides cleanups and small efficiency improvements which Baoquan
   found via code inspection.

 - "vmscan: enforce mems_effective during demotion" from Gregory Price
   changes reclaim to respect cpuset.mems_effective during demotion when
   possible. because presently, reclaim explicitly ignores
   cpuset.mems_effective when demoting, which may cause the cpuset
   settings to violated.

   This is useful for isolating workloads on a multi-tenant system from
   certain classes of memory more consistently.

 - "Clean up split_huge_pmd_locked() and remove unnecessary folio
   pointers" from Gavin Guo provides minor cleanups and efficiency gains
   in in the huge page splitting and migrating code.

 - "Use kmem_cache for memcg alloc" from Huan Yang creates a slab cache
   for `struct mem_cgroup', yielding improved memory utilization.

 - "add max arg to swappiness in memory.reclaim and lru_gen" from
   Zhongkun He adds a new "max" argument to the "swappiness=" argument
   for memory.reclaim MGLRU's lru_gen.

   This directs proactive reclaim to reclaim from only anon folios
   rather than file-backed folios.

 - "kexec: introduce Kexec HandOver (KHO)" from Mike Rapoport is the
   first step on the path to permitting the kernel to maintain existing
   VMs while replacing the host kernel via file-based kexec. At this
   time only memblock's reserve_mem is preserved.

 - "mm: Introduce for_each_valid_pfn()" from David Woodhouse provides
   and uses a smarter way of looping over a pfn range. By skipping
   ranges of invalid pfns.

 - "sched/numa: Skip VMA scanning on memory pinned to one NUMA node via
   cpuset.mems" from Libo Chen removes a lot of pointless VMA scanning
   when a task is pinned a single NUMA mode.

   Dramatic performance benefits were seen in some real world cases.

 - "JFS: Implement migrate_folio for jfs_metapage_aops" from Shivank
   Garg addresses a warning which occurs during memory compaction when
   using JFS.

 - "move all VMA allocation, freeing and duplication logic to mm" from
   Lorenzo Stoakes moves some VMA code from kernel/fork.c into the more
   appropriate mm/vma.c.

 - "mm, swap: clean up swap cache mapping helper" from Kairui Song
   provides code consolidation and cleanups related to the folio_index()
   function.

 - "mm/gup: Cleanup memfd_pin_folios()" from Vishal Moola does that.

 - "memcg: Fix test_memcg_min/low test failures" from Waiman Long
   addresses some bogus failures which are being reported by the
   test_memcontrol selftest.

 - "eliminate mmap() retry merge, add .mmap_prepare hook" from Lorenzo
   Stoakes commences the deprecation of file_operations.mmap() in favor
   of the new file_operations.mmap_prepare().

   The latter is more restrictive and prevents drivers from messing with
   things in ways which, amongst other problems, may defeat VMA merging.

 - "memcg: decouple memcg and objcg stocks"" from Shakeel Butt decouples
   the per-cpu memcg charge cache from the objcg's one.

   This is a step along the way to making memcg and objcg charging
   NMI-safe, which is a BPF requirement.

 - "mm/damon: minor fixups and improvements for code, tests, and
   documents" from SeongJae Park is yet another batch of miscellaneous
   DAMON changes. Fix and improve minor problems in code, tests and
   documents.

 - "memcg: make memcg stats irq safe" from Shakeel Butt converts memcg
   stats to be irq safe. Another step along the way to making memcg
   charging and stats updates NMI-safe, a BPF requirement.

 - "Let unmap_hugepage_range() and several related functions take folio
   instead of page" from Fan Ni provides folio conversions in the
   hugetlb code.

* tag 'mm-stable-2025-05-31-14-50' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (285 commits)
  mm: pcp: increase pcp->free_count threshold to trigger free_high
  mm/hugetlb: convert use of struct page to folio in __unmap_hugepage_range()
  mm/hugetlb: refactor __unmap_hugepage_range() to take folio instead of page
  mm/hugetlb: refactor unmap_hugepage_range() to take folio instead of page
  mm/hugetlb: pass folio instead of page to unmap_ref_private()
  memcg: objcg stock trylock without irq disabling
  memcg: no stock lock for cpu hot-unplug
  memcg: make __mod_memcg_lruvec_state re-entrant safe against irqs
  memcg: make count_memcg_events re-entrant safe against irqs
  memcg: make mod_memcg_state re-entrant safe against irqs
  memcg: move preempt disable to callers of memcg_rstat_updated
  memcg: memcg_rstat_updated re-entrant safe against irqs
  mm: khugepaged: decouple SHMEM and file folios' collapse
  selftests/eventfd: correct test name and improve messages
  alloc_tag: check mem_profiling_support in alloc_tag_init
  Docs/damon: update titles and brief introductions to explain DAMOS
  selftests/damon/_damon_sysfs: read tried regions directories in order
  mm/damon/tests/core-kunit: add a test for damos_set_filters_default_reject()
  mm/damon/paddr: remove unused variable, folio_list, in damon_pa_stat()
  mm/damon/sysfs-schemes: fix wrong comment on damons_sysfs_quota_goal_metric_strs
  ...
Commit
00c010e130e58301db2ea0cec1eadc931e1cb8cf
Parents
b4296655 · c544a952

Merge commit. Changes below are compared with the first parent: b4296655.

Changes

318 files changed · +11602 −4258

FileStatusAddDelContent
CREDITSmodified+1−1View file
Documentation/ABI/testing/sysfs-kernel-mm-damonmodified+6−0View file
Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleavemodified+32−3View file
Documentation/ABI/testing/sysfs-kernel-mm-numamodified+10−6View file
Documentation/ABI/testing/sysfs-kernel-slabmodified+48−48View file
Documentation/admin-guide/blockdev/zram.rstmodified+38−20View file
Documentation/admin-guide/cgroup-v1/cgroups.rstmodified+1−1View file
Documentation/admin-guide/cgroup-v1/cpusets.rstmodified+1−1View file
Documentation/admin-guide/cgroup-v2.rstmodified+27−0View file
Documentation/admin-guide/kernel-parameters.txtmodified+25−0View file
Documentation/admin-guide/mm/damon/index.rstmodified+5−6View file
Documentation/admin-guide/mm/damon/usage.rstmodified+6−6View file
Documentation/admin-guide/mm/index.rstmodified+1−0View file
Documentation/admin-guide/mm/kho.rstadded+115−0View file
Documentation/admin-guide/mm/multigen_lru.rstmodified+3−2View file
Documentation/admin-guide/mm/pagemap.rstmodified+1−0View file
Documentation/admin-guide/sysctl/vm.rstmodified+6−0View file
Documentation/core-api/index.rstmodified+1−0View file
Documentation/core-api/kho/bindings/kho.yamladded+43−0View file
Documentation/core-api/kho/bindings/memblock/memblock.yamladded+39−0View file
Documentation/core-api/kho/bindings/memblock/reserve-mem.yamladded+40−0View file
Documentation/core-api/kho/bindings/sub-fdt.yamladded+27−0View file
Documentation/core-api/kho/concepts.rstadded+74−0View file
Documentation/core-api/kho/fdt.rstadded+80−0View file
Documentation/core-api/kho/index.rstadded+13−0View file
Documentation/mm/damon/design.rstmodified+10−5View file
Documentation/mm/damon/index.rstmodified+3−3View file
Documentation/networking/arcnet-hardware.rstmodified+1−1View file
MAINTAINERSmodified+35−2View file
arch/alpha/include/asm/pgtable.hmodified+0−7View file
arch/arc/include/asm/hugepage.hmodified+0−2View file
arch/arc/include/asm/pgtable-levels.hmodified+0−2View file
arch/arc/include/asm/syscall.hmodified+25−0View file
arch/arm/include/asm/pgtable-3level.hmodified+0−1View file
arch/arm/include/asm/pgtable.hmodified+0−1View file
arch/arm/include/asm/syscall.hmodified+37−0View file
arch/arm/mm/mmu.cmodified+1−1View file
arch/arm/probes/uprobes/core.cmodified+2−2View file
arch/arm64/Kconfigmodified+3−0View file
arch/arm64/include/asm/pgtable-types.hmodified+14−6View file
arch/arm64/include/asm/pgtable.hmodified+0−7View file
arch/arm64/include/asm/ptdump.hmodified+18−6View file
arch/arm64/include/asm/syscall.hmodified+29−0View file
arch/arm64/kernel/efi.cmodified+2−2View file
arch/arm64/kernel/pi/map_kernel.cmodified+1−1View file
arch/arm64/kernel/pi/map_range.cmodified+2−2View file
arch/arm64/kernel/pi/pi.hmodified+1−1View file
arch/arm64/mm/mmap.cmodified+1−1View file
arch/arm64/mm/mmu.cmodified+56−37View file
arch/arm64/mm/ptdump.cmodified+46−4View file
arch/csky/include/asm/pgalloc.hmodified+1−1View file
arch/csky/include/asm/pgtable.hmodified+0−5View file
arch/csky/include/asm/syscall.hmodified+13−0View file
arch/hexagon/include/asm/pgtable.hmodified+0−3View file
arch/hexagon/include/asm/syscall.hmodified+21−0View file
arch/loongarch/include/asm/pgalloc.hmodified+1−1View file
arch/loongarch/include/asm/pgtable.hmodified+0−7View file
arch/loongarch/include/asm/syscall.hmodified+15−0View file
arch/loongarch/mm/pgtable.cmodified+0−9View file
arch/m68k/include/asm/mcf_pgalloc.hmodified+6−2View file
arch/m68k/include/asm/mcf_pgtable.hmodified+0−6View file
arch/m68k/include/asm/motorola_pgalloc.hmodified+5−5View file
arch/m68k/include/asm/motorola_pgtable.hmodified+0−6View file
arch/m68k/include/asm/sun3_pgtable.hmodified+0−6View file
arch/m68k/include/asm/syscall.hmodified+7−0View file
arch/m68k/mm/motorola.cmodified+3−3View file
arch/microblaze/include/asm/pgtable.hmodified+0−8View file
arch/microblaze/include/asm/syscall.hmodified+7−0View file
arch/microblaze/mm/pgtable.cmodified+1−1View file
arch/mips/include/asm/pgalloc.hmodified+1−1View file
arch/mips/include/asm/pgtable.hmodified+0−9View file
arch/mips/include/asm/syscall.hmodified+43−0View file
arch/mips/mm/pgtable-32.cmodified+0−10View file
arch/mips/mm/pgtable-64.cmodified+0−9View file
arch/nios2/include/asm/pgtable.hmodified+0−6View file
arch/nios2/include/asm/syscall.hmodified+16−0View file
arch/openrisc/include/asm/pgtable.hmodified+0−2View file
arch/openrisc/include/asm/syscall.hmodified+13−0View file
arch/openrisc/mm/ioremap.cmodified+1−1View file
arch/parisc/include/asm/pgalloc.hmodified+1−1View file
arch/parisc/include/asm/pgtable.hmodified+0−6View file
arch/parisc/include/asm/syscall.hmodified+19−0View file
arch/powerpc/include/asm/book3s/64/pgtable.hmodified+0−1View file
arch/powerpc/include/asm/pgtable.hmodified+1−2View file
arch/powerpc/include/asm/syscall.hmodified+20−0View file
arch/powerpc/mm/book3s64/pgtable.cmodified+1−6View file
arch/powerpc/mm/pgtable-frag.cmodified+13−17View file
arch/powerpc/mm/ptdump/ptdump.cmodified+44−2View file
arch/riscv/include/asm/pgtable-64.hmodified+0−2View file
arch/riscv/include/asm/pgtable.hmodified+0−2View file
arch/riscv/include/asm/syscall.hmodified+19−0View file
arch/riscv/mm/init.cmodified+16−10View file
arch/riscv/mm/ptdump.cmodified+44−2View file
arch/s390/include/asm/pgalloc.hmodified+1−1View file
arch/s390/include/asm/pgtable.hmodified+0−11View file
arch/s390/include/asm/syscall.hmodified+21−0View file
arch/s390/include/asm/tlb.hmodified+2−2View file
arch/s390/mm/dump_pagetables.cmodified+44−2View file
arch/s390/mm/pgalloc.cmodified+1−1View file
arch/sh/include/asm/pgtable_32.hmodified+0−8View file
arch/sh/include/asm/syscall_32.hmodified+24−0View file
arch/sparc/include/asm/pgtable_32.hmodified+5−10View file
arch/sparc/include/asm/pgtable_64.hmodified+0−2View file
arch/sparc/include/asm/syscall.hmodified+22−0View file
arch/sparc/mm/init_64.cmodified+14−15View file
arch/sparc/mm/srmmu.cmodified+1−1View file
arch/um/include/asm/pgtable-2level.hmodified+0−1View file
arch/um/include/asm/pgtable-4level.hmodified+0−9View file
arch/um/include/asm/pgtable.hmodified+8−10View file
arch/um/include/asm/syscall-generic.hmodified+19−0View file
arch/x86/Kconfigmodified+3−0View file
arch/x86/boot/compressed/kaslr.cmodified+49−1View file
arch/x86/include/asm/pgtable.hmodified+3−18View file
arch/x86/include/asm/setup.hmodified+2−0View file
arch/x86/include/asm/syscall.hmodified+43−0View file
arch/x86/include/uapi/asm/setup_data.hmodified+12−1View file
arch/x86/kernel/e820.cmodified+18−0View file
arch/x86/kernel/kexec-bzimage64.cmodified+37−0View file
arch/x86/kernel/setup.cmodified+34−8View file
arch/x86/mm/dump_pagetables.cmodified+69−2View file
arch/x86/mm/init_64.cmodified+10−5View file
arch/x86/mm/ioremap.cmodified+3−4View file
arch/x86/mm/pat/memtype.cmodified+22−172View file
arch/x86/mm/pat/memtype_interval.cmodified+9−54View file
arch/x86/mm/pgtable.cmodified+4−5View file
arch/x86/realmode/init.cmodified+2−0View file
arch/xtensa/include/asm/pgtable.hmodified+0−6View file
arch/xtensa/include/asm/syscall.hmodified+18−0View file
drivers/acpi/numa/srat.cmodified+13−2View file
drivers/base/memory.cmodified+51−0View file
drivers/base/node.cmodified+9−0View file
drivers/block/zram/zram_drv.cmodified+223−108View file
drivers/dax/kmem.cmodified+9−1View file
drivers/gpu/drm/i915/i915_mm.cmodified+2−2View file
drivers/of/fdt.cmodified+34−0View file
drivers/of/kexec.cmodified+42−0View file
fs/dax.cmodified+1−2View file
fs/exec.cmodified+8−61View file
fs/fuse/file.cmodified+2−2View file
fs/jfs/jfs_metapage.cmodified+106−0View file
fs/proc/page.cmodified+54−107View file
fs/proc/task_mmu.cmodified+10−7View file
include/asm-generic/hugetlb.hmodified+0−5View file
include/asm-generic/memory_model.hmodified+9−1View file
include/asm-generic/pgalloc.hmodified+8−3View file
include/asm-generic/syscall.hmodified+30−0View file
include/linux/cpuset.hmodified+7−2View file
include/linux/damon.hmodified+6−0View file
include/linux/fs.hmodified+25−0View file
include/linux/gfp.hmodified+4−4View file
include/linux/huge_mm.hmodified+7−10View file
include/linux/hugetlb.hmodified+9−6View file
include/linux/kexec.hmodified+5−0View file
include/linux/kexec_handover.hadded+109−0View file
include/linux/khugepaged.hmodified+0−8View file
include/linux/maple_tree.hmodified+4−0View file
include/linux/memblock.hmodified+40−1View file
include/linux/memcontrol.hmodified+18−37View file
include/linux/memory.hmodified+10−0View file
include/linux/mempolicy.hmodified+4−0View file
include/linux/mm.hmodified+109−248View file
include/linux/mm_inline.hmodified+2−0View file
include/linux/mm_types.hmodified+35−1View file
include/linux/mmap_lock.hmodified+227−0View file
include/linux/mmzone.hmodified+88−0View file
include/linux/numa_memblks.hmodified+1−0View file
include/linux/page-flags-layout.hmodified+3−1View file
include/linux/page-flags.hmodified+1−20View file
include/linux/pagemap.hmodified+13−78View file
include/linux/percpu-defs.hmodified+1−1View file
include/linux/pgtable.hmodified+68−63View file
include/linux/ptdump.hmodified+11−4View file
include/linux/rmap.hmodified+1−1View file
include/linux/swap.hmodified+7−5View file
include/linux/uprobes.hmodified+3−3View file
include/linux/util_macros.hmodified+3−0View file
include/linux/xarray.hmodified+15−9View file
include/linux/zpool.hmodified+2−2View file
include/linux/zsmalloc.hmodified+2−1View file
include/trace/events/huge_memory.hmodified+6−6View file
include/trace/events/mmflags.hmodified+1−3View file
include/trace/events/sched.hmodified+33−0View file
include/uapi/linux/fs.hmodified+1−0View file
include/uapi/linux/ptrace.hmodified+6−1View file
init/main.cmodified+2−0View file
kernel/Kconfig.kexecmodified+14−0View file
kernel/Makefilemodified+1−0View file
kernel/bpf/syscall.cmodified+1−1View file
kernel/cgroup/cpuset.cmodified+38−2View file
kernel/events/uprobes.cmodified+182−175View file
kernel/fork.cmodified+4−273View file
kernel/kexec_file.cmodified+13−0View file
kernel/kexec_handover.cadded+1266−0View file
kernel/kexec_internal.hmodified+16−0View file
kernel/power/snapshot.cmodified+20−22View file
kernel/ptrace.cmodified+154−25View file
kernel/sched/fair.cmodified+9−0View file
lib/Kconfig.debugmodified+1−2View file
lib/alloc_tag.cmodified+19−15View file
lib/iov_iter.cmodified+15−15View file
lib/maple_tree.cmodified+111−80View file
lib/test_vmalloc.cmodified+10−12View file
lib/test_xarray.cmodified+15−2View file
lib/xarray.cmodified+6−3View file
mm/Kconfigmodified+5−1View file
mm/Makefilemodified+2−2View file
mm/cma.cmodified+6−5View file
mm/cma.hmodified+4−2View file
mm/compaction.cmodified+9−15View file
mm/damon/core.cmodified+41−0View file
mm/damon/paddr.cmodified+0−1View file
mm/damon/sysfs-schemes.cmodified+43−4View file
mm/damon/tests/core-kunit.hmodified+70−0View file
mm/debug.cmodified+4−2View file
mm/debug_page_alloc.cmodified+1−1View file
mm/debug_vm_pgtable.cmodified+5−13View file
mm/execmem.cmodified+2−0View file
mm/filemap.cmodified+1−1View file
mm/gup.cmodified+36−109View file
mm/huge_memory.cmodified+27−36View file
mm/hugetlb.cmodified+69−68View file
mm/hugetlb_cma.cmodified+7−4View file
mm/internal.hmodified+8−1View file
mm/io-mapping.cmodified+5−4View file
mm/khugepaged.cmodified+12−22View file
mm/kmemleak.cmodified+2−7View file
mm/kmsan/core.cmodified+2−10View file
mm/kmsan/hooks.cmodified+3−3View file
mm/kmsan/init.cmodified+1−2View file
mm/kmsan/instrumentation.cmodified+0−4View file
mm/kmsan/kmsan.hmodified+0−1View file
mm/kmsan/report.cmodified+3−3View file
mm/kmsan/shadow.cmodified+4−3View file
mm/madvise.cmodified+77−24View file
mm/memblock.cmodified+309−8View file
mm/memcontrol-v1.cmodified+4−5View file
mm/memcontrol.cmodified+369−279View file
mm/memfd.cmodified+1−0View file
mm/memory.cmodified+134−296View file
mm/memory_hotplug.cmodified+2−6View file
mm/mempolicy.cmodified+414−144View file
mm/memremap.cmodified+4−4View file
mm/migrate.cmodified+5−18View file
mm/mincore.cmodified+17−5View file
mm/mm_init.cmodified+28−22View file
mm/mmap.cmodified+173−133View file
mm/mmap_lock.cmodified+273−0View file
mm/mmu_notifier.cmodified+1−1View file
mm/mprotect.cmodified+1−1View file
mm/mremap.cmodified+0−4View file
mm/nommu.cmodified+11−17View file
mm/numa.cmodified+1−3View file
mm/numa_memblks.cmodified+22−0View file
mm/page-writeback.cmodified+2−1View file
mm/page_alloc.cmodified+26−36View file
mm/page_owner.cmodified+1−1View file
mm/ptdump.cmodified+42−20View file
mm/rmap.cmodified+15−15View file
mm/secretmem.cmodified+7−7View file
mm/show_mem.cmodified+7−11View file
mm/slab_common.cmodified+1−1View file
mm/swap.cmodified+4−4View file
mm/swap.hmodified+18−0View file
mm/swap_state.cmodified+3−5View file
mm/swapfile.cmodified+87−97View file
mm/userfaultfd.cmodified+1−1View file
mm/vma.cmodified+167−37View file
mm/vma.hmodified+15−0View file
mm/vma_exec.cadded+161−0View file
mm/vma_init.cadded+151−0View file
mm/vmalloc.cmodified+107−101View file
mm/vmscan.cmodified+71−36View file
mm/vmstat.cmodified+1−1View file
mm/workingset.cmodified+1−3View file
mm/zpdesc.hmodified+3−0View file
mm/zpool.cmodified+5−3View file
mm/zsmalloc.cmodified+12−20View file
mm/zswap.cmodified+1−1View file
rust/helpers/helpers.cmodified+1−0View file
rust/helpers/mm.cadded+50−0View file
rust/kernel/lib.rsmodified+1−0View file
rust/kernel/miscdevice.rsmodified+45−0View file
rust/kernel/mm.rsadded+344−0View file
rust/kernel/mm/virt.rsadded+471−0View file
rust/kernel/task.rsmodified+129−118View file
samples/Makefilemodified+1−0View file
samples/damon/Kconfigmodified+13−0View file
samples/damon/Makefilemodified+1−0View file
samples/damon/mtier.cadded+178−0View file
samples/damon/prcl.cmodified+1−1View file
tools/include/uapi/linux/fs.hmodified+18−1View file
tools/testing/memblock/tests/alloc_api.cmodified+11−11View file
tools/testing/memblock/tests/alloc_helpers_api.cmodified+2−2View file
tools/testing/memblock/tests/alloc_nid_api.cmodified+10−10View file
tools/testing/radix-tree/maple.cmodified+118−8View file
tools/testing/selftests/cgroup/test_memcontrol.cmodified+16−6View file
tools/testing/selftests/damon/Makefilemodified+1−1View file
tools/testing/selftests/damon/_chk_dependency.shdeleted+0−52View before deletion
tools/testing/selftests/damon/_damon_sysfs.pymodified+5−0View file
tools/testing/selftests/damon/_debugfs_common.shdeleted+0−64View before deletion
tools/testing/selftests/filesystems/eventfd/eventfd_test.cmodified+3−4View file
tools/testing/selftests/mm/.gitignoremodified+2−0View file
tools/testing/selftests/mm/Makefilemodified+2−0View file
tools/testing/selftests/mm/guard-regions.cmodified+57−0View file
tools/testing/selftests/mm/hugetlb_reparenting_test.shmodified+42−56View file
tools/testing/selftests/mm/map_fixed_noreplace.cmodified+1−1View file
tools/testing/selftests/mm/merge.cadded+455−0View file
tools/testing/selftests/mm/pagemap_ioctl.cmodified+8−8View file
tools/testing/selftests/mm/pfnmap.cadded+196−0View file
tools/testing/selftests/mm/run_vmtests.shmodified+8−0View file
tools/testing/selftests/mm/uffd-unit-tests.cmodified+202−0View file
tools/testing/selftests/mm/vm_util.cmodified+62−0View file
tools/testing/selftests/mm/vm_util.hmodified+21−0View file
tools/testing/selftests/ptrace/Makefilemodified+1−1View file
tools/testing/selftests/ptrace/set_syscall_info.cadded+519−0View file
tools/testing/vma/Makefilemodified+1−1View file
tools/testing/vma/vma.cmodified+71−56View file
tools/testing/vma/vma_internal.hmodified+251−30View file

Only the first 600 diff lines are shown. Download the complete patch.

CREDITS

View file
diff --git a/CREDITS b/CREDITS
index f74d230..45446ae 100644
--- a/CREDITS
+++ b/CREDITS
@@ -2336,7 +2336,7 @@ D: Author of the dialog utility, foundation
D: for Menuconfig's lxdialog.
N: Christoph Lameter
D: Digiboard PC/Xe and PC/Xi, Digiboard EPCA
D: NUMA support, Slab allocators, Page migration
D: Scalability, Time subsystem

Documentation/ABI/testing/sysfs-kernel-mm-damon

View file
diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon
index 293197f..5697ab1 100644
--- a/Documentation/ABI/testing/sysfs-kernel-mm-damon
+++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon
@@ -283,6 +283,12 @@ Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the current
value of the goal metric.
+What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/nid
+Date: Apr 2025
+Contact: SeongJae Park <[email protected]>
+Description: Writing to and reading from this file sets and gets the nid
+ parameter of the goal.
+
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/sz_permil
Date: Mar 2022
Contact: SeongJae Park <[email protected]>

Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave

View file
diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave b/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave
index 0b7972d..649c0e9 100644
--- a/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave
+++ b/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave
@@ -20,6 +20,35 @@ Description: Weight configuration interface for nodeN
Minimum weight: 1
Maximum weight: 255
- Writing an empty string or `0` will reset the weight to the
- system default. The system default may be set by the kernel
- or drivers at boot or during hotplug events.
+ Writing invalid values (i.e. any values not in [1,255],
+ empty string, ...) will return -EINVAL.
+
+ Changing the weight to a valid value will automatically
+ switch the system to manual mode as well.
+
+What: /sys/kernel/mm/mempolicy/weighted_interleave/auto
+Date: May 2025
+Contact: Linux memory management mailing list <[email protected]>
+Description: Auto-weighting configuration interface
+
+ Configuration mode for weighted interleave. 'true' indicates
+ that the system is in auto mode, and a 'false' indicates that
+ the system is in manual mode.
+
+ In auto mode, all node weights are re-calculated and overwritten
+ (visible via the nodeN interfaces) whenever new bandwidth data
+ is made available during either boot or hotplug events.
+
+ In manual mode, node weights can only be updated by the user.
+ Note that nodes that are onlined with previously set weights
+ will reuse those weights. If they were not previously set or
+ are onlined with missing bandwidth data, the weights will use
+ a default weight of 1.
+
+ Writing any true value string (e.g. Y or 1) will enable auto
+ mode, while writing any false value string (e.g. N or 0) will
+ enable manual mode. All other strings are ignored and will
+ return -EINVAL.
+
+ Writing a new weight to a node directly via the nodeN interface
+ will also automatically switch the system to manual mode.

Documentation/ABI/testing/sysfs-kernel-mm-numa

View file
diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-numa b/Documentation/ABI/testing/sysfs-kernel-mm-numa
index 77e559d..90e375f 100644
--- a/Documentation/ABI/testing/sysfs-kernel-mm-numa
+++ b/Documentation/ABI/testing/sysfs-kernel-mm-numa
@@ -16,9 +16,13 @@ Description: Enable/disable demoting pages during reclaim
Allowing page migration during reclaim enables these
systems to migrate pages from fast tiers to slow tiers
when the fast tier is under pressure. This migration
- is performed before swap. It may move data to a NUMA
- node that does not fall into the cpuset of the
- allocating process which might be construed to violate
- the guarantees of cpusets. This should not be enabled
- on systems which need strict cpuset location
- guarantees.
+ is performed before swap if an eligible numa node is
+ present in cpuset.mems for the cgroup (or if cpuset v1
+ is being used). If cpusets.mems changes at runtime, it
+ may move data to a NUMA node that does not fall into the
+ cpuset of the new cpusets.mems, which might be construed
+ to violate the guarantees of cpusets. Shared memory,
+ such as libraries, owned by another cgroup may still be
+ demoted and result in memory use on a node not present
+ in cpusets.mem. This should not be enabled on systems
+ which need strict cpuset location guarantees.

Documentation/ABI/testing/sysfs-kernel-slab

View file
diff --git a/Documentation/ABI/testing/sysfs-kernel-slab b/Documentation/ABI/testing/sysfs-kernel-slab
index cd5fb8f..658999b 100644
--- a/Documentation/ABI/testing/sysfs-kernel-slab
+++ b/Documentation/ABI/testing/sysfs-kernel-slab
@@ -2,7 +2,7 @@ What: /sys/kernel/slab
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The /sys/kernel/slab directory contains a snapshot of the
internal state of the SLUB allocator for each cache. Certain
@@ -14,7 +14,7 @@ What: /sys/kernel/slab/<cache>/aliases
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The aliases file is read-only and specifies how many caches
have merged into this cache.
@@ -23,7 +23,7 @@ What: /sys/kernel/slab/<cache>/align
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The align file is read-only and specifies the cache's object
alignment in bytes.
@@ -32,7 +32,7 @@ What: /sys/kernel/slab/<cache>/alloc_calls
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The alloc_calls file is read-only and lists the kernel code
locations from which allocations for this cache were performed.
@@ -43,7 +43,7 @@ What: /sys/kernel/slab/<cache>/alloc_fastpath
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The alloc_fastpath file shows how many objects have been
allocated using the fast path. It can be written to clear the
@@ -54,7 +54,7 @@ What: /sys/kernel/slab/<cache>/alloc_from_partial
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The alloc_from_partial file shows how many times a cpu slab has
been full and it has been refilled by using a slab from the list
@@ -66,7 +66,7 @@ What: /sys/kernel/slab/<cache>/alloc_refill
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The alloc_refill file shows how many times the per-cpu freelist
was empty but there were objects available as the result of
@@ -77,7 +77,7 @@ What: /sys/kernel/slab/<cache>/alloc_slab
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The alloc_slab file is shows how many times a new slab had to
be allocated from the page allocator. It can be written to
@@ -88,7 +88,7 @@ What: /sys/kernel/slab/<cache>/alloc_slowpath
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The alloc_slowpath file shows how many objects have been
allocated using the slow path because of a refill or
@@ -100,7 +100,7 @@ What: /sys/kernel/slab/<cache>/cache_dma
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The cache_dma file is read-only and specifies whether objects
are from ZONE_DMA.
@@ -110,7 +110,7 @@ What: /sys/kernel/slab/<cache>/cpu_slabs
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The cpu_slabs file is read-only and displays how many cpu slabs
are active and their NUMA locality.
@@ -119,7 +119,7 @@ What: /sys/kernel/slab/<cache>/cpuslab_flush
Date: April 2009
KernelVersion: 2.6.31
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The file cpuslab_flush shows how many times a cache's cpu slabs
have been flushed as the result of destroying or shrinking a
@@ -132,7 +132,7 @@ What: /sys/kernel/slab/<cache>/ctor
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The ctor file is read-only and specifies the cache's object
constructor function, which is invoked for each object when a
@@ -142,7 +142,7 @@ What: /sys/kernel/slab/<cache>/deactivate_empty
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The deactivate_empty file shows how many times an empty cpu slab
was deactivated. It can be written to clear the current count.
@@ -152,7 +152,7 @@ What: /sys/kernel/slab/<cache>/deactivate_full
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The deactivate_full file shows how many times a full cpu slab
was deactivated. It can be written to clear the current count.
@@ -162,7 +162,7 @@ What: /sys/kernel/slab/<cache>/deactivate_remote_frees
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The deactivate_remote_frees file shows how many times a cpu slab
has been deactivated and contained free objects that were freed
@@ -173,7 +173,7 @@ What: /sys/kernel/slab/<cache>/deactivate_to_head
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The deactivate_to_head file shows how many times a partial cpu
slab was deactivated and added to the head of its node's partial
@@ -184,7 +184,7 @@ What: /sys/kernel/slab/<cache>/deactivate_to_tail
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The deactivate_to_tail file shows how many times a partial cpu
slab was deactivated and added to the tail of its node's partial
@@ -195,7 +195,7 @@ What: /sys/kernel/slab/<cache>/destroy_by_rcu
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The destroy_by_rcu file is read-only and specifies whether
slabs (not objects) are freed by rcu.
@@ -204,7 +204,7 @@ What: /sys/kernel/slab/<cache>/free_add_partial
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The free_add_partial file shows how many times an object has
been freed in a full slab so that it had to added to its node's
@@ -215,7 +215,7 @@ What: /sys/kernel/slab/<cache>/free_calls
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The free_calls file is read-only and lists the locations of
object frees if slab debugging is enabled (see
@@ -225,7 +225,7 @@ What: /sys/kernel/slab/<cache>/free_fastpath
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The free_fastpath file shows how many objects have been freed
using the fast path because it was an object from the cpu slab.
@@ -236,7 +236,7 @@ What: /sys/kernel/slab/<cache>/free_frozen
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The free_frozen file shows how many objects have been freed to
a frozen slab (i.e. a remote cpu slab). It can be written to
@@ -247,7 +247,7 @@ What: /sys/kernel/slab/<cache>/free_remove_partial
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The free_remove_partial file shows how many times an object has
been freed to a now-empty slab so that it had to be removed from
@@ -259,7 +259,7 @@ What: /sys/kernel/slab/<cache>/free_slab
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The free_slab file shows how many times an empty slab has been
freed back to the page allocator. It can be written to clear
@@ -270,7 +270,7 @@ What: /sys/kernel/slab/<cache>/free_slowpath
Date: February 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The free_slowpath file shows how many objects have been freed
using the slow path (i.e. to a full or partial slab). It can
@@ -281,7 +281,7 @@ What: /sys/kernel/slab/<cache>/hwcache_align
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The hwcache_align file is read-only and specifies whether
objects are aligned on cachelines.
@@ -301,7 +301,7 @@ What: /sys/kernel/slab/<cache>/object_size
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The object_size file is read-only and specifies the cache's
object size.
@@ -310,7 +310,7 @@ What: /sys/kernel/slab/<cache>/objects
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The objects file is read-only and displays how many objects are
active and from which nodes they are from.
@@ -319,7 +319,7 @@ What: /sys/kernel/slab/<cache>/objects_partial
Date: April 2008
KernelVersion: 2.6.26
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The objects_partial file is read-only and displays how many
objects are on partial slabs and from which nodes they are
@@ -329,7 +329,7 @@ What: /sys/kernel/slab/<cache>/objs_per_slab
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The file objs_per_slab is read-only and specifies how many
objects may be allocated from a single slab of the order
@@ -339,7 +339,7 @@ What: /sys/kernel/slab/<cache>/order
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The order file specifies the page order at which new slabs are
allocated. It is writable and can be changed to increase the
@@ -356,7 +356,7 @@ What: /sys/kernel/slab/<cache>/order_fallback
Date: April 2008
KernelVersion: 2.6.26
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The order_fallback file shows how many times an allocation of a
new slab has not been possible at the cache's order and instead
@@ -369,7 +369,7 @@ What: /sys/kernel/slab/<cache>/partial
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The partial file is read-only and displays how long many
partial slabs there are and how long each node's list is.
@@ -378,7 +378,7 @@ What: /sys/kernel/slab/<cache>/poison
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The poison file specifies whether objects should be poisoned
when a new slab is allocated.
@@ -387,7 +387,7 @@ What: /sys/kernel/slab/<cache>/reclaim_account
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The reclaim_account file specifies whether the cache's objects
are reclaimable (and grouped by their mobility).
@@ -396,7 +396,7 @@ What: /sys/kernel/slab/<cache>/red_zone
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The red_zone file specifies whether the cache's objects are red
zoned.
@@ -405,7 +405,7 @@ What: /sys/kernel/slab/<cache>/remote_node_defrag_ratio
Date: January 2008
KernelVersion: 2.6.25
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The file remote_node_defrag_ratio specifies the percentage of
times SLUB will attempt to refill the cpu slab with a partial
@@ -419,7 +419,7 @@ What: /sys/kernel/slab/<cache>/sanity_checks
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The sanity_checks file specifies whether expensive checks
should be performed on free and, at minimum, enables double free
@@ -430,7 +430,7 @@ What: /sys/kernel/slab/<cache>/shrink
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The shrink file is used to reclaim unused slab cache
memory from a cache. Empty per-cpu or partial slabs
@@ -446,7 +446,7 @@ What: /sys/kernel/slab/<cache>/slab_size
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The slab_size file is read-only and specifies the object size
with metadata (debugging information and alignment) in bytes.
@@ -455,7 +455,7 @@ What: /sys/kernel/slab/<cache>/slabs
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The slabs file is read-only and displays how long many slabs
there are (both cpu and partial) and from which nodes they are
@@ -465,7 +465,7 @@ What: /sys/kernel/slab/<cache>/store_user
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The store_user file specifies whether the location of
allocation or free should be tracked for a cache.
@@ -474,7 +474,7 @@ What: /sys/kernel/slab/<cache>/total_objects
Date: April 2008
KernelVersion: 2.6.26
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The total_objects file is read-only and displays how many total
objects a cache has and from which nodes they are from.
@@ -483,7 +483,7 @@ What: /sys/kernel/slab/<cache>/trace
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
The trace file specifies whether object allocations and frees
should be traced.
@@ -492,7 +492,7 @@ What: /sys/kernel/slab/<cache>/validate
Date: May 2007
KernelVersion: 2.6.22
Contact: Pekka Enberg <[email protected]>,
- Christoph Lameter <[email protected]>
+ Christoph Lameter <[email protected]>
Description:
Writing to the validate file causes SLUB to traverse all of its
cache's objects and check the validity of metadata.
@@ -506,14 +506,14 @@ Description:
What: /sys/kernel/slab/<cache>/slabs_cpu_partial
Date: Aug 2011
-Contact: Christoph Lameter <[email protected]>
+Contact: Christoph Lameter <[email protected]>
Description:
This read-only file shows the number of partialli allocated
frozen slabs.
What: /sys/kernel/slab/<cache>/cpu_partial
Date: Aug 2011
-Contact: Christoph Lameter <[email protected]>
+Contact: Christoph Lameter <[email protected]>
Description:
This read-only file shows the number of per cpu partial
pages to keep around.

Documentation/admin-guide/blockdev/zram.rst

View file
diff --git a/Documentation/admin-guide/blockdev/zram.rst b/Documentation/admin-guide/blockdev/zram.rst
index 9bdb309..3e273c1 100644
--- a/Documentation/admin-guide/blockdev/zram.rst
+++ b/Documentation/admin-guide/blockdev/zram.rst
@@ -317,6 +317,26 @@ a single line of text and contains the following stats separated by whitespace:
Optional Feature
================
+IDLE pages tracking
+-------------------
+
+zram has built-in support for idle pages tracking (that is, allocated but
+not used pages). This feature is useful for e.g. zram writeback and
+recompression. In order to mark pages as idle, execute the following command::
+
+ echo all > /sys/block/zramX/idle
+
+This will mark all allocated zram pages as idle. The idle mark will be
+removed only when the page (block) is accessed (e.g. overwritten or freed).
+Additionally, when CONFIG_ZRAM_TRACK_ENTRY_ACTIME is enabled, pages can be
+marked as idle based on how many seconds have passed since the last access to
+a particular zram page::
+
+ echo 86400 > /sys/block/zramX/idle
+
+In this example, all pages which haven't been accessed in more than 86400
+seconds (one day) will be marked idle.
+
writeback
---------
@@ -331,24 +351,7 @@ If admin wants to use incompressible page writeback, they could do it via::
echo huge > /sys/block/zramX/writeback
-To use idle page writeback, first, user need to declare zram pages
-as idle::
-
- echo all > /sys/block/zramX/idle
-
-From now on, any pages on zram are idle pages. The idle mark
-will be removed until someone requests access of the block.
-IOW, unless there is access request, those pages are still idle pages.
-Additionally, when CONFIG_ZRAM_TRACK_ENTRY_ACTIME is enabled pages can be
-marked as idle based on how long (in seconds) it's been since they were
-last accessed::
-
- echo 86400 > /sys/block/zramX/idle
-
-In this example all pages which haven't been accessed in more than 86400
-seconds (one day) will be marked idle.
-
-Admin can request writeback of those idle pages at right timing via::
+Admin can request writeback of idle pages at right timing via::
echo idle > /sys/block/zramX/writeback
@@ -369,6 +372,23 @@ they could write a page index into the interface::
echo "page_index=1251" > /sys/block/zramX/writeback
+In Linux 6.16 this interface underwent some rework. First, the interface
+now supports `key=value` format for all of its parameters (`type=huge_idle`,
+etc.) Second, the support for `page_indexes` was introduced, which specify
+`LOW-HIGH` range (or ranges) of pages to be written-back. This reduces the
+number of syscalls, but more importantly this enables optimal post-processing
+target selection strategy. Usage example::
+

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/cgroup-v1/cgroups.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/cgroup-v1/cpusets.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/cgroup-v2.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/kernel-parameters.txt

View file

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/mm/damon/index.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/mm/damon/usage.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/mm/index.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/mm/kho.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/mm/multigen_lru.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/mm/pagemap.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/sysctl/vm.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/core-api/index.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/core-api/kho/bindings/kho.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/core-api/kho/bindings/memblock/memblock.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/core-api/kho/bindings/memblock/reserve-mem.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/core-api/kho/bindings/sub-fdt.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/core-api/kho/concepts.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/core-api/kho/fdt.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/core-api/kho/index.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/mm/damon/design.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/mm/damon/index.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/networking/arcnet-hardware.rst

View file

This diff is incomplete. Download the complete patch.

MAINTAINERS

View file

This diff is incomplete. Download the complete patch.

arch/alpha/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/arc/include/asm/hugepage.h

View file

This diff is incomplete. Download the complete patch.

arch/arc/include/asm/pgtable-levels.h

View file

This diff is incomplete. Download the complete patch.

arch/arc/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/include/asm/pgtable-3level.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mm/mmu.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/probes/uprobes/core.c

View file

This diff is incomplete. Download the complete patch.

arch/arm64/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm64/include/asm/pgtable-types.h

View file

This diff is incomplete. Download the complete patch.

arch/arm64/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/arm64/include/asm/ptdump.h

View file

This diff is incomplete. Download the complete patch.

arch/arm64/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/arm64/kernel/efi.c

View file

This diff is incomplete. Download the complete patch.

arch/arm64/kernel/pi/map_kernel.c

View file

This diff is incomplete. Download the complete patch.

arch/arm64/kernel/pi/map_range.c

View file

This diff is incomplete. Download the complete patch.

arch/arm64/kernel/pi/pi.h

View file

This diff is incomplete. Download the complete patch.

arch/arm64/mm/mmap.c

View file

This diff is incomplete. Download the complete patch.

arch/arm64/mm/mmu.c

View file

This diff is incomplete. Download the complete patch.

arch/arm64/mm/ptdump.c

View file

This diff is incomplete. Download the complete patch.

arch/csky/include/asm/pgalloc.h

View file

This diff is incomplete. Download the complete patch.

arch/csky/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/csky/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/hexagon/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/hexagon/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/loongarch/include/asm/pgalloc.h

View file

This diff is incomplete. Download the complete patch.

arch/loongarch/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/loongarch/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/loongarch/mm/pgtable.c

View file

This diff is incomplete. Download the complete patch.

arch/m68k/include/asm/mcf_pgalloc.h

View file

This diff is incomplete. Download the complete patch.

arch/m68k/include/asm/mcf_pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/m68k/include/asm/motorola_pgalloc.h

View file

This diff is incomplete. Download the complete patch.

arch/m68k/include/asm/motorola_pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/m68k/include/asm/sun3_pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/m68k/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/m68k/mm/motorola.c

View file

This diff is incomplete. Download the complete patch.

arch/microblaze/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/microblaze/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/microblaze/mm/pgtable.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/include/asm/pgalloc.h

View file

This diff is incomplete. Download the complete patch.

arch/mips/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/mips/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/mips/mm/pgtable-32.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/mm/pgtable-64.c

View file

This diff is incomplete. Download the complete patch.

arch/nios2/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/nios2/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/openrisc/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/openrisc/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/openrisc/mm/ioremap.c

View file

This diff is incomplete. Download the complete patch.

arch/parisc/include/asm/pgalloc.h

View file

This diff is incomplete. Download the complete patch.

arch/parisc/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/parisc/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/book3s/64/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/mm/book3s64/pgtable.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/mm/pgtable-frag.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/mm/ptdump/ptdump.c

View file

This diff is incomplete. Download the complete patch.

arch/riscv/include/asm/pgtable-64.h

View file

This diff is incomplete. Download the complete patch.

arch/riscv/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/riscv/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/riscv/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/riscv/mm/ptdump.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/pgalloc.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/tlb.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/dump_pagetables.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/pgalloc.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/include/asm/pgtable_32.h

View file

This diff is incomplete. Download the complete patch.

arch/sh/include/asm/syscall_32.h

View file

This diff is incomplete. Download the complete patch.

arch/sparc/include/asm/pgtable_32.h

View file

This diff is incomplete. Download the complete patch.

arch/sparc/include/asm/pgtable_64.h

View file

This diff is incomplete. Download the complete patch.

arch/sparc/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/sparc/mm/init_64.c

View file

This diff is incomplete. Download the complete patch.

arch/sparc/mm/srmmu.c

View file

This diff is incomplete. Download the complete patch.

arch/um/include/asm/pgtable-2level.h

View file

This diff is incomplete. Download the complete patch.

arch/um/include/asm/pgtable-4level.h

View file

This diff is incomplete. Download the complete patch.

arch/um/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/um/include/asm/syscall-generic.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/x86/boot/compressed/kaslr.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/include/asm/setup.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/include/uapi/asm/setup_data.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/kernel/e820.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/kernel/kexec-bzimage64.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/kernel/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/mm/dump_pagetables.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/mm/init_64.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/mm/ioremap.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/mm/pat/memtype.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/mm/pat/memtype_interval.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/mm/pgtable.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/realmode/init.c

View file

This diff is incomplete. Download the complete patch.

arch/xtensa/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/xtensa/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

drivers/acpi/numa/srat.c

View file

This diff is incomplete. Download the complete patch.

drivers/base/memory.c

View file

This diff is incomplete. Download the complete patch.

drivers/base/node.c

View file

This diff is incomplete. Download the complete patch.

drivers/block/zram/zram_drv.c

View file

This diff is incomplete. Download the complete patch.

drivers/dax/kmem.c

View file

This diff is incomplete. Download the complete patch.

drivers/gpu/drm/i915/i915_mm.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/fdt.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/kexec.c

View file

This diff is incomplete. Download the complete patch.

fs/dax.c

View file

This diff is incomplete. Download the complete patch.

fs/exec.c

View file

This diff is incomplete. Download the complete patch.

fs/fuse/file.c

View file

This diff is incomplete. Download the complete patch.

fs/jfs/jfs_metapage.c

View file

This diff is incomplete. Download the complete patch.

fs/proc/page.c

View file

This diff is incomplete. Download the complete patch.

fs/proc/task_mmu.c

View file

This diff is incomplete. Download the complete patch.

include/asm-generic/hugetlb.h

View file

This diff is incomplete. Download the complete patch.

include/asm-generic/memory_model.h

View file

This diff is incomplete. Download the complete patch.

include/asm-generic/pgalloc.h

View file

This diff is incomplete. Download the complete patch.

include/asm-generic/syscall.h

View file

This diff is incomplete. Download the complete patch.

include/linux/cpuset.h

View file

This diff is incomplete. Download the complete patch.

include/linux/damon.h

View file

This diff is incomplete. Download the complete patch.

include/linux/fs.h

View file

This diff is incomplete. Download the complete patch.

include/linux/gfp.h

View file

This diff is incomplete. Download the complete patch.

include/linux/huge_mm.h

View file

This diff is incomplete. Download the complete patch.

include/linux/hugetlb.h

View file

This diff is incomplete. Download the complete patch.

include/linux/kexec.h

View file

This diff is incomplete. Download the complete patch.

include/linux/kexec_handover.h

View file

This diff is incomplete. Download the complete patch.

include/linux/khugepaged.h

View file

This diff is incomplete. Download the complete patch.

include/linux/maple_tree.h

View file

This diff is incomplete. Download the complete patch.

include/linux/memblock.h

View file

This diff is incomplete. Download the complete patch.

include/linux/memcontrol.h

View file

This diff is incomplete. Download the complete patch.

include/linux/memory.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mempolicy.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mm.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mm_inline.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mm_types.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mmap_lock.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mmzone.h

View file

This diff is incomplete. Download the complete patch.

include/linux/numa_memblks.h

View file

This diff is incomplete. Download the complete patch.

include/linux/page-flags-layout.h

View file

This diff is incomplete. Download the complete patch.

include/linux/page-flags.h

View file

This diff is incomplete. Download the complete patch.

include/linux/pagemap.h

View file

This diff is incomplete. Download the complete patch.

include/linux/percpu-defs.h

View file

This diff is incomplete. Download the complete patch.

include/linux/pgtable.h

View file

This diff is incomplete. Download the complete patch.

include/linux/ptdump.h

View file

This diff is incomplete. Download the complete patch.

include/linux/rmap.h

View file

This diff is incomplete. Download the complete patch.

include/linux/swap.h

View file

This diff is incomplete. Download the complete patch.

include/linux/uprobes.h

View file

This diff is incomplete. Download the complete patch.

include/linux/util_macros.h

View file

This diff is incomplete. Download the complete patch.

include/linux/xarray.h

View file

This diff is incomplete. Download the complete patch.

include/linux/zpool.h

View file

This diff is incomplete. Download the complete patch.

include/linux/zsmalloc.h

View file

This diff is incomplete. Download the complete patch.

include/trace/events/huge_memory.h

View file

This diff is incomplete. Download the complete patch.

include/trace/events/mmflags.h

View file

This diff is incomplete. Download the complete patch.

include/trace/events/sched.h

View file

This diff is incomplete. Download the complete patch.

include/uapi/linux/fs.h

View file

This diff is incomplete. Download the complete patch.

include/uapi/linux/ptrace.h

View file

This diff is incomplete. Download the complete patch.

init/main.c

View file

This diff is incomplete. Download the complete patch.

kernel/Kconfig.kexec

View file

This diff is incomplete. Download the complete patch.

kernel/Makefile

View file

This diff is incomplete. Download the complete patch.

kernel/bpf/syscall.c

View file

This diff is incomplete. Download the complete patch.

kernel/cgroup/cpuset.c

View file

This diff is incomplete. Download the complete patch.

kernel/events/uprobes.c

View file

This diff is incomplete. Download the complete patch.

kernel/fork.c

View file

This diff is incomplete. Download the complete patch.

kernel/kexec_file.c

View file

This diff is incomplete. Download the complete patch.

kernel/kexec_handover.c

View file

This diff is incomplete. Download the complete patch.

kernel/kexec_internal.h

View file

This diff is incomplete. Download the complete patch.

kernel/power/snapshot.c

View file

This diff is incomplete. Download the complete patch.

kernel/ptrace.c

View file

This diff is incomplete. Download the complete patch.

kernel/sched/fair.c

View file

This diff is incomplete. Download the complete patch.

lib/Kconfig.debug

View file

This diff is incomplete. Download the complete patch.

lib/alloc_tag.c

View file

This diff is incomplete. Download the complete patch.

lib/iov_iter.c

View file

This diff is incomplete. Download the complete patch.

lib/maple_tree.c

View file

This diff is incomplete. Download the complete patch.

lib/test_vmalloc.c

View file

This diff is incomplete. Download the complete patch.

lib/test_xarray.c

View file

This diff is incomplete. Download the complete patch.

lib/xarray.c

View file

This diff is incomplete. Download the complete patch.

mm/Kconfig

View file

This diff is incomplete. Download the complete patch.

mm/Makefile

View file

This diff is incomplete. Download the complete patch.

mm/cma.c

View file

This diff is incomplete. Download the complete patch.

mm/cma.h

View file

This diff is incomplete. Download the complete patch.

mm/compaction.c

View file

This diff is incomplete. Download the complete patch.

mm/damon/core.c

View file

This diff is incomplete. Download the complete patch.

mm/damon/paddr.c

View file

This diff is incomplete. Download the complete patch.

mm/damon/sysfs-schemes.c

View file

This diff is incomplete. Download the complete patch.

mm/damon/tests/core-kunit.h

View file

This diff is incomplete. Download the complete patch.

mm/debug.c

View file

This diff is incomplete. Download the complete patch.

mm/debug_page_alloc.c

View file

This diff is incomplete. Download the complete patch.

mm/debug_vm_pgtable.c

View file

This diff is incomplete. Download the complete patch.

mm/execmem.c

View file

This diff is incomplete. Download the complete patch.

mm/filemap.c

View file

This diff is incomplete. Download the complete patch.

mm/gup.c

View file

This diff is incomplete. Download the complete patch.

mm/huge_memory.c

View file

This diff is incomplete. Download the complete patch.

mm/hugetlb.c

View file

This diff is incomplete. Download the complete patch.

mm/hugetlb_cma.c

View file

This diff is incomplete. Download the complete patch.

mm/internal.h

View file

This diff is incomplete. Download the complete patch.

mm/io-mapping.c

View file

This diff is incomplete. Download the complete patch.

mm/khugepaged.c

View file

This diff is incomplete. Download the complete patch.

mm/kmemleak.c

View file

This diff is incomplete. Download the complete patch.

mm/kmsan/core.c

View file

This diff is incomplete. Download the complete patch.

mm/kmsan/hooks.c

View file

This diff is incomplete. Download the complete patch.

mm/kmsan/init.c

View file

This diff is incomplete. Download the complete patch.

mm/kmsan/instrumentation.c

View file

This diff is incomplete. Download the complete patch.

mm/kmsan/kmsan.h

View file

This diff is incomplete. Download the complete patch.

mm/kmsan/report.c

View file

This diff is incomplete. Download the complete patch.

mm/kmsan/shadow.c

View file

This diff is incomplete. Download the complete patch.

mm/madvise.c

View file

This diff is incomplete. Download the complete patch.

mm/memblock.c

View file

This diff is incomplete. Download the complete patch.

mm/memcontrol-v1.c

View file

This diff is incomplete. Download the complete patch.

mm/memcontrol.c

View file

This diff is incomplete. Download the complete patch.

mm/memfd.c

View file

This diff is incomplete. Download the complete patch.

mm/memory.c

View file

This diff is incomplete. Download the complete patch.

mm/memory_hotplug.c

View file

This diff is incomplete. Download the complete patch.

mm/mempolicy.c

View file

This diff is incomplete. Download the complete patch.

mm/memremap.c

View file

This diff is incomplete. Download the complete patch.

mm/migrate.c

View file

This diff is incomplete. Download the complete patch.

mm/mincore.c

View file

This diff is incomplete. Download the complete patch.

mm/mm_init.c

View file

This diff is incomplete. Download the complete patch.

mm/mmap.c

View file

This diff is incomplete. Download the complete patch.

mm/mmap_lock.c

View file

This diff is incomplete. Download the complete patch.

mm/mmu_notifier.c

View file

This diff is incomplete. Download the complete patch.

mm/mprotect.c

View file

This diff is incomplete. Download the complete patch.

mm/mremap.c

View file

This diff is incomplete. Download the complete patch.

mm/nommu.c

View file

This diff is incomplete. Download the complete patch.

mm/numa.c

View file

This diff is incomplete. Download the complete patch.

mm/numa_memblks.c

View file

This diff is incomplete. Download the complete patch.

mm/page-writeback.c

View file

This diff is incomplete. Download the complete patch.

mm/page_alloc.c

View file

This diff is incomplete. Download the complete patch.

mm/page_owner.c

View file

This diff is incomplete. Download the complete patch.

mm/ptdump.c

View file

This diff is incomplete. Download the complete patch.

mm/rmap.c

View file

This diff is incomplete. Download the complete patch.

mm/secretmem.c

View file

This diff is incomplete. Download the complete patch.

mm/show_mem.c

View file

This diff is incomplete. Download the complete patch.

mm/slab_common.c

View file

This diff is incomplete. Download the complete patch.

mm/swap.c

View file

This diff is incomplete. Download the complete patch.

mm/swap.h

View file

This diff is incomplete. Download the complete patch.

mm/swap_state.c

View file

This diff is incomplete. Download the complete patch.

mm/swapfile.c

View file

This diff is incomplete. Download the complete patch.

mm/userfaultfd.c

View file

This diff is incomplete. Download the complete patch.

mm/vma.c

View file

This diff is incomplete. Download the complete patch.

mm/vma.h

View file

This diff is incomplete. Download the complete patch.

mm/vma_exec.c

View file

This diff is incomplete. Download the complete patch.

mm/vma_init.c

View file

This diff is incomplete. Download the complete patch.

mm/vmalloc.c

View file

This diff is incomplete. Download the complete patch.

mm/vmscan.c

View file

This diff is incomplete. Download the complete patch.

mm/vmstat.c

View file

This diff is incomplete. Download the complete patch.

mm/workingset.c

View file

This diff is incomplete. Download the complete patch.

mm/zpdesc.h

View file

This diff is incomplete. Download the complete patch.

mm/zpool.c

View file

This diff is incomplete. Download the complete patch.

mm/zsmalloc.c

View file

This diff is incomplete. Download the complete patch.

mm/zswap.c

View file

This diff is incomplete. Download the complete patch.

rust/helpers/helpers.c

View file

This diff is incomplete. Download the complete patch.

rust/helpers/mm.c

View file

This diff is incomplete. Download the complete patch.

rust/kernel/lib.rs

View file

This diff is incomplete. Download the complete patch.

rust/kernel/miscdevice.rs

View file

This diff is incomplete. Download the complete patch.

rust/kernel/mm.rs

View file

This diff is incomplete. Download the complete patch.

rust/kernel/mm/virt.rs

View file

This diff is incomplete. Download the complete patch.

rust/kernel/task.rs

View file

This diff is incomplete. Download the complete patch.

samples/Makefile

View file

This diff is incomplete. Download the complete patch.

samples/damon/Kconfig

View file

This diff is incomplete. Download the complete patch.

samples/damon/Makefile

View file

This diff is incomplete. Download the complete patch.

samples/damon/mtier.c

View file

This diff is incomplete. Download the complete patch.

samples/damon/prcl.c

View file

This diff is incomplete. Download the complete patch.

tools/include/uapi/linux/fs.h

View file

This diff is incomplete. Download the complete patch.

tools/testing/memblock/tests/alloc_api.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/memblock/tests/alloc_helpers_api.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/memblock/tests/alloc_nid_api.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/radix-tree/maple.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/cgroup/test_memcontrol.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/damon/Makefile

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/damon/_chk_dependency.sh

View before deletion

This diff is incomplete. Download the complete patch.

tools/testing/selftests/damon/_damon_sysfs.py

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/damon/_debugfs_common.sh

View before deletion

This diff is incomplete. Download the complete patch.

tools/testing/selftests/filesystems/eventfd/eventfd_test.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/.gitignore

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/Makefile

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/guard-regions.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/hugetlb_reparenting_test.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/map_fixed_noreplace.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/merge.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/pagemap_ioctl.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/pfnmap.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/run_vmtests.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/uffd-unit-tests.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/vm_util.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/vm_util.h

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/ptrace/Makefile

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/ptrace/set_syscall_info.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/vma/Makefile

View file

This diff is incomplete. Download the complete patch.

tools/testing/vma/vma.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/vma/vma_internal.h

View file

This diff is incomplete. Download the complete patch.