aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/task_mmu.c
AgeCommit message (Expand)AuthorFilesLines
12 daysfs/proc/task_mmu.c: fix make_uffd_wp_huge_pte() huge pte handlingLorenzo Stoakes1-1/+3
12 daysmm: declare VMA flags by bitLorenzo Stoakes1-2/+2
2025-11-24mm: softdirty: add pgtable_supports_soft_dirty()Chunyan Zhang1-9/+6
2025-11-24mm: eliminate further swapops predicatesLorenzo Stoakes1-7/+7
2025-11-24mm: remove is_hugetlb_entry_[migration, hwpoisoned]()Lorenzo Stoakes1-9/+10
2025-11-24mm: remove non_swap_entry() and use softleaf helpers insteadLorenzo Stoakes1-6/+6
2025-11-24mm: replace pmd_to_swp_entry() with softleaf_from_pmd()Lorenzo Stoakes1-14/+13
2025-11-24mm: avoid unnecessary use of is_swap_pmd()Lorenzo Stoakes1-3/+12
2025-11-24fs/proc/task_mmu: refactor pagemap_pmd_range()Lorenzo Stoakes1-69/+77
2025-11-24mm: avoid unnecessary uses of is_swap_pte()Lorenzo Stoakes1-15/+34
2025-11-24mm: introduce leaf entry type and use to simplify leaf entry logicLorenzo Stoakes1-13/+13
2025-11-20mm: introduce VM_MAYBE_GUARD and make visible in /proc/$pid/smapsLorenzo Stoakes1-0/+1
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-59/+131
2025-09-25fs/proc/task_mmu: check p->vec_buf for NULLJakub Acs1-0/+3
2025-09-13mm/huge_memory: convert "tva_flags" to "enum tva_type"David Hildenbrand1-2/+2
2025-09-13mm: convert remaining users to mm_flags_*() accessorsLorenzo Stoakes1-1/+1
2025-09-13fs/proc/task_mmu: execute PROCMAP_QUERY ioctl under per-vma locksSuren Baghdasaryan1-18/+85
2025-09-13fs/proc/task_mmu: factor out proc_maps_private fields used by PROCMAP_QUERYSuren Baghdasaryan1-41/+46
2025-08-11proc: proc_maps_open allow proc_mem_open to return NULLJialin Wang1-2/+2
2025-08-05fs/proc/task_mmu: hold PTL in pagemap_hugetlb_range and gather_hugetlb_statsJinjiang Tu1-3/+11
2025-08-05mm/smaps: fix race between smaps_hugetlb_range and migrationJinjiang Tu1-1/+5
2025-07-24fs/proc/task_mmu: read proc/pid/maps under per-vma lockSuren Baghdasaryan1-8/+133
2025-07-24fs/proc/task_mmu: remove conversion of seq_file position to unsignedSuren Baghdasaryan1-7/+10
2025-07-09mm: fix the inaccurate memory statistics issue for usersBaolin Wang1-7/+7
2025-06-25fs/proc/task_mmu: fix PAGE_IS_PFNZERO detection for the huge zero folioDavid Hildenbrand1-1/+1
2025-05-31Merge tag 'mm-nonmm-stable-2025-05-31-15-28' of git://git.kernel.org/pub/scm/...Linus Torvalds1-6/+6
2025-05-11proc: fix the issue of proc_mem_open returning NULLPenglei Jiang1-6/+6
2025-05-11fs/proc: extend the PAGEMAP_SCAN ioctl to report guard regionsAndrei Vagin1-7/+10
2025-03-17fs/proc/task_mmu: remove per-page mapcount dependency for smaps/smaps_rollup ...David Hildenbrand1-2/+15
2025-03-17fs/proc/task_mmu: remove per-page mapcount dependency for "mapmax" (CONFIG_NO...David Hildenbrand1-1/+6
2025-03-17fs/proc/task_mmu: remove per-page mapcount dependency for PM_MMAP_EXCLUSIVE (...David Hildenbrand1-2/+9
2025-03-17mm: convert folio_likely_mapped_shared() to folio_maybe_mapped_shared()David Hildenbrand1-2/+2
2025-03-17fs/proc/task_mmu: reduce scope of lazy mmu regionRyan Roberts1-7/+4
2025-03-16fs/proc/task_mmu: add guard region bit to pagemapLorenzo Stoakes1-1/+5
2024-12-30fs/proc/task_mmu: fix pagemap flags with PMD THP entries on 32bitDavid Hildenbrand1-1/+1
2024-11-18Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-1/+1
2024-11-14fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()Dan Carpenter1-1/+3
2024-10-17fs/proc: fix build with GCC 15 due to -Werror=unterminated-string-initializationBrahmajit Das1-6/+10
2024-10-04mm: Introduce ARCH_HAS_USER_SHADOW_STACKMark Brown1-1/+1
2024-09-21Merge tag 'mm-nonmm-stable-2024-09-21-07-52' of git://git.kernel.org/pub/scm/...Linus Torvalds1-15/+0
2024-09-18Merge tag 'random-6.12-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+3
2024-09-13mm: Define VM_DROPPABLE for powerpc/32Christophe Leroy1-1/+3
2024-09-04mm: use ARCH_PKEY_BITS to define VM_PKEY_BITNJoey Gouly1-0/+2
2024-09-01fs/procfs: remove build ID-related code duplication in PROCMAP_QUERYAndrii Nakryiko1-15/+0
2024-07-24Merge tag 'random-6.11-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+1
2024-07-19mm: add MAP_DROPPABLE for designating always lazily freeable mappingsJason A. Donenfeld1-0/+1
2024-07-12mm: provide mm_struct and address to huge_ptep_get()Christophe Leroy1-5/+5
2024-07-12fs/procfs: add build ID fetching to PROCMAP_QUERY APIAndrii Nakryiko1-2/+25
2024-07-12fs/procfs: implement efficient VMA querying API for /proc/<pid>/mapsAndrii Nakryiko1-0/+235
2024-07-12fs/procfs: extract logic for getting VMA name constituentsAndrii Nakryiko1-54/+71
2024-07-03fs/proc/task_mmu: use folio API in pte_is_pinned()Kefeng Wang1-4/+4
2024-07-03fs/proc: move page_mapcount() to fs/proc/internal.hDavid Hildenbrand1-13/+22
2024-07-03fs/proc/task_mmu: account non-present entries as "maybe shared, but no idea h...David Hildenbrand1-22/+31
2024-07-03fs/proc/task_mmu: properly detect PM_MMAP_EXCLUSIVE per page of PMD-mapped THPsDavid Hildenbrand1-10/+12
2024-07-03fs/proc/task_mmu: don't indicate PM_MMAP_EXCLUSIVE without PM_PRESENTDavid Hildenbrand1-6/+2
2024-07-03fs/proc/task_mmu: indicate PM_FILE for PMD-mapped file THPDavid Hildenbrand1-0/+2
2024-06-24/proc/pid/smaps: add mseal info for vmaJeff Xu1-0/+3
2024-05-24mm: /proc/pid/smaps_rollup: avoid skipping vma after getting mmap_lock againYuanyuan Zhong1-2/+7
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-43/+50
2024-05-05mm: simplify thp_vma_allowable_orderMatthew Wilcox1-2/+2
2024-05-05fs/proc/task_mmu: convert smaps_hugetlb_range() to work on foliosDavid Hildenbrand1-6/+7
2024-05-05fs/proc/task_mmu: convert pagemap_hugetlb_range() to work on foliosDavid Hildenbrand1-3/+4
2024-05-05fs/proc/task_mmu: fix uffd-wp confusion in pagemap_scan_pmd_entry()Ryan Roberts1-9/+13
2024-05-05fs/proc/task_mmu: fix loss of young/dirty bits during pagemap scanRyan Roberts1-1/+1
2024-04-25proc: convert smaps_pmd_entry to use a folioMatthew Wilcox (Oracle)1-3/+5
2024-04-25proc: pass a folio to smaps_page_accumulate()Matthew Wilcox (Oracle)1-6/+5
2024-04-25proc: convert smaps_page_accumulate to use a folioMatthew Wilcox (Oracle)1-3/+4
2024-04-25proc: convert gather_stats to use a folioMatthew Wilcox (Oracle)1-6/+7
2024-04-25proc: convert smaps_account() to use a folioMatthew Wilcox (Oracle)1-7/+9
2024-04-25proc: convert clear_refs_pte_range to use a folioMatthew Wilcox (Oracle)1-8/+8
2024-02-21fs/proc/task_mmu.c: add_to_pagemap: remove useless parameter addrHui Zhu1-7/+6
2024-02-21proc: use pfn_swap_entry_folio where obviousMatthew Wilcox (Oracle)1-2/+2
2024-01-12fs/proc/task_mmu: move mmu notification mechanism inside mm lockMuhammad Usama Anjum1-11/+13
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+18
2024-01-08Merge tag 'vfs-6.8.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+2
2023-12-21fs/proc: show correct device and inode numbers in /proc/pid/mapsAndrei Vagin1-1/+2
2023-12-20mm: thp: introduce multi-size THP sysfs interfaceRyan Roberts1-1/+2
2023-12-10fs/proc/task_mmu: report SOFT_DIRTY bits through the PAGEMAP_SCAN ioctlAndrei Vagin1-1/+16
2023-12-06mm/pagemap: fix wr-protect even if PM_SCAN_WP_MATCHING not setPeter Xu1-1/+1
2023-12-06mm/pagemap: fix ioctl(PAGEMAP_SCAN) on vma checkPeter Xu1-4/+20
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-8/+3
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+731
2023-10-25mempolicy: alloc_pages_mpol() for NUMA policy without vmaHugh Dickins1-2/+3
2023-10-19fs: create helper file_user_path() for user displayed mapped file pathAmir Goldstein1-2/+2
2023-10-18proc: use initializer for clearing some buffersAlexey Dobriyan1-8/+3
2023-10-18fs/proc/task_mmu: add fast paths to get/clear PAGE_IS_WRITTEN flagMuhammad Usama Anjum1-0/+36
2023-10-18fs/proc/task_mmu: implement IOCTL to get and optionally clear info about PTEsMuhammad Usama Anjum1-0/+692
2023-09-05Merge tag 'mm-stable-2023-09-04-14-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+6
2023-09-02proc/ksm: add ksm stats to /proc/pid/smapsStefan Roesch1-0/+6
2023-08-31Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+3
2023-08-21merge mm-hotfixes-stable into mm-stable to pick up depended-upon changesAndrew Morton1-2/+6
2023-08-21mm,thp: fix smaps THPeligible output alignmentHugh Dickins1-1/+1
2023-08-21mm: factor out VMA stack and heap checksKefeng Wang1-20/+4
2023-08-21mm: enable page walking API to lock vmas during the walkSuren Baghdasaryan1-0/+5
2023-08-21smaps: use vm_normal_page_pmd() instead of follow_trans_huge_pmd()David Hildenbrand1-2/+1
2023-07-11mm: Introduce VM_SHADOW_STACK for shadow stack memoryYu-cheng Yu1-0/+3
2023-06-19mm: ptep_get() conversionRyan Roberts1-15/+18
2023-06-19mm/pagewalkers: ACTION_AGAIN if pte_offset_map_lock() failsHugh Dickins1-16/+16
2023-06-09mm: pagemap: restrict pagewalk to the requested rangeYuanchu Xie1-6/+6
2023-04-28Merge tag 'x86_mm_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-2/+7
2023-04-18smaps: fix defined but not used smaps_shmem_walk_opsSteven Price1-2/+1
2023-03-16mm: Introduce untagged_addr_remote()Kirill A. Shutemov1-2/+7
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-1/+1
2023-02-09task_mmu: convert to vma iteratorLiam R. Howlett1-14/+13
2023-02-02mm/mmu_notifier: remove unused mmu_notifier_range_update_to_read_only exportAlistair Popple1-1/+1
2023-01-31mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smapsMike Kravetz1-3/+1
2022-12-11mm: do not show fs mm pc for VM_LOCKONFAULT pagesJason A. Donenfeld1-0/+1
2022-11-30mm: anonymous shared memory namingPasha Tatashin1-4/+11
2022-10-20mm: /proc/pid/smaps_rollup: fix maple tree searchHugh Dickins1-1/+1
2022-09-26fs/proc/task_mmu: stop using linked list and highest_vm_endMatthew Wilcox (Oracle)1-32/+41
2022-09-26mm: remove vmacacheLiam R. Howlett1-1/+0
2022-09-26mm/swap: add swp_offset_pfn() to fetch PFN from swap entryPeter Xu1-3/+17
2022-09-11mm/thp: add flag to enforce sysfs THP in hugepage_vma_check()Zach O'Keefe1-1/+1
2022-08-20mm/smaps: don't access young/dirty bit if pte unpresentPeter Xu1-3/+4
2022-07-17mm: thp: kill __transhuge_page_enabled()Yang Shi1-1/+1
2022-07-17mm: thp: kill transparent_hugepage_active()Yang Shi1-1/+1
2022-07-17mm: handling Non-LRU pages returned by vm_normal_pagesAlex Sierra1-1/+1
2022-07-03mm/smaps: add Pss_DirtyVincent Whitchurch1-0/+3
2022-05-13mm/pagemap: recognize uffd-wp bit for shmem/hugetlbfsPeter Xu1-0/+7
2022-04-28fs/proc/task_mmu.c: remove redundant page validation of pte_pageXianting Tian1-2/+0
2022-03-05proc: fix documentation and description of pagemapYun Zhou1-1/+2
2022-03-05mm: refactor vm_area_struct::anon_vma_name usage codeSuren Baghdasaryan1-3/+3
2022-02-11fs/proc: task_mmu.c: don't read mapcount for migration entryYang Shi1-9/+31
2022-01-15mm: move anon_vma declarations to linux/mm_inline.hArnd Bergmann1-0/+1
2022-01-15mm: add a field to store names for private anonymous memoryColin Cross1-1/+11
2021-11-06mm/smaps: simplify shmem handling of pte holesPeter Xu1-10/+12
2021-11-06mm/smaps: fix shmem pte hole swap calculationPeter Xu1-2/+4
2021-09-03mm: remove VM_DENYWRITEDavid Hildenbrand1-1/+0
2021-07-01mm: remove special swap entry functionsAlistair Popple1-15/+8
2021-06-30mm/pagemap: export uffd-wp protection informationPeter Xu1-0/+9
2021-06-30mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_...Miaohe Lin1-1/+1
2021-06-29mm: gup: pack has_pinned in MMF_HAS_PINNEDAndrea Arcangeli1-1/+1
2021-05-05userfaultfd: add minor fault registration modeAxel Rasmussen1-0/+3
2021-03-13mm: use is_cow_mapping() across tree where properPeter Xu1-2/+0
2021-01-29mm: proc: Invalidate TLB after clearing soft-dirty page stateWill Deacon1-4/+5
2021-01-16mm: don't play games with pinned pages in clear_page_refsLinus Torvalds1-0/+21
2021-01-16mm: fix clear_refs_write lockingLinus Torvalds1-23/+9
2020-12-11proc: use untagged_addr() for pagemap_read addressesMiles Chen1-2/+6
2020-10-16mm: remove the now-unnecessary mmget_still_valid() hackJann Horn1-18/+0
2020-10-13mm: proc: smaps_rollup: do not stall write attempts on mmap_lockChinwen Chang1-1/+65
2020-10-13mm: smaps*: extend smap_gather_stats to support specified beginningChinwen Chang1-8/+22
2020-10-13proc: optimise smaps for shmem entriesMatthew Wilcox (Oracle)1-7/+1
2020-09-04arm64: mte: Add PROT_MTE support to mmap() and mprotect()Catalin Marinas1-0/+4
2020-08-12/proc/PID/smaps: consistent whitespace output formatMichal Koutný1-2/+2
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-3/+3
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-14/+14
2020-06-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-5/+11
2020-06-02/proc/PID/smaps: Add PMD migration entry parsingHuang Ying1-5/+11
2020-06-01Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-0/+3
2020-05-05Merge branch 'for-next/bti-user' into for-next/btiWill Deacon1-0/+3
2020-04-22mm: Remove MPX leftoversJimmy Assarsson1-3/+0
2020-04-07proc: inline m_next_vma into m_nextMatthew Wilcox (Oracle)1-10/+8
2020-04-07proc: use ppos instead of m->versionMatthew Wilcox (Oracle)1-4/+3
2020-04-07proc: remove m_cache_vmaMatthew Wilcox (Oracle)1-32/+6
2020-04-07proc: inline vma_stop into m_stopMatthew Wilcox (Oracle)1-19/+15
2020-03-16mm: smaps: Report arm64 guarded pages in smapsDaniel Kiss1-0/+3
2020-02-04mm: pagewalk: add 'depth' parameter to pte_holeSteven Price1-2/+2
2019-09-24mm,thp: stats for file backed THPSong Liu1-1/+3
2019-09-24mm: introduce compound_nr()Matthew Wilcox (Oracle)1-1/+1
2019-09-07pagewalk: separate function pointers from iterator dataChristoph Hellwig1-37/+41
2019-09-07mm: split out a new pagewalk.h header from mm.hChristoph Hellwig1-1/+1
2019-07-18mm: thp: fix false negative of shmem vma's THP eligibilityYang Shi1-1/+2
2019-07-14Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rd...Linus Torvalds1-1/+1
2019-07-12mm: smaps: split PSS into componentsLuigi Semenzato1-30/+62
2019-07-12proc: use down_read_killable mmap_sem for /proc/pid/clear_refsKonstantin Khlebnikov1-1/+4
2019-07-12proc: use down_read_killable mmap_sem for /proc/pid/pagemapKonstantin Khlebnikov1-1/+3
2019-07-12proc: use down_read_killable mmap_sem for /proc/pid/smaps_rollupKonstantin Khlebnikov1-2/+6
2019-07-12proc: use down_read_killable mmap_sem for /proc/pid/mapsKonstantin Khlebnikov1-1/+5
2019-07-02mm: remove MEMORY_DEVICE_PUBLIC supportChristoph Hellwig1-1/+1
2019-05-14mm/mmu_notifier: use correct mmu_notifier events for each invalidationJérôme Glisse1-2/+2
2019-05-14mm/mmu_notifier: contextual information for event triggering invalidationJérôme Glisse1-1/+2
2019-04-19coredump: fix race condition between mmget_not_zero()/get_task_mm() and core ...Andrea Arcangeli1-0/+18
2019-03-09Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds1-1/+1
2019-03-05mm: update ptep_modify_prot_commit to take old pte value as argAneesh Kumar K.V1-3/+5
2019-03-05mm: update ptep_modify_prot_start/commit to take vm_area_struct as argAneesh Kumar K.V1-2/+2
2019-02-12mm: proc: smaps_rollup: fix pss_locked calculationSandeep Patil1-8/+14
2019-02-07mm: make mm->pinned_vm an atomic64 counterDavidlohr Bueso1-1/+1
2018-12-28mm, thp, proc: report THP eligibility for each vmaMichal Hocko1-0/+2
2018-12-28mm/mmu_notifier: use structure for invalidate_range_start/end calls v2Jérôme Glisse1-2/+5
2018-10-28Merge branch 'xarray' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-1/+1
2018-10-26mm: /proc/pid/smaps_rollup: fix NULL pointer deref in smaps_pte_range()Vlastimil Babka1-1/+3
2018-09-29xarray: Replace exceptional entriesMatthew Wilcox1-1/+1
2018-08-22mm: /proc/pid/smaps_rollup: convert to single value seq_fileVlastimil Babka1-59/+96
2018-08-22mm: /proc/pid/smaps: factor out common stats printingVlastimil Babka1-22/+29
2018-08-22mm: /proc/pid/smaps: factor out mem stats gatheringVlastimil Babka1-24/+31
2018-08-22mm: /proc/pid/*maps remove is_pid and related wrappersVlastimil Babka1-103/+11
2018-07-14fs/proc/task_mmu.c: fix Locked field in /proc/pid/smaps*Vlastimil Babka1-1/+2
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-06-07mm: /proc/pid/pagemap: hide swap entries from unprivileged usersHuang Ying1-10/+16
2018-06-07Merge tag 'powerpc-4.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-6/+7
2018-05-09mm/pkeys, x86, powerpc: Display pkey in smaps if arch supports pkeysRam Pai1-5/+3
2018-05-09mm, powerpc, x86: introduce an additional vma bit for powerpc pkeyRam Pai1-0/+3
2018-05-09mm, powerpc, x86: define VM_PKEY_BITx bits if CONFIG_ARCH_HAS_PKEYS is enabledRam Pai1-2/+2
2018-04-27Merge tag 'v4.17-rc2' into docs-nextJonathan Corbet1-1/+5
2018-04-27docs/admin-guide/mm: start moving here files from Documentation/vmMike Rapoport1-2/+2
2018-04-20mm, pagemap: fix swap offset value for PMD migration entryHuang Ying1-1/+5
2018-04-16Merge branch 'mm-rst' into docs-nextJonathan Corbet1-2/+2
2018-04-16docs/vm: rename documentation files to .rstMike Rapoport1-2/+2
2018-04-11proc: replace seq_printf on seq_putc to speed up /proc/pid/smapsAndrei Vagin1-2/+3
2018-04-11proc: add seq_put_decimal_ull_width to speed up /proc/pid/smapsAndrei Vagin1-75/+52