projects/linux·commit 4cff5c05

Merge tag 'mm-stable-2026-02-11-19-22' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

4cff5c05 · Linus Torvalds <[email protected]> · 2026-02-12 11:32:37 -08:00

Pull MM updates from Andrew Morton:

 - "powerpc/64s: do not re-activate batched TLB flush" makes
   arch_{enter|leave}_lazy_mmu_mode() nest properly (Alexander Gordeev)

   It adds a generic enter/leave layer and switches architectures to use
   it. Various hacks were removed in the process.

 - "zram: introduce compressed data writeback" implements data
   compression for zram writeback (Richard Chang and Sergey Senozhatsky)

 - "mm: folio_zero_user: clear page ranges" adds clearing of contiguous
   page ranges for hugepages. Large improvements during demand faulting
   are demonstrated (David Hildenbrand)

 - "memcg cleanups" tidies up some memcg code (Chen Ridong)

 - "mm/damon: introduce {,max_}nr_snapshots and tracepoint for damos
   stats" improves DAMOS stat's provided information, deterministic
   control, and readability (SeongJae Park)

 - "selftests/mm: hugetlb cgroup charging: robustness fixes" fixes a few
   issues in the hugetlb cgroup charging selftests (Li Wang)

 - "Fix va_high_addr_switch.sh test failure - again" addresses several
   issues in the va_high_addr_switch test (Chunyu Hu)

 - "mm/damon/tests/core-kunit: extend existing test scenarios" improves
   the KUnit test coverage for DAMON (Shu Anzai)

 - "mm/khugepaged: fix dirty page handling for MADV_COLLAPSE" fixes a
   glitch in khugepaged which was causing madvise(MADV_COLLAPSE) to
   transiently return -EAGAIN (Shivank Garg)

 - "arch, mm: consolidate hugetlb early reservation" reworks and
   consolidates a pile of straggly code related to reservation of
   hugetlb memory from bootmem and creation of CMA areas for hugetlb
   (Mike Rapoport)

 - "mm: clean up anon_vma implementation" cleans up the anon_vma
   implementation in various ways (Lorenzo Stoakes)

 - "tweaks for __alloc_pages_slowpath()" does a little streamlining of
   the page allocator's slowpath code (Vlastimil Babka)

 - "memcg: separate private and public ID namespaces" cleans up the
   memcg ID code and prevents the internal-only private IDs from being
   exposed to userspace (Shakeel Butt)

 - "mm: hugetlb: allocate frozen gigantic folio" cleans up the
   allocation of frozen folios and avoids some atomic refcount
   operations (Kefeng Wang)

 - "mm/damon: advance DAMOS-based LRU sorting" improves DAMOS's movement
   of memory betewwn the active and inactive LRUs and adds auto-tuning
   of the ratio-based quotas and of monitoring intervals (SeongJae Park)

 - "Support page table check on PowerPC" makes
   CONFIG_PAGE_TABLE_CHECK_ENFORCED work on powerpc (Andrew Donnellan)

 - "nodemask: align nodes_and{,not} with underlying bitmap ops" makes
   nodes_and() and nodes_andnot() propagate the return values from the
   underlying bit operations, enabling some cleanup in calling code
   (Yury Norov)

 - "mm/damon: hide kdamond and kdamond_lock from API callers" cleans up
   some DAMON internal interfaces (SeongJae Park)

 - "mm/khugepaged: cleanups and scan limit fix" does some cleanup work
   in khupaged and fixes a scan limit accounting issue (Shivank Garg)

 - "mm: balloon infrastructure cleanups" goes to town on the balloon
   infrastructure and its page migration function. Mainly cleanups, also
   some locking simplification (David Hildenbrand)

 - "mm/vmscan: add tracepoint and reason for kswapd_failures reset" adds
   additional tracepoints to the page reclaim code (Jiayuan Chen)

 - "Replace wq users and add WQ_PERCPU to alloc_workqueue() users" is
   part of Marco's kernel-wide migration from the legacy workqueue APIs
   over to the preferred unbound workqueues (Marco Crivellari)

 - "Various mm kselftests improvements/fixes" provides various unrelated
   improvements/fixes for the mm kselftests (Kevin Brodsky)

 - "mm: accelerate gigantic folio allocation" greatly speeds up gigantic
   folio allocation, mainly by avoiding unnecessary work in
   pfn_range_valid_contig() (Kefeng Wang)

 - "selftests/damon: improve leak detection and wss estimation
   reliability" improves the reliability of two of the DAMON selftests
   (SeongJae Park)

 - "mm/damon: cleanup kdamond, damon_call(), damos filter and
   DAMON_MIN_REGION" does some cleanup work in the core DAMON code
   (SeongJae Park)

 - "Docs/mm/damon: update intro, modules, maintainer profile, and misc"
   performs maintenance work on the DAMON documentation (SeongJae Park)

 - "mm: add and use vma_assert_stabilised() helper" refactors and cleans
   up the core VMA code. The main aim here is to be able to use the mmap
   write lock's lockdep state to perform various assertions regarding
   the locking which the VMA code requires (Lorenzo Stoakes)

 - "mm, swap: swap table phase II: unify swapin use" removes some old
   swap code (swap cache bypassing and swap synchronization) which
   wasn't working very well. Various other cleanups and simplifications
   were made. The end result is a 20% speedup in one benchmark (Kairui
   Song)

 - "enable PT_RECLAIM on more 64-bit architectures" makes PT_RECLAIM
   available on 64-bit alpha, loongarch, mips, parisc, and um. Various
   cleanups were performed along the way (Qi Zheng)

* tag 'mm-stable-2026-02-11-19-22' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (325 commits)
  mm/memory: handle non-split locks correctly in zap_empty_pte_table()
  mm: move pte table reclaim code to memory.c
  mm: make PT_RECLAIM depends on MMU_GATHER_RCU_TABLE_FREE
  mm: convert __HAVE_ARCH_TLB_REMOVE_TABLE to CONFIG_HAVE_ARCH_TLB_REMOVE_TABLE config
  um: mm: enable MMU_GATHER_RCU_TABLE_FREE
  parisc: mm: enable MMU_GATHER_RCU_TABLE_FREE
  mips: mm: enable MMU_GATHER_RCU_TABLE_FREE
  LoongArch: mm: enable MMU_GATHER_RCU_TABLE_FREE
  alpha: mm: enable MMU_GATHER_RCU_TABLE_FREE
  mm: change mm/pt_reclaim.c to use asm/tlb.h instead of asm-generic/tlb.h
  mm/damon/stat: remove __read_mostly from memory_idle_ms_percentiles
  zsmalloc: make common caches global
  mm: add SPDX id lines to some mm source files
  mm/zswap: use %pe to print error pointers
  mm/vmscan: use %pe to print error pointers
  mm/readahead: fix typo in comment
  mm: khugepaged: fix NR_FILE_PAGES and NR_SHMEM in collapse_file()
  mm: refactor vma_map_pages to use vm_insert_pages
  mm/damon: unify address range representation with damon_addr_range
  mm/cma: replace snprintf with strscpy in cma_new_area
  ...
Commit
4cff5c05e076d2ee4e34122aa956b84a2eaac587
Parents
541c4331 · fb4ddf20

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

Changes

332 files changed · +6241 −5595

