aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory.c
AgeCommit message (Expand)AuthorFilesLines
2023-02-02mm: add vma_alloc_zeroed_movable_folio()Matthew Wilcox (Oracle)1-6/+10
2023-02-02mm: remove __HAVE_ARCH_PTE_SWP_EXCLUSIVEDavid Hildenbrand1-4/+0
2023-02-02mm/mmu_notifier: remove unused mmu_notifier_range_update_to_read_only exportAlistair Popple1-5/+5
2023-01-18mm: add vma_has_recency()Yu Zhao1-4/+3
2023-01-18mm: remove zap_page_range and create zap_vma_pagesMike Kravetz1-30/+0
2023-01-18mm/memory: add vm_normal_folio()Vishal Moola (Oracle)1-0/+10
2023-01-18mm/uffd: always wr-protect pte in pte|pmd_mkuffd_wp()Peter Xu1-5/+3
2023-01-18mm: fix a few rare cases of using swapin error pte markerPeter Xu1-2/+6
2023-01-18mm/uffd: fix pte marker when fork() without fork eventPeter Xu1-6/+2
2022-12-11mm: remove VM_FAULT_WRITEDavid Hildenbrand1-5/+4
2022-11-30mm: extend FAULT_FLAG_UNSHARE support to anything in a COW mappingDavid Hildenbrand1-4/+0
2022-11-30mm: don't call vm_ops->huge_fault() in wp_huge_pmd()/wp_huge_pud() for privat...David Hildenbrand1-9/+15
2022-11-30mm: rework handling in do_wp_page() based on private vs. shared mappingsDavid Hildenbrand1-21/+17
2022-11-30mm: add early FAULT_FLAG_WRITE consistency checksDavid Hildenbrand1-0/+8
2022-11-30mm: add early FAULT_FLAG_UNSHARE consistency checksDavid Hildenbrand1-3/+20
2022-11-30mm: mmu_gather: do not expose delayed_rmap flagAlexander Gordeev1-2/+1
2022-11-30mm: delay page_remove_rmap() until after the TLB has been flushedLinus Torvalds1-6/+17
2022-11-30mm/autonuma: use can_change_(pte|pmd)_writable() to replace savedwriteDavid Hildenbrand1-3/+13
2022-11-30mm: use pte markers for swap errorsPeter Xu1-2/+4
2022-11-30mm: always compile in pte markersPeter Xu1-4/+3
2022-11-30mm, hwpoison: when copy-on-write hits poison, take page offlineTony Luck1-1/+3
2022-11-30mm, hwpoison: try to recover from copy-on write faultsTony Luck1-10/+20
2022-11-30mm: convert mm's rss stats into percpu_counterShakeel Butt1-62/+11
2022-11-30Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-14/+13
2022-11-30hugetlb: don't delete vma_lock in hugetlb MADV_DONTNEED processingMike Kravetz1-1/+1
2022-11-30madvise: use zap_page_range_single for madvise dontneedMike Kravetz1-12/+11
2022-11-22mm/memory: return vm_fault_t result from migrate_to_ram() callbackAlistair Popple1-1/+1
2022-11-08Revert "mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled in"Peter Xu1-2/+0
2022-10-12mm: use update_mmu_tlb() on the second threadQi Zheng1-1/+1
2022-10-12mm/memory.c: fix race when faulting a device private pageAlistair Popple1-1/+15
2022-10-12mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled inPeter Xu1-0/+2
2022-10-07hugetlb: fix vma lock handling during split vma and range unmappingMike Kravetz1-4/+0
2022-10-03mm: kmsan: maintain KMSAN metadata for page operationsAlexander Potapenko1-0/+2
2022-10-03hugetlb: use new vma_lock for pmd sharing synchronizationMike Kravetz1-0/+2
2022-10-03mm: use nth_page instead of mem_map_offset mem_map_nextCheng Li1-11/+10
2022-10-03mm: convert lock_page_or_retry() to folio_lock_or_retry()Matthew Wilcox (Oracle)1-5/+5
2022-10-03mm: remove try_to_free_swap()Matthew Wilcox (Oracle)1-1/+1
2022-10-03memcg: convert mem_cgroup_swap_full() to take a folioMatthew Wilcox (Oracle)1-1/+1
2022-10-03mm: convert do_swap_page() to use folio_free_swap()Matthew Wilcox (Oracle)1-8/+8
2022-10-03mm: convert do_wp_page() to use a folioMatthew Wilcox (Oracle)1-20/+20
2022-10-03mm: convert do_swap_page() to use swap_cache_get_folio()Matthew Wilcox (Oracle)1-3/+3
2022-10-03memcg: convert mem_cgroup_swapin_charge_page() to mem_cgroup_swapin_charge_fo...Matthew Wilcox (Oracle)1-1/+1
2022-10-03mm: convert do_swap_page()'s swapcache variable to a folioMatthew Wilcox (Oracle)1-16/+15
2022-10-03mm: convert do_swap_page() to use a folioMatthew Wilcox (Oracle)1-24/+33
2022-09-26mm: remove the vma linked listLiam R. Howlett1-9/+25
2022-09-26mm/demotion: update node_is_toptier to work with memory tiersAneesh Kumar K.V1-0/+1
2022-09-26mm: multi-gen LRU: groundworkYu Zhao1-0/+25
2022-09-26mm: x86, arm64: add arch_has_hw_pte_young()Yu Zhao1-13/+1
2022-09-26Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-4/+10
2022-09-26mm: bring back update_mmu_cache() to finish_fault()Sergei Antonov1-4/+10
2022-09-11memory tiering: hot page selection with hint page fault latencyHuang Ying1-1/+10
2022-09-11mm/thp: add flag to enforce sysfs THP in hugepage_vma_check()Zach O'Keefe1-2/+2
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-10/+17
2022-07-29mm: remove unneeded PageAnon check in restore_exclusive_pte()Miaohe Lin1-1/+1
2022-07-29mm: remove obsolete comment in do_fault_around()Miaohe Lin1-4/+0
2022-07-26Merge tag 'mm-hotfixes-stable-2022-07-26' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-2/+5
2022-07-26mm: fix NULL pointer dereference in wp_page_reuse()Qi Zheng1-1/+1
2022-07-18mm: fix page leak with multiple threads mapping the same pageJosef Bacik1-2/+5
2022-07-17hugetlb: lazy page table copies in fork()Mike Kravetz1-1/+1
2022-07-17mm: thp: kill __transhuge_page_enabled()Yang Shi1-2/+5
2022-07-17mm: handling Non-LRU pages returned by vm_normal_pagesAlex Sierra1-1/+9
2022-07-03mm: split huge PUD on wp_huge_pud fallbackGowans, James1-13/+14
2022-06-16mm: avoid unnecessary page fault retires on shared memory typesPeter Xu1-1/+1
2022-06-01delayacct: track delays from write-protect copyYang Yang1-0/+8
2022-05-27Merge tag 'mm-stable-2022-05-27' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+4
2022-05-27mm/swapfile: unuse_pte can map random data if swap read failsMiaohe Lin1-1/+4
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-170/+403
2022-05-19mm/swap: avoid calling swp_swap_info when try to check SWP_STABLE_WRITESMiaohe Lin1-1/+1
2022-05-13mm/shmem: remove duplicate include in memory.cWan Jiabing1-1/+0
2022-05-13mm/hugetlb: handle uffd-wp during fork()Peter Xu1-2/+2
2022-05-13mm/hugetlb: only drop uffd-wp special pte if requiredPeter Xu1-1/+4
2022-05-13mm/shmem: handle uffd-wp during fork()Peter Xu1-8/+41
2022-05-13mm/shmem: persist uffd-wp bit across zapping for file-backedPeter Xu1-3/+46
2022-05-13mm/shmem: handle uffd-wp special pte in page fault handlerPeter Xu1-9/+58
2022-05-13mm: check against orig_pte for finish_fault()Peter Xu1-1/+11
2022-05-13mm: teach core mm about pte markersPeter Xu1-0/+23
2022-05-09mm: submit multipage reads for SWP_FS_OPS swap-spaceNeilBrown1-1/+1
2022-05-09mm: create new mm/swap.h header fileNeilBrown1-0/+1
2022-05-09mm/swap: remember PG_anon_exclusive via a swp pte bitDavid Hildenbrand1-4/+51
2022-05-09mm: support GUP-triggered unsharing of anonymous pagesDavid Hildenbrand1-33/+74
2022-05-09mm: remember exclusively mapped anonymous pages with PG_anon_exclusiveDavid Hildenbrand1-8/+25
2022-05-09mm/page-flags: reuse PG_mappedtodisk as PG_anon_exclusive for PageAnon() pagesDavid Hildenbrand1-0/+11
2022-05-09mm/rmap: use page_move_anon_rmap() when reusing a mapped PageAnon() page excl...David Hildenbrand1-0/+1
2022-05-09mm/rmap: drop "compound" parameter from page_add_new_anon_rmap()David Hildenbrand1-5/+5
2022-05-09mm/rmap: remove do_page_add_anon_rmap()David Hildenbrand1-2/+2
2022-05-09mm/rmap: convert RMAP flags to a proper distinct rmap_t typeDavid Hildenbrand1-3/+3
2022-05-09mm/rmap: split page_dup_rmap() into page_dup_file_rmap() and page_try_dup_ano...David Hildenbrand1-5/+12
2022-05-09mm/memory: slightly simplify copy_present_pte()David Hildenbrand1-37/+16
2022-05-09mm,fs: Remove aops->readpageMatthew Wilcox (Oracle)1-2/+2
2022-04-28mm/vmstat: add events for ksm cowYang Yang1-0/+4
2022-04-28mm: simplify follow_invalidate_pte()Muchun Song1-58/+23
2022-04-01mm,hwpoison: unmap poisoned page before invalidationRik van Riel1-4/+8
2022-03-24mm: unmap_mapping_range_tree() with i_mmap_rwsem sharedHugh Dickins1-4/+4
2022-03-24mm: streamline COW logic in do_swap_page()David Hildenbrand1-12/+43
2022-03-24mm: slightly clarify KSM logic in do_swap_page()David Hildenbrand1-15/+23
2022-03-24mm: optimize do_wp_page() for fresh pages in local LRU pagevecsDavid Hildenbrand1-1/+9
2022-03-24mm: optimize do_wp_page() for exclusive pages in the swapcacheDavid Hildenbrand1-6/+14
2022-03-23Merge tag 'asm-generic-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-8/+0
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-28/+15
2022-03-22userfaultfd: provide unmasked address on page-faultNadav Amit1-0/+1
2022-03-22mm: invalidate hwpoison page cache page in fault pathRik van Riel1-2/+7
2022-03-22mm/memory.c: use helper macro min and max in unmap_mapping_range_tree()Miaohe Lin1-6/+2
2022-03-22mm/memory.c: use helper function range_in_vma()Miaohe Lin1-1/+1
2022-03-22mm: rework swap handling of zap_pte_rangePeter Xu1-15/+6
2022-03-22mm: change zap_details.zap_mapping into even_cowsPeter Xu1-9/+7
2022-03-22mm: rename zap_skip_check_mapping() to should_zap_page()Peter Xu1-9/+8
2022-03-22mm: don't skip swap entry even if zap_details specifiedPeter Xu1-9/+31
2022-03-22mm: hugetlb: fix missing cache flush in copy_huge_page_from_user()Muchun Song1-0/+2
2022-02-25uaccess: remove CONFIG_SET_FSArnd Bergmann1-8/+0
2022-02-17mm/munlock: rmap call mlock_vma_page() munlock_vma_page()Hugh Dickins1-30/+15
2022-01-20Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-4/+0
2022-01-20delayacct: support swapin delay accounting for swapping without blkioYang Yang1-4/+0
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-5/+7
2022-01-15mm: remove last argument of reuse_swap_page()Matthew Wilcox (Oracle)1-1/+1
2022-01-15mm: change page type prior to adding page table entryPasha Tatashin1-4/+5
2022-01-15mm: move tlb_flush_pending inline helpers to mm_inline.hArnd Bergmann1-0/+1
2022-01-08mm: Add unmap_mapping_folio()Matthew Wilcox (Oracle)1-14/+35
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-92/+70
2021-11-06mm: remove redundant smp_wmb()Qi Zheng1-29/+23
2021-11-06mm: introduce pmd_install() helperQi Zheng1-18/+16
2021-11-06mm: add zap_skip_check_mapping() helperPeter Xu1-23/+6
2021-11-06mm: drop first_index/last_index in zap_detailsPeter Xu1-13/+18
2021-11-06mm: clear vmf->pte after pte_unmap_same() returnsPeter Xu1-6/+6
2021-11-06mm/memory.c: avoid unnecessary kernel/user pointer conversionAmit Daniel Kachhap1-3/+1
2021-11-01Merge tag 'locking-core-2021-10-31' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2021-11-01Merge tag 'folio-5.16' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-9/+11
2021-10-28mm: filemap: check if THP has hwpoisoned subpage for PMD page faultYang Shi1-0/+9
2021-10-18mm/workingset: Convert workingset_refault() to take a folioMatthew Wilcox (Oracle)1-1/+2
2021-10-01sched: Remove preempt_offset argument from __might_sleep()Thomas Gleixner1-1/+1
2021-09-27mm/memcg: Convert mem_cgroup_charge() to take a folioMatthew Wilcox (Oracle)1-4/+5
2021-09-27mm/filemap: Add __folio_lock_or_retry()Matthew Wilcox (Oracle)1-4/+4
2021-09-13afs: Fix mmap coherency vs 3rd-party changesDavid Howells1-0/+1
2021-07-23mm: fix the deadlock in finish_fault()Qi Zheng1-1/+10
2021-07-01mm: device exclusive memory accessAlistair Popple1-4/+123
2021-07-01mm/memory.c: allow different return codes for copy_nonpresent_pte()Alistair Popple1-11/+17
2021-07-01mm/swapops: rework swap entry manipulation codeAlistair Popple1-4/+6
2021-07-01mm: remove special swap entry functionsAlistair Popple1-5/+5
2021-06-30mm: memory: make numa_migrate_prep() non-staticYang Shi1-3/+2
2021-06-30mm: memory: add orig_pmd to struct vm_faultYang Shi1-13/+13
2021-06-30userfaultfd/shmem: support minor fault registration for shmemAxel Rasmussen1-3/+5
2021-06-30mm/userfaultfd: fix uffd-wp special cases for fork()Peter Xu1-12/+13
2021-06-29mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMAMike Rapoport1-2/+1
2021-06-29mm/memory.c: use vma_lookup() in __access_remote_vm()Liam Howlett1-2/+2
2021-06-29mm/memory.c: fix comment of finish_mkwrite_fault()Liu Xiang1-1/+1
2021-06-29mm: free idle swap cache page after COWHuang Ying1-0/+2
2021-06-29swap: fix do_swap_page() race with swapoffMiaohe Lin1-2/+9
2021-06-16mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()Hugh Dickins1-0/+41
2021-06-05Revert "MIPS: make userspace mapping young by default"Thomas Bogendoerfer1-0/+4
2021-05-07mm: fix typos in commentsIngo Molnar1-5/+5
2021-05-07delayacct: clear right task's flag after blkio completesYafang Shao1-4/+4
2021-04-30mm: apply_to_pte_range warn and fail if a large pte is encounteredNicholas Piggin1-17/+49
2021-04-30NUMA balancing: reduce TLB flush via delaying mapping on hint page faultHuang Ying1-22/+32
2021-04-30mm: add remap_pfn_range_notrackChristoph Hellwig1-20/+31
2021-04-30mm/memory.c: do_numa_page(): delete bool "migrated"Wang Qing1-3/+1
2021-04-30memcg: charge before adding to swapcache on swapinShakeel Butt1-9/+7
2021-03-30mm: fix race by making init_zero_pfn() early_initcallIlya Lipnitskiy1-1/+1
2021-03-13mm/userfaultfd: fix memory corruption due to writeprotectNadav Amit1-0/+8
2021-03-13mm: introduce page_needs_cow_for_dma() for deciding whether cowPeter Xu1-7/+1
2021-02-26MIPS: make userspace mapping young by defaultHuang Pei1-4/+0
2021-02-24hugetlb: fix copy_huge_page_from_user contig page struct assumptionMike Kravetz1-4/+6
2021-02-24mm/memory.c: fix potential pte_unmap_unlock pte errorMiaohe Lin1-4/+4
2021-02-24mm/memory.c: fix potential pte_unmap_unlock pte errorMiaohe Lin1-3/+3
2021-02-22Merge tag 'topic/iomem-mmap-vs-gup-2021-02-22' of git://anongit.freedesktop.o...Linus Torvalds1-3/+43
2021-02-21Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-5/+36
2021-02-21Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-145/+78
2021-02-09mm: provide a saner PTE walking API for modulesPaolo Bonzini1-5/+36
2021-01-29tlb: mmu_gather: Remove start/end arguments from tlb_gather_mmu()Will Deacon1-2/+2
2021-01-29tlb: mmu_gather: Remove unused start/end arguments from tlb_finish_mmu()Will Deacon1-2/+2
2021-01-21mm: Pass 'address' to map to do_set_pte() and drop FAULT_FLAG_PREFAULTWill Deacon1-5/+5
2021-01-20mm: Allow architectures to request 'old' entries when prefaultingWill Deacon1-1/+19
2021-01-20mm: Cleanup faultaround and finish_fault() codepathsKirill A. Shutemov1-142/+57
2021-01-12mm: Close race in generic_access_physDaniel Vetter1-3/+43
2020-12-29mm: generalise COW SMC TLB flushing race commentNicholas Piggin1-3/+5
2020-12-15mm: simplify follow_pte{,pmd}Christoph Hellwig1-30/+5
2020-12-15mm: unexport follow_pte_pmdChristoph Hellwig1-1/+0
2020-12-15mm: cleanup: remove unused tsk arg from __access_remote_vmJohn Hubbard1-6/+5
2020-12-15mm/gup: prevent gup_fast from racing with COW during forkJason Gunthorpe1-1/+12
2020-10-18mm: allow a NULL fn callback in apply_to_page_rangeChristoph Hellwig1-7/+9
2020-10-16mm/memory: remove page fault assumption of compound page sizeMatthew Wilcox (Oracle)1-3/+4
2020-10-15Merge tag 'dma-mapping-5.10' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-1/+0
2020-10-13mm: remove src/dst mm parameter in copy_page_range()Peter Xu1-68/+73
2020-10-13mm/memory.c: fix spello of "function"Randy Dunlap1-1/+1
2020-10-13mm/memory.c: replace vmf->vma with variable vmaYanfei Xu1-1/+1
2020-10-13mm/memory.c: fix typo in __do_fault() commentYanfei Xu1-1/+1
2020-10-08mm: avoid early COW write protect games during fork()Linus Torvalds1-37/+4
2020-10-06dma-mapping: move dma-debug.h to kernel/dma/Christoph Hellwig1-1/+0
2020-09-27mm: Do early cow for pinned pages during fork() for ptesPeter Xu1-16/+189
2020-09-27mm/fork: Pass new vma pointer into copy_page_range()Peter Xu1-5/+9
2020-09-24mm: fix misplaced unlock_page in do_wp_page()Linus Torvalds1-1/+1
2020-09-23mm: move the copy_one_pte() pte_present check into the callerLinus Torvalds1-12/+12
2020-09-23mm: split out the non-present case from copy_one_pte()Linus Torvalds1-67/+79
2020-09-05Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-13/+24
2020-09-05mm: track page table modifications in __apply_to_page_range()Joerg Roedel1-13/+24
2020-09-04Merge branch 'simplify-do_wp_page'Linus Torvalds1-42/+18
2020-09-04mm: Add PGREUSE counterPeter Xu1-0/+1
2020-09-04mm: do_wp_page() simplificationLinus Torvalds1-42/+17
2020-08-18mm/memory.c: skip spurious TLB flush for retried page faultYang Shi1-0/+3
2020-08-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+2
2020-08-14mm/swapfile: fix and annotate various data racesQian Cai1-2/+2
2020-08-14dma-debug: remove debug_dma_assert_idle() functionLinus Torvalds1-2/+0