aboutsummaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
AgeCommit message (Expand)AuthorFilesLines
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+6
2021-11-06mm/rmap.c: avoid double faults migrating device private pagesAlistair Popple1-2/+6
2021-10-18mm/rmap: Add folio_mkclean()Matthew Wilcox (Oracle)1-6/+6
2021-09-27mm/memcg: Add folio_lruvec_lock() and similar functionsMatthew Wilcox (Oracle)1-1/+1
2021-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+4
2021-09-08mm: remove redundant compound_head() callingMuchun Song1-2/+4
2021-08-30Merge tag 'hole_punch_for_v5.15-rc1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-20/+21
2021-07-13mm: Protect operations adding pages to page cache with invalidate_lockJan Kara1-18/+19
2021-07-12mm/rmap: fix munlocking Anon THP with mlocked ptesHugh Dickins1-17/+22
2021-07-12mm: Fix comments mentioning i_mutexJan Kara1-3/+3
2021-07-11mm/rmap: try_to_migrate() skip zone_device !device_privateHugh Dickins1-3/+3
2021-07-11mm/rmap: fix new bug: premature return from page_mlock_one()Hugh Dickins1-6/+5
2021-07-11mm/rmap: fix old bug: munlocking THP missed other mlocksHugh Dickins1-5/+8
2021-07-11mm/rmap: fix comments left over from recent changesHugh Dickins1-6/+1
2021-07-01mm: device exclusive memory accessAlistair Popple1-0/+186
2021-07-01mm/rmap: split migration into its own functionAlistair Popple1-93/+274
2021-07-01mm/rmap: split try_to_munlock from try_to_unmapAlistair Popple1-17/+49
2021-07-01mm/swapops: rework swap entry manipulation codeAlistair Popple1-3/+7
2021-06-30mm: rmap: make try_to_unmap() void functionYang Shi1-11/+4
2021-06-16mm/thp: fix page_address_in_vma() on file THP tailsJue Wang1-4/+4
2021-06-16mm/thp: fix vma_address() if virtual address below file offsetHugh Dickins1-8/+8
2021-06-16mm/thp: try_to_unmap() use TTU_SYNC for safe splittingHugh Dickins1-1/+16
2021-05-07mm: fix some typos and code style problemsShijie Luo1-1/+1
2021-02-26mm/rmap: correct obsolete comment of page_get_anon_vma()Miaohe Lin1-2/+2
2021-02-26mm/rmap: use page_not_mapped in try_to_unmap()Miaohe Lin1-8/+3
2021-02-26mm/rmap: fix obsolete comment in __page_check_anon_rmap()Miaohe Lin1-2/+1
2021-02-26mm/rmap: remove unneeded semicolon in page_not_mapped()Miaohe Lin1-1/+1
2021-02-26mm/rmap: correct some obsolete comments of anon_vmaMiaohe Lin1-2/+2
2021-02-24mm: rmap: explicitly reset vma->anon_vma in unlink_anon_vmas()Li Xinhai1-1/+8
2021-02-24mm: memcontrol: convert NR_FILE_PMDMAPPED account to pagesMuchun Song1-2/+4
2021-02-24mm: memcontrol: convert NR_SHMEM_PMDMAPPED account to pagesMuchun Song1-4/+10
2021-02-24mm: memcontrol: convert NR_ANON_THPS account to pagesMuchun Song1-3/+3
2020-12-15mm/lru: revise the comments of lru_lockHugh Dickins1-2/+2
2020-12-15mm/rmap: stop store reordering issue on page->mappingAlex Shi1-1/+7
2020-12-15mm/rmap: always do TTU_IGNORE_ACCESSShakeel Butt1-9/+0
2020-11-14hugetlbfs: fix anon huge page migration raceMike Kravetz1-4/+1
2020-10-16mm/rmap: fix assumptions of THP sizeMatthew Wilcox (Oracle)1-5/+5
2020-09-05mm/rmap: fixup copying of soft dirty and uffd ptesAlistair Popple1-2/+7
2020-08-14mm/rmap: annotate a data race at tlb_flush_batchedQian Cai1-1/+1
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-4/+4
2020-08-12hugetlbfs: remove call to huge_pte_alloc without i_mmap_rwsemMike Kravetz1-1/+1
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-6/+6
2020-06-03mm: memcontrol: switch to native NR_ANON_THPS counterJohannes Weiner1-3/+3
2020-06-03mm: memcontrol: switch to native NR_ANON_MAPPED counterJohannes Weiner1-18/+29
2020-04-07mm: prevent a warning when casting void* -> enumPalmer Dabbelt1-1/+1
2020-04-07userfaultfd: wp: support swap and page migrationPeter Xu1-0/+6
2020-04-07mm: remove CONFIG_TRANSPARENT_HUGE_PAGECACHEMatthew Wilcox (Oracle)1-1/+1
2020-04-07Revert "mm/rmap.c: reuse mergeable anon_vma as parent when fork"Li Xinhai1-13/+0
2020-04-02hugetlbfs: use i_mmap_rwsem for more pmd sharing synchronizationMike Kravetz1-1/+16
2020-04-02mm/vma: make is_vma_temporary_stack() available for general useAnshuman Khandual1-15/+1
2020-04-02mm/gup: page->hpage_pinned_refcount: exact pin counts for huge pagesJohn Hubbard1-0/+6
2019-12-01mm, thp: do not queue fully unmapped pages for deferred splitKirill A. Shutemov1-4/+10
2019-12-01mm/rmap.c: use VM_BUG_ON_PAGE() in __page_check_anon_rmap()Yang Shi1-4/+3
2019-12-01mm/rmap.c: fix outdated comment in page_get_anon_vma()Miles Chen1-3/+4
2019-12-01mm/rmap.c: reuse mergeable anon_vma as parent when forkWei Yang1-0/+13
2019-12-01mm/rmap.c: don't reuse anon_vma if we just want a copyWei Yang1-9/+15
2019-10-19mm: include <linux/huge_mm.h> for is_vma_temporary_stackBen Dooks1-0/+1
2019-09-24mm,thp: add read-only THP support for (non-shmem) FSSong Liu1-4/+8
2019-09-24mm: introduce compound_nr()Matthew Wilcox (Oracle)1-2/+1
2019-09-24mm: introduce page_size()Matthew Wilcox (Oracle)1-4/+2
2019-09-24mm/rmap.c: remove set but not used variable 'cstart'YueHaibing1-3/+1
2019-08-13mm/hmm: fix bad subpage pointer in try_to_unmap_oneRalph Campbell1-0/+8
2019-05-14mm/rmap.c: use the pra.mapcount to do the checkHuang Shijie1-1/+1
2019-05-14mm/mmu_notifier: use correct mmu_notifier events for each invalidationJérôme Glisse1-3/+3
2019-05-14mm/mmu_notifier: contextual information for event triggering invalidationJérôme Glisse1-2/+4
2019-05-14mm: page_mkclean vs MADV_DONTNEED raceAneesh Kumar K.V1-1/+1
2019-03-05mm: remove zone_lru_lock() function, access ->lru_lock directlyAndrey Ryabinin1-1/+1
2019-01-10mm/mmu_notifier: mm/rmap.c: Fix a mmu_notifier range bug in try_to_unmap_oneSean Christopherson1-2/+2
2019-01-08hugetlbfs: revert "use i_mmap_rwsem for more pmd sharing synchronization"Mike Kravetz1-4/+0
2018-12-28hugetlbfs: use i_mmap_rwsem for more pmd sharing synchronizationMike Kravetz1-0/+4
2018-12-28mm: remove __hugepage_set_anon_rmap()Kirill Tkhai1-21/+4
2018-12-28mm/mmu_notifier: use structure for invalidate_range_start/end calls v2Jérôme Glisse1-12/+18
2018-11-30mm/huge_memory: rename freeze_page() to unmap_page()Hugh Dickins1-10/+3
2018-10-05mm: migration: fix migration of huge PMD shared pagesMike Kravetz1-3/+39
2018-07-14mm: do not drop unused pages when userfaultd is runningChristian Borntraeger1-1/+7
2018-04-27Merge tag 'v4.17-rc2' into docs-nextJonathan Corbet1-3/+0
2018-04-20mm: enable thp migration for shmem thpNaoya Horiguchi1-3/+0
2018-04-16Merge branch 'mm-rst' into docs-nextJonathan Corbet1-3/+3
2018-04-16docs/vm: rename documentation files to .rstMike Rapoport1-3/+3
2018-04-11page cache: use xa_lockMatthew Wilcox1-2/+2
2018-04-05mm: kernel-doc: add missing parameter descriptionsMike Rapoport1-0/+1
2018-03-18mm, swap: Add infrastructure for saving page metadata on swapKhalid Aziz1-0/+14
2017-11-15mm: remove cold parameter from free_hot_cold_page*Mel Gorman1-1/+1
2017-11-15mm/rmap.c: remove redundant variable cendColin Ian King1-3/+1
2017-11-15mm/mmu_notifier: avoid double notification when it is uselessJérôme Glisse1-6/+53
2017-09-08lib/interval_tree: fast overlap detectionDavidlohr Bueso1-2/+2
2017-09-08mm/migrate: support un-addressable ZONE_DEVICE page in migrationJérôme Glisse1-0/+26
2017-09-08mm: thp: enable thp migration in generic pathZi Yan1-0/+13
2017-09-08mm: thp: introduce separate TTU flag for thp freezingNaoya Horiguchi1-3/+4
2017-08-31mm/rmap: update to new mmu_notifier semantic v2Jérôme Glisse1-3/+32
2017-08-29Revert "rmap: do not call mmu_notifier_invalidate_page() under ptl"Linus Torvalds1-30/+22
2017-08-10rmap: do not call mmu_notifier_invalidate_page() under ptlKirill A. Shutemov1-22/+30
2017-08-02mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving...Mel Gorman1-0/+36
2017-07-06mm: memcontrol: per-lruvec stats infrastructureJohannes Weiner1-5/+3
2017-07-06mm: rmap: use correct helper when poisoning hugepagesPunit Agrawal1-2/+5
2017-05-24mm, x86/mm: Make the batched unmap TLB flush API more genericAndy Lutomirski1-14/+2
2017-05-10Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2017-05-03mm: memcontrol: use node page state naming scheme for memcgJohannes Weiner1-2/+2
2017-05-03mm: memcontrol: re-use node VM page state enumJohannes Weiner1-2/+2
2017-05-03mm: remove SWAP_[SUCCESS|AGAIN|FAIL]Minchan Kim1-1/+1
2017-05-03mm: make rmap_one boolean functionMinchan Kim1-15/+15
2017-05-03mm: make rmap_walk() return voidMinchan Kim1-19/+13
2017-05-03mm: make ttu's return booleanMinchan Kim1-5/+3
2017-05-03mm: remove SWAP_AGAIN in ttuMinchan Kim1-8/+3
2017-05-03mm: remove SWAP_MLOCK in ttuMinchan Kim1-2/+1
2017-05-03mm: make try_to_munlock() return voidMinchan Kim1-12/+4
2017-05-03mm: remove SWAP_MLOCK check for SWAP_SUCCESS in ttuMinchan Kim1-1/+1
2017-05-03mm: remove SWAP_DIRTY in ttuMinchan Kim1-2/+2
2017-05-03mm: remove unncessary ret in page_referencedMinchan Kim1-2/+1
2017-05-03mm: fix lazyfree BUG_ON check in try_to_unmap_one()Minchan Kim1-2/+6
2017-05-03mm: reclaim MADV_FREE pagesShaohua Li1-26/+20
2017-05-03mm: don't assume anonymous pages have SwapBacked flagShaohua Li1-1/+2
2017-05-03mm: delete unnecessary TTU_* flagsShaohua Li1-1/+1
2017-04-23Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-2/+2
2017-04-18mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCUPaul E. McKenney1-2/+2
2017-03-31mm: rmap: fix huge file mmap accounting in the memcg statsJohannes Weiner1-2/+2
2017-03-10Merge branch 'prep-for-5level'Linus Torvalds1-1/+6
2017-03-09rmap: fix NULL-pointer dereference on THP munlockingKirill A. Shutemov1-6/+7
2017-03-09mm: convert generic code to 5-level pagingKirill A. Shutemov1-1/+6
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-02-24mm: drop page_check_address{,_transhuge}Kirill A. Shutemov1-138/+0
2017-02-24mm: convert page_mapped_in_vma() to use page_vma_mapped_walk()Kirill A. Shutemov1-26/+0
2017-02-24mm: convert try_to_unmap_one() to use page_vma_mapped_walk()Kirill A. Shutemov1-127/+133
2017-02-24mm: convert page_mkclean_one() to use page_vma_mapped_walk()Kirill A. Shutemov1-23/+45
2017-02-24mm, rmap: check all VMAs that PTE-mapped THP can be part ofKirill A. Shutemov1-6/+10
2017-02-24mm: fix handling PTE-mapped THPs in page_referenced()Kirill A. Shutemov1-32/+34
2016-12-12mm, rmap: handle anon_vma_prepare() common case inlineVlastimil Babka1-35/+34
2016-08-10rmap: fix compound check logic in page_remove_file_rmapSteve Capper1-1/+1
2016-08-10mm, rmap: fix false positive VM_BUG() in page_add_file_rmap()Kirill A. Shutemov1-2/+3
2016-07-28mm: move most file-based accounting to the nodeMel Gorman1-5/+5
2016-07-28mm: rename NR_ANON_PAGES to NR_ANON_MAPPEDMel Gorman1-4/+4
2016-07-28mm: move page mapped accounting to the nodeMel Gorman1-7/+7
2016-07-28mm, vmscan: move lru_lock to the nodeMel Gorman1-1/+1
2016-07-26mm, rmap: account shmem thp pagesKirill A. Shutemov1-6/+8
2016-07-26thp, mlock: do not mlock PTE-mapped file huge pagesKirill A. Shutemov1-2/+14
2016-07-26rmap: support file thpKirill A. Shutemov1-13/+35
2016-07-15mm: thp: refix false positive BUG in page_move_anon_rmap()Hugh Dickins1-6/+3
2016-07-15mm: rmap: call page_check_address() with sync enabled to avoid racy checkNaoya Horiguchi1-1/+2
2016-05-27mm: thp: avoid false positive VM_BUG_ON_PAGE in page_move_anon_rmap()Kirill A. Shutemov1-0/+2
2016-05-19mm: use __SetPageSwapBacked and dont ClearPageSwapBackedHugh Dickins1-1/+1
2016-05-19mm/rmap: replace BUG_ON(anon_vma->degree) with VM_WARN_ONKonstantin Khlebnikov1-1/+1
2016-04-04Merge branch 'PAGE_CACHE_SIZE-removal'Linus Torvalds1-1/+1
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-1/+1
2016-04-01mm/rmap: batched invalidations should use existing apiNadav Amit1-21/+7
2016-03-17thp: rewrite freeze_page()/unfreeze_page() with generic rmap walkersKirill A. Shutemov1-2/+8
2016-03-17rmap: extend try_to_unmap() to be usable by split_huge_page()Kirill A. Shutemov1-8/+16
2016-03-17rmap: introduce rmap_walk_locked()Kirill A. Shutemov1-9/+32
2016-03-15mm: simplify lock_page_memcg()Johannes Weiner1-10/+6
2016-03-15mm: memcontrol: generalize locking for the page->mem_cgroup bindingJohannes Weiner1-4/+4
2016-01-15mm: fix locking order in mm_take_all_locks()Kirill A. Shutemov1-15/+16
2016-01-15mm: support madvise(MADV_FREE)Minchan Kim1-4/+32
2016-01-15mm: add page_check_address_transhuge() helperVladimir Davydov1-44/+71
2016-01-15mm: prepare page_referenced() and page_idle to new THP refcountingKirill A. Shutemov1-35/+82
2016-01-15thp: allow mlocked THP againKirill A. Shutemov1-0/+3
2016-01-15thp: introduce deferred_split_huge_page()Kirill A. Shutemov1-1/+6
2016-01-15thp: reintroduce split_huge_page()Kirill A. Shutemov1-35/+5
2016-01-15mm: rework mapcount accounting to enable 4k mapping of THPsKirill A. Shutemov1-22/+76
2016-01-15mm, thp: remove infrastructure for handling splitting PMDsKirill A. Shutemov1-3/+1
2016-01-15rmap: add argument to charge compound pageKirill A. Shutemov1-17/+31
2016-01-14mm, shmem: add internal shmem resident memory accountingJerome Marchand1-9/+3
2016-01-14kmemcg: account certain kmem allocations to memcgVladimir Davydov1-2/+4
2015-11-05mm: page migration use migration entry for swapcache tooHugh Dickins1-33/+30
2015-11-05mm: rmap use pte lock not mmap_sem to set PageMlockedHugh Dickins1-25/+11
2015-11-05ksm: add cond_resched() to the rmap_walksAndrea Arcangeli1-0/+4
2015-11-05mm: hugetlb: proc: add HugetlbPages field to /proc/PID/statusNaoya Horiguchi1-1/+3
2015-09-10mm: introduce idle page trackingVladimir Davydov1-0/+6
2015-09-04mm: defer flush of writable TLB entriesMel Gorman1-7/+21
2015-09-04mm: send one IPI per CPU to TLB flush all entries after unmapping pagesMel Gorman1-1/+103
2015-06-25Merge branch 'for-4.2/writeback' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+2
2015-06-24mm: clarify that the function operates on hugepage pteAneesh Kumar K.V1-1/+1
2015-06-24rmap: fix theoretical race between do_wp_page and shrink_active_listVladimir Davydov1-1/+6
2015-06-02memcg: add per cgroup dirty page accountingGreg Thelen1-0/+2
2015-04-15mm: remove rest of ACCESS_ONCE() usagesJason Low1-3/+3
2015-03-25mm: fix anon_vma->degree underflow in anon_vma endless growing preventionLeon Yu1-0/+7
2015-02-11mm: memcontrol: track move_lock state internallyJohannes Weiner1-8/+4
2015-02-10rmap: drop support of non-linear mappingsKirill A. Shutemov1-223/+2
2015-01-08mm: prevent endless growth of anon_vma hierarchyKonstantin Khlebnikov1-1/+41
2014-12-20Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/borntr...Linus Torvalds1-1/+2
2014-12-18mm: replace ACCESS_ONCE with READ_ONCE or barriersChristian Borntraeger1-1/+2
2014-12-15Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linuxLinus Torvalds1-1/+1
2014-12-13mm/rmap: calculate page offset when neededDavidlohr Bueso1-2/+4
2014-12-13mm/rmap: share the i_mmap_rwsemDavidlohr Bueso1-3/+3
2014-12-13mm: convert i_mmap_mutex to rwsemDavidlohr Bueso1-3/+3
2014-12-13mm: use new helper functions around the i_mmap_mutexDavidlohr Bueso1-2/+2
2014-12-10mm, memcg: fix potential undefined behaviour in page stat accountingMichal Hocko1-2/+2
2014-12-08Merge tag 'v3.18' into drm-nextDave Airlie1-2/+4
2014-12-03mm: fix anon_vma_clone() error treatmentDaniel Forrest1-2/+4
2014-10-29mm: rmap: split out page_remove_file_rmap()Johannes Weiner1-32/+46
2014-10-29mm: memcontrol: fix missed end-writeback page accountingJohannes Weiner1-10/+10
2014-10-09mm: convert a few VM_BUG_ON callers to VM_BUG_ON_VMASasha Levin1-4/+4
2014-09-24kvm: Fix page ageing bugsAndres Lagar-Cavilla1-1/+5
2014-08-08mm: memcontrol: rewrite uncharge APIJohannes Weiner1-1/+0
2014-08-08mm: memcontrol: rewrite charge APIJohannes Weiner1-19/+0
2014-07-23mm/rmap.c: fix pgoff calculation to handle hugepage correctlyNaoya Horiguchi1-7/+3
2014-06-23mm: let mm_find_pmd fix buggy race with THP faultHugh Dickins1-4/+8
2014-06-08Merge branch 'next' (accumulated 3.16 merge window patches) into masterLinus Torvalds1-14/+41
2014-06-06mm: rmap: fix use-after-free in __put_anon_vmaAndrey Ryabinin1-2/+1
2014-06-04mm/rmap.c: cleanup ttu_flagsKonstantin Khlebnikov1-5/+5
2014-06-04mm/rmap.c: don't call mmu_notifier_invalidate_page() during munlockKonstantin Khlebnikov1-1/+1