FileStatusAddDelContent
Documentation/ABI/testing/sysfs-block-zrammodified+14−0View file
Documentation/ABI/testing/sysfs-kernel-mm-damonmodified+13−0View file
Documentation/admin-guide/blockdev/zram.rstmodified+23−1View file
Documentation/admin-guide/cgroup-v1/memory.rstmodified+2−3View file
Documentation/admin-guide/laptops/index.rstmodified+0−1View file
Documentation/admin-guide/laptops/laptop-mode.rstdeleted+0−770View before deletion
Documentation/admin-guide/mm/damon/lru_sort.rstmodified+37−0View file
Documentation/admin-guide/mm/damon/usage.rstmodified+14−5View file
Documentation/admin-guide/mm/memory-hotplug.rstmodified+16−6View file
Documentation/admin-guide/sysctl/vm.rstmodified+28−8View file
Documentation/core-api/mm-api.rstmodified+1−1View file
Documentation/driver-api/cxl/linux/early-boot.rstmodified+1−1View file
Documentation/mm/damon/design.rstmodified+29−3View file
Documentation/mm/damon/index.rstmodified+9−22View file
Documentation/mm/damon/maintainer-profile.rstmodified+3−4View file
Documentation/mm/memory-model.rstmodified+0−3View file
Documentation/translations/zh_CN/mm/memory-model.rstmodified+0−2View file
MAINTAINERSmodified+11−3View file
arch/alpha/Kconfigmodified+1−0View file
arch/alpha/include/asm/page.hmodified+0−1View file
arch/alpha/include/asm/tlb.hmodified+3−3View file
arch/alpha/kernel/setup.cmodified+0−1View file
arch/alpha/mm/init.cmodified+7−9View file
arch/arc/include/asm/page.hmodified+2−0View file
arch/arc/mm/init.cmodified+19−18View file
arch/arm/include/asm/page-nommu.hmodified+0−1View file
arch/arm/include/asm/pgtable.hmodified+2−2View file
arch/arm/mm/init.cmodified+4−21View file
arch/arm/mm/mmu.cmodified+1−9View file
arch/arm/mm/nommu.cmodified+1−9View file
arch/arm64/Kconfigmodified+1−0View file
arch/arm64/include/asm/hugetlb.hmodified+0−2View file
arch/arm64/include/asm/page.hmodified+0−1View file
arch/arm64/include/asm/pgtable.hmodified+26−61View file
arch/arm64/include/asm/thread_info.hmodified+1−2View file
arch/arm64/mm/hugetlbpage.cmodified+12−15View file
arch/arm64/mm/init.cmodified+16−23View file
arch/arm64/mm/mmu.cmodified+4−4View file
arch/arm64/mm/pageattr.cmodified+2−2View file
arch/csky/abiv1/inc/abi/page.hmodified+1−0View file
arch/csky/abiv2/inc/abi/page.hmodified+0−7View file
arch/csky/kernel/setup.cmodified+8−8View file
arch/hexagon/include/asm/page.hmodified+0−1View file
arch/hexagon/mm/init.cmodified+5−14View file
arch/loongarch/Kconfigmodified+1−0View file
arch/loongarch/include/asm/page.hmodified+0−1View file
arch/loongarch/include/asm/pgalloc.hmodified+3−4View file
arch/loongarch/include/asm/pgtable.hmodified+0−2View file
arch/loongarch/kernel/setup.cmodified+0−10View file
arch/loongarch/mm/init.cmodified+1−5View file
arch/m68k/include/asm/page_no.hmodified+0−1View file
arch/m68k/mm/init.cmodified+5−3View file
arch/m68k/mm/mcfmmu.cmodified+0−3View file
arch/m68k/mm/motorola.cmodified+1−5View file
arch/m68k/mm/sun3mmu.cmodified+0−9View file
arch/microblaze/include/asm/page.hmodified+0−1View file
arch/microblaze/mm/init.cmodified+10−12View file
arch/mips/Kconfigmodified+1−0View file
arch/mips/include/asm/page.hmodified+1−0View file
arch/mips/include/asm/pgalloc.hmodified+3−6View file
arch/mips/include/asm/pgtable.hmodified+1−1View file
arch/mips/kernel/setup.cmodified+2−13View file
arch/mips/loongson64/numa.cmodified+3−7View file
arch/mips/mm/init.cmodified+1−7View file
arch/mips/sgi-ip27/ip27-memory.cmodified+2−6View file
arch/nios2/include/asm/page.hmodified+1−0View file
arch/nios2/mm/init.cmodified+5−7View file
arch/openrisc/include/asm/page.hmodified+0−1View file
arch/openrisc/mm/init.cmodified+2−8View file
arch/parisc/Kconfigmodified+1−0View file
arch/parisc/include/asm/page.hmodified+0−1View file
arch/parisc/include/asm/tlb.hmodified+2−2View file
arch/parisc/mm/init.cmodified+2−9View file
arch/powerpc/Kconfigmodified+2−0View file
arch/powerpc/include/asm/book3s/32/pgtable.hmodified+11−1View file
arch/powerpc/include/asm/book3s/64/pgtable.hmodified+52−10View file
arch/powerpc/include/asm/book3s/64/tlbflush-hash.hmodified+9−11View file
arch/powerpc/include/asm/hugetlb.hmodified+0−5View file
arch/powerpc/include/asm/nohash/pgtable.hmodified+12−1View file
arch/powerpc/include/asm/page.hmodified+1−0View file
arch/powerpc/include/asm/pgtable.hmodified+10−0View file
arch/powerpc/include/asm/setup.hmodified+4−0View file
arch/powerpc/include/asm/thread_info.hmodified+0−2View file
arch/powerpc/include/asm/tlb.hmodified+0−1View file
arch/powerpc/kernel/process.cmodified+0−25View file
arch/powerpc/kernel/setup-common.cmodified+0−1View file
arch/powerpc/mm/book3s64/hash_pgtable.cmodified+4−0View file
arch/powerpc/mm/book3s64/hash_tlb.cmodified+8−6View file
arch/powerpc/mm/book3s64/pgtable.cmodified+16−9View file
arch/powerpc/mm/book3s64/radix_pgtable.cmodified+6−3View file
arch/powerpc/mm/book3s64/subpage_prot.cmodified+2−2View file
arch/powerpc/mm/hugetlbpage.cmodified+4−7View file
arch/powerpc/mm/mem.cmodified+10−17View file
arch/powerpc/mm/numa.cmodified+0−2View file
arch/powerpc/mm/pgtable.cmodified+12−0View file
arch/powerpc/platforms/Kconfig.cputypemodified+1−0View file
arch/powerpc/platforms/pseries/Kconfigmodified+1−1View file
arch/powerpc/platforms/pseries/cmm.cmodified+10−43View file
arch/riscv/include/asm/page.hmodified+0−1View file
arch/riscv/include/asm/pgtable.hmodified+11−11View file
arch/riscv/mm/hugetlbpage.cmodified+8−0View file
arch/riscv/mm/init.cmodified+1−9View file
arch/s390/include/asm/page.hmodified+0−1View file
arch/s390/include/asm/tlb.hmodified+2−4View file
arch/s390/kernel/setup.cmodified+0−2View file
arch/s390/mm/gmap_helpers.cmodified+1−1View file
arch/s390/mm/hugetlbpage.cmodified+8−0View file
arch/s390/mm/init.cmodified+6−7View file
arch/s390/mm/pgtable.cmodified+1−1View file
arch/sh/mm/init.cmodified+5−7View file
arch/sparc/Kconfigmodified+2−0View file
arch/sparc/include/asm/page_64.hmodified+1−0View file
arch/sparc/include/asm/tlb_64.hmodified+0−1View file
arch/sparc/include/asm/tlbflush_64.hmodified+1−4View file
arch/sparc/mm/init_64.cmodified+5−12View file
arch/sparc/mm/srmmu.cmodified+7−10View file
arch/sparc/mm/tlb.cmodified+13−7View file
arch/um/Kconfigmodified+1−0View file
arch/um/include/asm/page.hmodified+0−1View file
arch/um/kernel/mem.cmodified+5−5View file
arch/x86/Kconfigmodified+1−1View file
arch/x86/boot/compressed/misc.hmodified+1−0View file
arch/x86/boot/startup/sme.cmodified+1−0View file
arch/x86/include/asm/page.hmodified+0−6View file
arch/x86/include/asm/page_32.hmodified+6−0View file
arch/x86/include/asm/page_64.hmodified+61−17View file
arch/x86/include/asm/paravirt.hmodified+0−1View file
arch/x86/include/asm/pgtable.hmodified+12−11View file
arch/x86/include/asm/thread_info.hmodified+1−3View file
arch/x86/kernel/setup.cmodified+0−5View file
arch/x86/lib/clear_page_64.Smodified+8−31View file
arch/x86/mm/hugetlbpage.cmodified+8−0View file
arch/x86/mm/init.cmodified+1−7View file
arch/x86/mm/init_32.cmodified+0−2View file
arch/x86/mm/init_64.cmodified+0−4View file
arch/x86/mm/mm_internal.hmodified+0−1View file
arch/x86/xen/enlighten_pv.cmodified+1−2View file
arch/x86/xen/mmu_pv.cmodified+2−4View file
arch/xtensa/include/asm/page.hmodified+0−1View file
arch/xtensa/mm/init.cmodified+7−7View file
block/blk-mq.cmodified+0−3View file
drivers/block/zram/zram_drv.cmodified+565−434View file
drivers/block/zram/zram_drv.hmodified+10−5View file
drivers/misc/Kconfigmodified+1−1View file
drivers/misc/vmw_balloon.cmodified+29−76View file
drivers/virtio/Kconfigmodified+1−1View file
drivers/virtio/virtio_balloon.cmodified+21−43View file
fs/ext4/inode.cmodified+1−2View file
fs/proc/task_mmu.cmodified+2−2View file
fs/sync.cmodified+0−2View file
fs/xfs/xfs_super.cmodified+0−9View file
include/asm-generic/tlb.hmodified+3−4View file
include/linux/backing-dev-defs.hmodified+0−3View file
include/linux/balloon.hadded+77−0View file
include/linux/balloon_compaction.hdeleted+0−160View before deletion
include/linux/cma.hmodified+6−21View file
include/linux/damon.hmodified+36−29View file
include/linux/gfp.hmodified+28−32View file
include/linux/gfp_types.hmodified+5−2View file
include/linux/highmem.hmodified+97−1View file
include/linux/hugetlb.hmodified+6−9View file
include/linux/khugepaged.hmodified+4−5View file
include/linux/maple_tree.hmodified+0−9View file
include/linux/memblock.hmodified+2−2View file
include/linux/memcontrol.hmodified+20−28View file
include/linux/mm.hmodified+66−6View file
include/linux/mm_types.hmodified+52−5View file
include/linux/mm_types_task.hmodified+5−0View file
include/linux/mmap_lock.hmodified+240−39View file
include/linux/mmdebug.hmodified+10−0View file
include/linux/mmzone.hmodified+15−4View file
include/linux/nodemask.hmodified+4−4View file
include/linux/page-isolation.hmodified+2−0View file
include/linux/page_table_check.hmodified+40−29View file
include/linux/pgtable.hmodified+154−14View file
include/linux/rmap.hmodified+3−73View file
include/linux/sched.hmodified+45−0View file
include/linux/swap.hmodified+25−46View file
include/linux/vm_event_item.hmodified+4−4View file
include/linux/vmstat.hmodified+0−6View file
include/linux/writeback.hmodified+0−4View file
include/linux/zsmalloc.hmodified+6−2View file
include/trace/events/damon.hmodified+41−0View file
include/trace/events/huge_memory.hmodified+2−1View file
include/trace/events/vmscan.hmodified+51−0View file
include/trace/events/writeback.hmodified+0−1View file
include/uapi/linux/mempolicy.hmodified+3−0View file
include/uapi/linux/sysctl.hmodified+1−1View file
init/main.cmodified+1−0View file
kernel/cgroup/cpuset.cmodified+3−4View file
kernel/power/swap.cmodified+6−4View file
lib/alloc_tag.cmodified+17−10View file
lib/test_vmalloc.cmodified+7−4View file
mm/Kconfigmodified+31−17View file
mm/Makefilemodified+2−2View file
mm/backing-dev.cmodified+3−6View file
mm/balloon_compaction.c → mm/balloon.crenamed+140−59View file
mm/cma.cmodified+71−54View file
mm/damon/core.cmodified+142−100View file
mm/damon/lru_sort.cmodified+112−8View file
mm/damon/paddr.cmodified+12−15View file
mm/damon/reclaim.cmodified+6−4View file
mm/damon/stat.cmodified+3−11View file
mm/damon/sysfs-schemes.cmodified+54−4View file
mm/damon/sysfs.cmodified+9−9View file
mm/damon/tests/core-kunit.hmodified+39−12View file
mm/damon/tests/vaddr-kunit.hmodified+1−1View file
mm/damon/vaddr.cmodified+12−13View file
mm/debug_vm_pgtable.cmodified+17−21View file
mm/dmapool_test.cmodified+1−0View file
mm/early_ioremap.cmodified+12−4View file
mm/folio-compat.cmodified+1−0View file
mm/gup.cmodified+0−11View file
mm/gup_test.cmodified+1−0View file
mm/highmem.cmodified+2−1View file
mm/huge_memory.cmodified+4−4View file
mm/hugetlb.cmodified+93−87View file
mm/hugetlb_cgroup.cmodified+2−9View file
mm/hugetlb_cma.cmodified+37−34View file
mm/hugetlb_cma.hmodified+5−10View file
mm/hugetlb_sysctl.cmodified+11−0View file
mm/hugetlb_vmemmap.cmodified+0−11View file
mm/internal.hmodified+87−19View file
mm/kasan/kasan_test_c.cmodified+35−15View file
mm/kasan/report.cmodified+4−4View file
mm/kasan/shadow.cmodified+4−4View file
mm/kfence/core.cmodified+3−3View file
mm/khugepaged.cmodified+102−83View file
mm/kmsan/kmsan_test.cmodified+63−1View file
mm/list_lru.cmodified+3−3View file
mm/madvise.cmodified+12−14View file
mm/memblock.cmodified+2−2View file
mm/memcontrol-v1.cmodified+25−3View file
mm/memcontrol-v1.hmodified+2−4View file
mm/memcontrol.cmodified+34−65View file
mm/memfd.cmodified+1−2View file
mm/memory-failure.cmodified+1−1View file
mm/memory-tiers.cmodified+3−4View file
mm/memory.cmodified+260−191View file
mm/memory_hotplug.cmodified+4−4View file
mm/mempolicy.cmodified+2−3View file
mm/migrate.cmodified+7−7View file
mm/migrate_device.cmodified+6−6View file
mm/mm_init.cmodified+18−17View file
mm/mmap_lock.cmodified+114−63View file
mm/mmu_gather.cmodified+3−3View file
mm/mprotect.cmodified+2−2View file
mm/mremap.cmodified+5−5View file
mm/mseal.cmodified+2−2View file
mm/numa_memblks.cmodified+1−1View file
mm/oom_kill.cmodified+13−13View file
mm/page-writeback.cmodified+15−59View file
mm/page_alloc.cmodified+275−150View file
mm/page_io.cmodified+2−2View file
mm/page_isolation.cmodified+100−89View file
mm/page_reporting.cmodified+1−1View file
mm/page_table_check.cmodified+22−19View file
mm/pagewalk.cmodified+2−1View file
mm/percpu.cmodified+14−1View file
mm/pt_reclaim.cdeleted+0−72View before deletion
mm/readahead.cmodified+1−1View file
mm/rmap.cmodified+205−119View file
mm/shmem.cmodified+36−54View file
mm/show_mem.cmodified+1−2View file
mm/shrinker_debug.cmodified+7−6View file
mm/slub.cmodified+2−1View file
mm/swap.cmodified+1−1View file
mm/swap.hmodified+59−13View file
mm/swap_state.cmodified+223−119View file
mm/swapfile.cmodified+384−478View file
mm/tests/lazy_mmu_mode_kunit.cadded+73−0View file
mm/userfaultfd.cmodified+7−11View file
mm/vma.cmodified+8−8View file
mm/vma.hmodified+4−10View file
mm/vmalloc.cmodified+20−6View file
mm/vmscan.cmodified+113−108View file
mm/vmstat.cmodified+8−22View file
mm/workingset.cmodified+4−4View file
mm/zsmalloc.cmodified+125−67View file
mm/zswap.cmodified+23−35View file
tools/mm/slabinfo.cmodified+1−1View file
tools/mm/thp_swap_allocator_test.cmodified+1−1View file
tools/testing/selftests/damon/access_memory.cmodified+21−8View file
tools/testing/selftests/damon/sysfs_memcg_path_leak.shmodified+14−12View file
tools/testing/selftests/damon/sysfs_update_schemes_tried_regions_wss_estimation.pymodified+32−9View file
tools/testing/selftests/mm/.gitignoremodified+0−1View file
tools/testing/selftests/mm/Makefilemodified+34−10View file
tools/testing/selftests/mm/charge_reserved_hugetlb.shmodified+32−23View file
tools/testing/selftests/mm/check_config.shmodified+1−2View file
tools/testing/selftests/mm/cow.cmodified+33−10View file
tools/testing/selftests/mm/hugetlb-madvise.cmodified+1−8View file
tools/testing/selftests/mm/ksft_compaction.shadded+4−0View file
tools/testing/selftests/mm/ksft_cow.shadded+4−0View file
tools/testing/selftests/mm/ksft_gup_test.shadded+4−0View file
tools/testing/selftests/mm/ksft_hmm.shadded+4−0View file
tools/testing/selftests/mm/ksft_hugetlb.shadded+4−0View file
tools/testing/selftests/mm/ksft_hugevm.shadded+4−0View file
tools/testing/selftests/mm/ksft_ksm.shadded+4−0View file
tools/testing/selftests/mm/ksft_ksm_numa.shadded+4−0View file
tools/testing/selftests/mm/ksft_madv_guard.shadded+4−0View file
tools/testing/selftests/mm/ksft_madv_populate.shadded+4−0View file
tools/testing/selftests/mm/ksft_mdwe.shadded+4−0View file
tools/testing/selftests/mm/ksft_memfd_secret.shadded+4−0View file
tools/testing/selftests/mm/ksft_migration.shadded+4−0View file
tools/testing/selftests/mm/ksft_mkdirty.shadded+4−0View file
tools/testing/selftests/mm/ksft_mlock.shadded+4−0View file
tools/testing/selftests/mm/ksft_mmap.shadded+4−0View file
tools/testing/selftests/mm/ksft_mremap.shadded+4−0View file
tools/testing/selftests/mm/ksft_page_frag.shadded+4−0View file
tools/testing/selftests/mm/ksft_pagemap.shadded+4−0View file
tools/testing/selftests/mm/ksft_pfnmap.shadded+4−0View file
tools/testing/selftests/mm/ksft_pkey.shadded+4−0View file
tools/testing/selftests/mm/ksft_process_madv.shadded+4−0View file
tools/testing/selftests/mm/ksft_process_mrelease.shadded+4−0View file
tools/testing/selftests/mm/ksft_rmap.shadded+4−0View file
tools/testing/selftests/mm/ksft_soft_dirty.shadded+4−0View file
tools/testing/selftests/mm/ksft_thp.shadded+4−0View file
tools/testing/selftests/mm/ksft_userfaultfd.shadded+4−0View file
tools/testing/selftests/mm/ksft_vma_merge.shadded+4−0View file
tools/testing/selftests/mm/ksft_vmalloc.shadded+4−0View file
tools/testing/selftests/mm/page_frag/Makefilemodified+1−1View file
tools/testing/selftests/mm/pagemap_ioctl.cmodified+7−8View file
tools/testing/selftests/mm/pfnmap.cmodified+56−37View file
tools/testing/selftests/mm/run_vmtests.shmodified+4−20View file
tools/testing/selftests/mm/split_huge_page_test.cmodified+1−5View file
tools/testing/selftests/mm/test_vmalloc.shmodified+28−3View file
tools/testing/selftests/mm/va_high_addr_switch.cmodified+7−3View file
tools/testing/selftests/mm/va_high_addr_switch.shmodified+7−5View file
tools/testing/selftests/mm/virtual_address_range.cdeleted+0−260View before deletion
tools/testing/selftests/mm/vm_util.hmodified+7−0View file
tools/testing/selftests/mm/write_to_hugetlbfs.cmodified+6−3View file
tools/testing/vma/vma_internal.hmodified+10−6View file

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

Documentation/ABI/testing/sysfs-block-zram

View file
diff --git a/Documentation/ABI/testing/sysfs-block-zram b/Documentation/ABI/testing/sysfs-block-zram
index 36c57de..e538d48 100644
--- a/Documentation/ABI/testing/sysfs-block-zram
+++ b/Documentation/ABI/testing/sysfs-block-zram
@@ -150,3 +150,17 @@ Contact: Sergey Senozhatsky <[email protected]>
Description:
The algorithm_params file is write-only and is used to setup
compression algorithm parameters.
+
+What: /sys/block/zram<id>/writeback_compressed
+Date: Decemeber 2025
+Contact: Richard Chang <[email protected]>
+Description:
+ The writeback_compressed device atrribute toggles compressed
+ writeback feature.
+
+What: /sys/block/zram<id>/writeback_batch_size
+Date: November 2025
+Contact: Sergey Senozhatsky <[email protected]>
+Description:
+ The writeback_batch_size device atrribute sets the maximum
+ number of in-flight writeback operations.

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 4fb8b7a..f2af2dd 100644
--- a/Documentation/ABI/testing/sysfs-kernel-mm-damon
+++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon
@@ -516,6 +516,19 @@ Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the number of the exceed events of
the scheme's quotas.
+What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_snapshots
+Date: Dec 2025
+Contact: SeongJae Park <[email protected]>
+Description: Reading this file returns the total number of DAMON snapshots
+ that the scheme has tried to be applied.
+
+What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/max_nr_snapshots
+Date: Dec 2025
+Contact: SeongJae Park <[email protected]>
+Description: Writing a number to this file sets the upper limit of
+ nr_snapshots that deactivates the scheme when the limit is
+ reached or exceeded.
+
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/total_bytes
Date: Jul 2023
Contact: SeongJae Park <[email protected]>

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 3e273c1..94bb7f2 100644
--- a/Documentation/admin-guide/blockdev/zram.rst
+++ b/Documentation/admin-guide/blockdev/zram.rst
@@ -214,6 +214,9 @@ mem_limit WO specifies the maximum amount of memory ZRAM can
writeback_limit WO specifies the maximum amount of write IO zram
can write out to backing device as 4KB unit
writeback_limit_enable RW show and set writeback_limit feature
+writeback_batch_size RW show and set maximum number of in-flight
+ writeback operations
+writeback_compressed RW show and set compressed writeback feature
comp_algorithm RW show and change the compression algorithm
algorithm_params WO setup compression algorithm parameters
compact WO trigger memory compaction
@@ -222,7 +225,6 @@ backing_dev RW set up backend storage for zram to write out
idle WO mark allocated slot as idle
====================== ====== ===============================================
-
User space is advised to use the following files to read the device statistics.
File /sys/block/zram<id>/stat
@@ -434,6 +436,26 @@ system reboot, echo 1 > /sys/block/zramX/reset) so keeping how many of
writeback happened until you reset the zram to allocate extra writeback
budget in next setting is user's job.
+By default zram stores written back pages in decompressed (raw) form, which
+means that writeback operation involves decompression of the page before
+writing it to the backing device. This behavior can be changed by enabling
+`writeback_compressed` feature, which causes zram to write compressed pages
+to the backing device, thus avoiding decompression overhead. To enable
+this feature, execute::
+
+ $ echo yes > /sys/block/zramX/writeback_compressed
+
+Note that this feature should be configured before the `zramX` device is
+initialized.
+
+Depending on backing device storage type, writeback operation may benefit
+from a higher number of in-flight write requests (batched writes). The
+number of maximum in-flight writeback operations can be configured via
+`writeback_batch_size` attribute. To change the default value (which is 32),
+execute::
+
+ $ echo 64 > /sys/block/zramX/writeback_batch_size
+
If admin wants to measure writeback count in a certain period, they could
know it via /sys/block/zram0/bd_stat's 3rd column.

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

View file
diff --git a/Documentation/admin-guide/cgroup-v1/memory.rst b/Documentation/admin-guide/cgroup-v1/memory.rst
index d6b1db8..7db63c0 100644
--- a/Documentation/admin-guide/cgroup-v1/memory.rst
+++ b/Documentation/admin-guide/cgroup-v1/memory.rst
@@ -311,9 +311,8 @@ Lock order is as follows::
folio_lock
mm->page_table_lock or split pte_lock
- folio_memcg_lock (memcg->move_lock)
- mapping->i_pages lock
- lruvec->lru_lock.
+ mapping->i_pages lock
+ lruvec->lru_lock.
Per-node-per-memcgroup LRU (cgroup's private LRU) is guarded by
lruvec->lru_lock; the folio LRU flag is cleared before

Documentation/admin-guide/laptops/index.rst

View file
diff --git a/Documentation/admin-guide/laptops/index.rst b/Documentation/admin-guide/laptops/index.rst
index 6432c25..c0b911d 100644
--- a/Documentation/admin-guide/laptops/index.rst
+++ b/Documentation/admin-guide/laptops/index.rst
@@ -10,7 +10,6 @@ Laptop Drivers
alienware-wmi
asus-laptop
disk-shock-protection
- laptop-mode
lg-laptop
samsung-galaxybook
sony-laptop

Documentation/admin-guide/laptops/laptop-mode.rst

View before deletion
diff --git a/Documentation/admin-guide/laptops/laptop-mode.rst b/Documentation/admin-guide/laptops/laptop-mode.rst
deleted file mode 100644
index 66eb9cd..0000000
--- a/Documentation/admin-guide/laptops/laptop-mode.rst
+++ /dev/null
@@ -1,770 +0,0 @@
-===============================================
-How to conserve battery power using laptop-mode
-===============================================
-
-Document Author: Bart Samwel ([email protected])
-
-Date created: January 2, 2004
-
-Last modified: December 06, 2004
-
-Introduction
-------------
-
-Laptop mode is used to minimize the time that the hard disk needs to be spun up,
-to conserve battery power on laptops. It has been reported to cause significant
-power savings.
-
-.. Contents
-
- * Introduction
- * Installation
- * Caveats
- * The Details
- * Tips & Tricks
- * Control script
- * ACPI integration
- * Monitoring tool
-
-
-Installation
-------------
-
-To use laptop mode, you don't need to set any kernel configuration options
-or anything. Simply install all the files included in this document, and
-laptop mode will automatically be started when you're on battery. For
-your convenience, a tarball containing an installer can be downloaded at:
-
- http://www.samwel.tk/laptop_mode/laptop_mode/
-
-To configure laptop mode, you need to edit the configuration file, which is
-located in /etc/default/laptop-mode on Debian-based systems, or in
-/etc/sysconfig/laptop-mode on other systems.
-
-Unfortunately, automatic enabling of laptop mode does not work for
-laptops that don't have ACPI. On those laptops, you need to start laptop
-mode manually. To start laptop mode, run "laptop_mode start", and to
-stop it, run "laptop_mode stop". (Note: The laptop mode tools package now
-has experimental support for APM, you might want to try that first.)
-
-
-Caveats
--------
-
-* The downside of laptop mode is that you have a chance of losing up to 10
- minutes of work. If you cannot afford this, don't use it! The supplied ACPI
- scripts automatically turn off laptop mode when the battery almost runs out,
- so that you won't lose any data at the end of your battery life.
-
-* Most desktop hard drives have a very limited lifetime measured in spindown
- cycles, typically about 50.000 times (it's usually listed on the spec sheet).
- Check your drive's rating, and don't wear down your drive's lifetime if you
- don't need to.
-
-* If you mount some of your ext3 filesystems with the -n option, then
- the control script will not be able to remount them correctly. You must set
- DO_REMOUNTS=0 in the control script, otherwise it will remount them with the
- wrong options -- or it will fail because it cannot write to /etc/mtab.
-
-* If you have your filesystems listed as type "auto" in fstab, like I did, then
- the control script will not recognize them as filesystems that need remounting.
- You must list the filesystems with their true type instead.
-
-* It has been reported that some versions of the mutt mail client use file access
- times to determine whether a folder contains new mail. If you use mutt and
- experience this, you must disable the noatime remounting by setting the option
- DO_REMOUNT_NOATIME to 0 in the configuration file.
-
-
-The Details
------------
-
-Laptop mode is controlled by the knob /proc/sys/vm/laptop_mode. This knob is
-present for all kernels that have the laptop mode patch, regardless of any
-configuration options. When the knob is set, any physical disk I/O (that might
-have caused the hard disk to spin up) causes Linux to flush all dirty blocks. The
-result of this is that after a disk has spun down, it will not be spun up
-anymore to write dirty blocks, because those blocks had already been written
-immediately after the most recent read operation. The value of the laptop_mode
-knob determines the time between the occurrence of disk I/O and when the flush
-is triggered. A sensible value for the knob is 5 seconds. Setting the knob to
-0 disables laptop mode.
-
-To increase the effectiveness of the laptop_mode strategy, the laptop_mode
-control script increases dirty_expire_centisecs and dirty_writeback_centisecs in
-/proc/sys/vm to about 10 minutes (by default), which means that pages that are
-dirtied are not forced to be written to disk as often. The control script also
-changes the dirty background ratio, so that background writeback of dirty pages
-is not done anymore. Combined with a higher commit value (also 10 minutes) for
-ext3 filesystem (also done automatically by the control script),
-this results in concentration of disk activity in a small time interval which
-occurs only once every 10 minutes, or whenever the disk is forced to spin up by
-a cache miss. The disk can then be spun down in the periods of inactivity.
-
-
-Configuration
--------------
-
-The laptop mode configuration file is located in /etc/default/laptop-mode on
-Debian-based systems, or in /etc/sysconfig/laptop-mode on other systems. It
-contains the following options:
-
-MAX_AGE:
-
-Maximum time, in seconds, of hard drive spindown time that you are
-comfortable with. Worst case, it's possible that you could lose this
-amount of work if your battery fails while you're in laptop mode.
-
-MINIMUM_BATTERY_MINUTES:
-
-Automatically disable laptop mode if the remaining number of minutes of
-battery power is less than this value. Default is 10 minutes.
-
-AC_HD/BATT_HD:
-
-The idle timeout that should be set on your hard drive when laptop mode
-is active (BATT_HD) and when it is not active (AC_HD). The defaults are
-20 seconds (value 4) for BATT_HD and 2 hours (value 244) for AC_HD. The
-possible values are those listed in the manual page for "hdparm" for the
-"-S" option.
-
-HD:
-
-The devices for which the spindown timeout should be adjusted by laptop mode.
-Default is /dev/hda. If you specify multiple devices, separate them by a space.
-
-READAHEAD:
-
-Disk readahead, in 512-byte sectors, while laptop mode is active. A large
-readahead can prevent disk accesses for things like executable pages (which are
-loaded on demand while the application executes) and sequentially accessed data
-(MP3s).
-
-DO_REMOUNTS:
-
-The control script automatically remounts any mounted journaled filesystems
-with appropriate commit interval options. When this option is set to 0, this
-feature is disabled.
-
-DO_REMOUNT_NOATIME:
-
-When remounting, should the filesystems be remounted with the noatime option?
-Normally, this is set to "1" (enabled), but there may be programs that require
-access time recording.
-
-DIRTY_RATIO:
-
-The percentage of memory that is allowed to contain "dirty" or unsaved data
-before a writeback is forced, while laptop mode is active. Corresponds to
-the /proc/sys/vm/dirty_ratio sysctl.
-
-DIRTY_BACKGROUND_RATIO:
-
-The percentage of memory that is allowed to contain "dirty" or unsaved data
-after a forced writeback is done due to an exceeding of DIRTY_RATIO. Set
-this nice and low. This corresponds to the /proc/sys/vm/dirty_background_ratio
-sysctl.
-
-Note that the behaviour of dirty_background_ratio is quite different
-when laptop mode is active and when it isn't. When laptop mode is inactive,
-dirty_background_ratio is the threshold percentage at which background writeouts
-start taking place. When laptop mode is active, however, background writeouts
-are disabled, and the dirty_background_ratio only determines how much writeback
-is done when dirty_ratio is reached.
-
-DO_CPU:
-
-Enable CPU frequency scaling when in laptop mode. (Requires CPUFreq to be setup.
-See Documentation/admin-guide/pm/cpufreq.rst for more info. Disabled by default.)
-
-CPU_MAXFREQ:
-
-When on battery, what is the maximum CPU speed that the system should use? Legal
-values are "slowest" for the slowest speed that your CPU is able to operate at,
-or a value listed in /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies.
-
-
-Tips & Tricks
--------------
-
-* Bartek Kania reports getting up to 50 minutes of extra battery life (on top
- of his regular 3 to 3.5 hours) using a spindown time of 5 seconds (BATT_HD=1).
-
-* You can spin down the disk while playing MP3, by setting disk readahead
- to 8MB (READAHEAD=16384). Effectively, the disk will read a complete MP3 at
- once, and will then spin down while the MP3 is playing. (Thanks to Bartek
- Kania.)
-
-* Drew Scott Daniels observed: "I don't know why, but when I decrease the number
- of colours that my display uses it consumes less battery power. I've seen
- this on powerbooks too. I hope that this is a piece of information that
- might be useful to the Laptop Mode patch or its users."
-
-* In syslog.conf, you can prefix entries with a dash `-` to omit syncing the
- file after every logging. When you're using laptop-mode and your disk doesn't
- spin down, this is a likely culprit.
-
-* Richard Atterer observed that laptop mode does not work well with noflushd
- (http://noflushd.sourceforge.net/), it seems that noflushd prevents laptop-mode
- from doing its thing.
-
-* If you're worried about your data, you might want to consider using a USB
- memory stick or something like that as a "working area". (Be aware though
- that flash memory can only handle a limited number of writes, and overuse
- may wear out your memory stick pretty quickly. Do _not_ use journalling
- filesystems on flash memory sticks.)
-
-
-Configuration file for control and ACPI battery scripts
--------------------------------------------------------
-
-This allows the tunables to be changed for the scripts via an external
-configuration file
-
-It should be installed as /etc/default/laptop-mode on Debian, and as
-/etc/sysconfig/laptop-mode on Red Hat, SUSE, Mandrake, and other work-alikes.
-
-Config file::
-
- # Maximum time, in seconds, of hard drive spindown time that you are
- # comfortable with. Worst case, it's possible that you could lose this
- # amount of work if your battery fails you while in laptop mode.
- #MAX_AGE=600
-
- # Automatically disable laptop mode when the number of minutes of battery
- # that you have left goes below this threshold.
- MINIMUM_BATTERY_MINUTES=10
-
- # Read-ahead, in 512-byte sectors. You can spin down the disk while playing MP3/OGG
- # by setting the disk readahead to 8MB (READAHEAD=16384). Effectively, the disk
- # will read a complete MP3 at once, and will then spin down while the MP3/OGG is
- # playing.
- #READAHEAD=4096
-
- # Shall we remount journaled fs. with appropriate commit interval? (1=yes)
- #DO_REMOUNTS=1
-
- # And shall we add the "noatime" option to that as well? (1=yes)
- #DO_REMOUNT_NOATIME=1
-
- # Dirty synchronous ratio. At this percentage of dirty pages the process
- # which
- # calls write() does its own writeback
- #DIRTY_RATIO=40
-
- #
- # Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been
- # exceeded, the kernel will wake flusher threads which will then reduce the
- # amount of dirty memory to dirty_background_ratio. Set this nice and low,
- # so once some writeout has commenced, we do a lot of it.
- #
- #DIRTY_BACKGROUND_RATIO=5
-
- # kernel default dirty buffer age
- #DEF_AGE=30
- #DEF_UPDATE=5
- #DEF_DIRTY_BACKGROUND_RATIO=10
- #DEF_DIRTY_RATIO=40
- #DEF_XFS_AGE_BUFFER=15
- #DEF_XFS_SYNC_INTERVAL=30
- #DEF_XFS_BUFD_INTERVAL=1
-
- # This must be adjusted manually to the value of HZ in the running kernel
- # on 2.4, until the XFS people change their 2.4 external interfaces to work in
- # centisecs. This can be automated, but it's a work in progress that still
- # needs# some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for
- # external interfaces, and that is currently always set to 100. So you don't
- # need to change this on 2.6.
- #XFS_HZ=100
-
- # Should the maximum CPU frequency be adjusted down while on battery?
- # Requires CPUFreq to be setup.
- # See Documentation/admin-guide/pm/cpufreq.rst for more info
- #DO_CPU=0
-
- # When on battery what is the maximum CPU speed that the system should
- # use? Legal values are "slowest" for the slowest speed that your
- # CPU is able to operate at, or a value listed in:
- # /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
- # Only applicable if DO_CPU=1.
- #CPU_MAXFREQ=slowest
-
- # Idle timeout for your hard drive (man hdparm for valid values, -S option)
- # Default is 2 hours on AC (AC_HD=244) and 20 seconds for battery (BATT_HD=4).
- #AC_HD=244
- #BATT_HD=4
-
- # The drives for which to adjust the idle timeout. Separate them by a space,
- # e.g. HD="/dev/hda /dev/hdb".
- #HD="/dev/hda"
-
- # Set the spindown timeout on a hard drive?
- #DO_HD=1
-
-
-Control script
---------------
-
-Please note that this control script works for the Linux 2.4 and 2.6 series (thanks
-to Kiko Piris).
-
-Control script::
-
- #!/bin/bash
-
- # start or stop laptop_mode, best run by a power management daemon when
- # ac gets connected/disconnected from a laptop
- #
- # install as /sbin/laptop_mode
- #
- # Contributors to this script: Kiko Piris
- # Bart Samwel
- # Micha Feigin
- # Andrew Morton
- # Herve Eychenne
- # Dax Kelson
- #
- # Original Linux 2.4 version by: Jens Axboe
-
- #############################################################################
-
- # Source config
- if [ -f /etc/default/laptop-mode ] ; then
- # Debian
- . /etc/default/laptop-mode
- elif [ -f /etc/sysconfig/laptop-mode ] ; then
- # Others
- . /etc/sysconfig/laptop-mode
- fi
-
- # Don't raise an error if the config file is incomplete
- # set defaults instead:
-
- # Maximum time, in seconds, of hard drive spindown time that you are
- # comfortable with. Worst case, it's possible that you could lose this
- # amount of work if your battery fails you while in laptop mode.
- MAX_AGE=${MAX_AGE:-'600'}
-
- # Read-ahead, in kilobytes
- READAHEAD=${READAHEAD:-'4096'}
-
- # Shall we remount journaled fs. with appropriate commit interval? (1=yes)
- DO_REMOUNTS=${DO_REMOUNTS:-'1'}
-
- # And shall we add the "noatime" option to that as well? (1=yes)
- DO_REMOUNT_NOATIME=${DO_REMOUNT_NOATIME:-'1'}
-
- # Shall we adjust the idle timeout on a hard drive?
- DO_HD=${DO_HD:-'1'}
-
- # Adjust idle timeout on which hard drive?
- HD="${HD:-'/dev/hda'}"
-
- # spindown time for HD (hdparm -S values)
- AC_HD=${AC_HD:-'244'}
- BATT_HD=${BATT_HD:-'4'}
-
- # Dirty synchronous ratio. At this percentage of dirty pages the process which
- # calls write() does its own writeback
- DIRTY_RATIO=${DIRTY_RATIO:-'40'}
-
- # cpu frequency scaling
- # See Documentation/admin-guide/pm/cpufreq.rst for more info
- DO_CPU=${CPU_MANAGE:-'0'}
- CPU_MAXFREQ=${CPU_MAXFREQ:-'slowest'}
-
- #
- # Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been
- # exceeded, the kernel will wake flusher threads which will then reduce the
- # amount of dirty memory to dirty_background_ratio. Set this nice and low,
- # so once some writeout has commenced, we do a lot of it.
- #
- DIRTY_BACKGROUND_RATIO=${DIRTY_BACKGROUND_RATIO:-'5'}
-
- # kernel default dirty buffer age
- DEF_AGE=${DEF_AGE:-'30'}
- DEF_UPDATE=${DEF_UPDATE:-'5'}
- DEF_DIRTY_BACKGROUND_RATIO=${DEF_DIRTY_BACKGROUND_RATIO:-'10'}
- DEF_DIRTY_RATIO=${DEF_DIRTY_RATIO:-'40'}
- DEF_XFS_AGE_BUFFER=${DEF_XFS_AGE_BUFFER:-'15'}
- DEF_XFS_SYNC_INTERVAL=${DEF_XFS_SYNC_INTERVAL:-'30'}
- DEF_XFS_BUFD_INTERVAL=${DEF_XFS_BUFD_INTERVAL:-'1'}
-
- # This must be adjusted manually to the value of HZ in the running kernel
- # on 2.4, until the XFS people change their 2.4 external interfaces to work in
- # centisecs. This can be automated, but it's a work in progress that still needs
- # some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for external
- # interfaces, and that is currently always set to 100. So you don't need to
- # change this on 2.6.
- XFS_HZ=${XFS_HZ:-'100'}
-
- #############################################################################
-
- KLEVEL="$(uname -r |
- {
- IFS='.' read a b c
- echo $a.$b
- }
- )"
- case "$KLEVEL" in
- "2.4"|"2.6")
- ;;
- *)
- echo "Unhandled kernel version: $KLEVEL ('uname -r' = '$(uname -r)')" >&2
- exit 1
- ;;
- esac
-
- if [ ! -e /proc/sys/vm/laptop_mode ] ; then
- echo "Kernel is not patched with laptop_mode patch." >&2
- exit 1
- fi
-
- if [ ! -w /proc/sys/vm/laptop_mode ] ; then
- echo "You do not have enough privileges to enable laptop_mode." >&2
- exit 1
- fi
-
- # Remove an option (the first parameter) of the form option=<number> from
- # a mount options string (the rest of the parameters).
- parse_mount_opts () {
- OPT="$1"
- shift
- echo ",$*," | sed \
- -e 's/,'"$OPT"'=[0-9]*,/,/g' \
- -e 's/,,*/,/g' \
- -e 's/^,//' \
- -e 's/,$//'
- }
-
- # Remove an option (the first parameter) without any arguments from
- # a mount option string (the rest of the parameters).
- parse_nonumber_mount_opts () {
- OPT="$1"
- shift
- echo ",$*," | sed \
- -e 's/,'"$OPT"',/,/g' \
- -e 's/,,*/,/g' \
- -e 's/^,//' \
- -e 's/,$//'
- }
-
- # Find out the state of a yes/no option (e.g. "atime"/"noatime") in
- # fstab for a given filesystem, and use this state to replace the
- # value of the option in another mount options string. The device
- # is the first argument, the option name the second, and the default
- # value the third. The remainder is the mount options string.
- #
- # Example:
- # parse_yesno_opts_wfstab /dev/hda1 atime atime defaults,noatime
- #
- # If fstab contains, say, "rw" for this filesystem, then the result
- # will be "defaults,atime".
- parse_yesno_opts_wfstab () {
- L_DEV="$1"
- OPT="$2"
- DEF_OPT="$3"
- shift 3
- L_OPTS="$*"
- PARSEDOPTS1="$(parse_nonumber_mount_opts $OPT $L_OPTS)"
- PARSEDOPTS1="$(parse_nonumber_mount_opts no$OPT $PARSEDOPTS1)"
- # Watch for a default atime in fstab

This diff is incomplete. Download the complete patch.

Documentation/admin-guide/mm/damon/lru_sort.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/memory-hotplug.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/mm-api.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/driver-api/cxl/linux/early-boot.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/mm/damon/maintainer-profile.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/mm/memory-model.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/translations/zh_CN/mm/memory-model.rst

View file

This diff is incomplete. Download the complete patch.

MAINTAINERS

View file

This diff is incomplete. Download the complete patch.

arch/alpha/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/alpha/include/asm/page.h

View file

This diff is incomplete. Download the complete patch.

arch/alpha/include/asm/tlb.h

View file

This diff is incomplete. Download the complete patch.

arch/alpha/kernel/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/alpha/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/arc/include/asm/page.h

View file

This diff is incomplete. Download the complete patch.

arch/arc/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/include/asm/page-nommu.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/mm/init.c

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/mm/nommu.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/hugetlb.h

View file

This diff is incomplete. Download the complete patch.

arch/arm64/include/asm/page.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/thread_info.h

View file

This diff is incomplete. Download the complete patch.

arch/arm64/mm/hugetlbpage.c

View file

This diff is incomplete. Download the complete patch.

arch/arm64/mm/init.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/pageattr.c

View file

This diff is incomplete. Download the complete patch.

arch/csky/abiv1/inc/abi/page.h

View file

This diff is incomplete. Download the complete patch.

arch/csky/abiv2/inc/abi/page.h

View file

This diff is incomplete. Download the complete patch.

arch/csky/kernel/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/hexagon/include/asm/page.h

View file

This diff is incomplete. Download the complete patch.

arch/hexagon/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/loongarch/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/loongarch/include/asm/page.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/kernel/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/loongarch/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/m68k/include/asm/page_no.h

View file

This diff is incomplete. Download the complete patch.

arch/m68k/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/m68k/mm/mcfmmu.c

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/m68k/mm/sun3mmu.c

View file

This diff is incomplete. Download the complete patch.

arch/microblaze/include/asm/page.h

View file

This diff is incomplete. Download the complete patch.

arch/microblaze/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/mips/include/asm/page.h

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/kernel/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/loongson64/numa.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/sgi-ip27/ip27-memory.c

View file

This diff is incomplete. Download the complete patch.

arch/nios2/include/asm/page.h

View file

This diff is incomplete. Download the complete patch.

arch/nios2/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/openrisc/include/asm/page.h

View file

This diff is incomplete. Download the complete patch.

arch/openrisc/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/parisc/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/parisc/include/asm/page.h

View file

This diff is incomplete. Download the complete patch.

arch/parisc/include/asm/tlb.h

View file

This diff is incomplete. Download the complete patch.

arch/parisc/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/book3s/32/pgtable.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/book3s/64/tlbflush-hash.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/hugetlb.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/nohash/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/page.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/setup.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/thread_info.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/tlb.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/kernel/process.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/kernel/setup-common.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/mm/book3s64/hash_pgtable.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/mm/book3s64/hash_tlb.c

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/book3s64/radix_pgtable.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/mm/book3s64/subpage_prot.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/mm/hugetlbpage.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/mm/mem.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/mm/numa.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/mm/pgtable.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/Kconfig.cputype

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/pseries/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/pseries/cmm.c

View file

This diff is incomplete. Download the complete patch.

arch/riscv/include/asm/page.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/mm/hugetlbpage.c

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/s390/include/asm/page.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/kernel/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/gmap_helpers.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/hugetlbpage.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/pgtable.c

View file

This diff is incomplete. Download the complete patch.

arch/sh/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/sparc/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/sparc/include/asm/page_64.h

View file

This diff is incomplete. Download the complete patch.

arch/sparc/include/asm/tlb_64.h

View file

This diff is incomplete. Download the complete patch.

arch/sparc/include/asm/tlbflush_64.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/sparc/mm/tlb.c

View file

This diff is incomplete. Download the complete patch.

arch/um/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/um/include/asm/page.h

View file

This diff is incomplete. Download the complete patch.

arch/um/kernel/mem.c

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/misc.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/boot/startup/sme.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/include/asm/page.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/include/asm/page_32.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/include/asm/page_64.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/include/asm/paravirt.h

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/thread_info.h

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/lib/clear_page_64.S

View file

This diff is incomplete. Download the complete patch.

arch/x86/mm/hugetlbpage.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/mm/init_32.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/mm_internal.h

View file

This diff is incomplete. Download the complete patch.

arch/x86/xen/enlighten_pv.c

View file

This diff is incomplete. Download the complete patch.

arch/x86/xen/mmu_pv.c

View file

This diff is incomplete. Download the complete patch.

arch/xtensa/include/asm/page.h

View file

This diff is incomplete. Download the complete patch.

arch/xtensa/mm/init.c

View file

This diff is incomplete. Download the complete patch.

block/blk-mq.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/block/zram/zram_drv.h

View file

This diff is incomplete. Download the complete patch.

drivers/misc/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/misc/vmw_balloon.c

View file

This diff is incomplete. Download the complete patch.

drivers/virtio/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/virtio/virtio_balloon.c

View file

This diff is incomplete. Download the complete patch.

fs/ext4/inode.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.

fs/sync.c

View file

This diff is incomplete. Download the complete patch.

fs/xfs/xfs_super.c

View file

This diff is incomplete. Download the complete patch.

include/asm-generic/tlb.h

View file

This diff is incomplete. Download the complete patch.

include/linux/backing-dev-defs.h

View file

This diff is incomplete. Download the complete patch.

include/linux/balloon.h

View file

This diff is incomplete. Download the complete patch.

include/linux/balloon_compaction.h

View before deletion

This diff is incomplete. Download the complete patch.

include/linux/cma.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/gfp.h

View file

This diff is incomplete. Download the complete patch.

include/linux/gfp_types.h

View file

This diff is incomplete. Download the complete patch.

include/linux/highmem.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/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/mm.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/mm_types_task.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/mmdebug.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/nodemask.h

View file

This diff is incomplete. Download the complete patch.

include/linux/page-isolation.h

View file

This diff is incomplete. Download the complete patch.

include/linux/page_table_check.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/rmap.h

View file

This diff is incomplete. Download the complete patch.

include/linux/sched.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/vm_event_item.h

View file

This diff is incomplete. Download the complete patch.

include/linux/vmstat.h

View file

This diff is incomplete. Download the complete patch.

include/linux/writeback.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/damon.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/vmscan.h

View file

This diff is incomplete. Download the complete patch.

include/trace/events/writeback.h

View file

This diff is incomplete. Download the complete patch.

include/uapi/linux/mempolicy.h

View file

This diff is incomplete. Download the complete patch.

include/uapi/linux/sysctl.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/cgroup/cpuset.c

View file

This diff is incomplete. Download the complete patch.

kernel/power/swap.c

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/test_vmalloc.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/backing-dev.c

View file

This diff is incomplete. Download the complete patch.

mm/balloon.c

View file

This diff is incomplete. Download the complete patch.

mm/cma.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/lru_sort.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/reclaim.c

View file

This diff is incomplete. Download the complete patch.

mm/damon/stat.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/sysfs.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/damon/tests/vaddr-kunit.h

View file

This diff is incomplete. Download the complete patch.

mm/damon/vaddr.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/dmapool_test.c

View file

This diff is incomplete. Download the complete patch.

mm/early_ioremap.c

View file

This diff is incomplete. Download the complete patch.

mm/folio-compat.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/gup_test.c

View file

This diff is incomplete. Download the complete patch.

mm/highmem.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_cgroup.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/hugetlb_cma.h

View file

This diff is incomplete. Download the complete patch.

mm/hugetlb_sysctl.c

View file

This diff is incomplete. Download the complete patch.

mm/hugetlb_vmemmap.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/kasan/kasan_test_c.c

View file

This diff is incomplete. Download the complete patch.

mm/kasan/report.c

View file

This diff is incomplete. Download the complete patch.

mm/kasan/shadow.c

View file

This diff is incomplete. Download the complete patch.

mm/kfence/core.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/kmsan/kmsan_test.c

View file

This diff is incomplete. Download the complete patch.

mm/list_lru.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-v1.h

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-failure.c

View file

This diff is incomplete. Download the complete patch.

mm/memory-tiers.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/migrate.c

View file

This diff is incomplete. Download the complete patch.

mm/migrate_device.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_lock.c

View file

This diff is incomplete. Download the complete patch.

mm/mmu_gather.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/mseal.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/oom_kill.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_io.c

View file

This diff is incomplete. Download the complete patch.

mm/page_isolation.c

View file

This diff is incomplete. Download the complete patch.

mm/page_reporting.c

View file

This diff is incomplete. Download the complete patch.

mm/page_table_check.c

View file

This diff is incomplete. Download the complete patch.

mm/pagewalk.c

View file

This diff is incomplete. Download the complete patch.

mm/percpu.c

View file

This diff is incomplete. Download the complete patch.

mm/pt_reclaim.c

View before deletion

This diff is incomplete. Download the complete patch.

mm/readahead.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/shmem.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/shrinker_debug.c

View file

This diff is incomplete. Download the complete patch.

mm/slub.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/tests/lazy_mmu_mode_kunit.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/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/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.

tools/mm/slabinfo.c

View file

This diff is incomplete. Download the complete patch.

tools/mm/thp_swap_allocator_test.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/damon/access_memory.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/damon/sysfs_memcg_path_leak.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/damon/sysfs_update_schemes_tried_regions_wss_estimation.py

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/charge_reserved_hugetlb.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/check_config.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/cow.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/hugetlb-madvise.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_compaction.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_cow.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_gup_test.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_hmm.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_hugetlb.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_hugevm.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_ksm.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_ksm_numa.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_madv_guard.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_madv_populate.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_mdwe.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_memfd_secret.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_migration.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_mkdirty.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_mlock.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_mmap.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_mremap.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_page_frag.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_pagemap.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_pfnmap.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_pkey.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_process_madv.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_process_mrelease.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_rmap.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_soft_dirty.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_thp.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_userfaultfd.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_vma_merge.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/ksft_vmalloc.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/page_frag/Makefile

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/split_huge_page_test.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/test_vmalloc.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/va_high_addr_switch.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/va_high_addr_switch.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/mm/virtual_address_range.c

View before deletion

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/mm/write_to_hugetlbfs.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.