aboutsummaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-23merge mm-hotfixes-stable into mm-nonmm-stable to pick up stackdepot changesAndrew Morton1-0/+8
2024-02-23mm/vmscan: fix a bug calling wakeup_kswapd() with a wrong zone indexByungchul Park1-0/+8
2024-02-22mm/migrate: preserve exact soft-dirty statePaul Gofman1-2/+5
2024-01-17Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-0/+2
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-23/+16
2024-01-08Merge tag 'vfs-6.8.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-3/+3
2023-12-29mm/migrate: page_add_anon_rmap() -> folio_add_anon_rmap_pte()David Hildenbrand1-2/+2
2023-12-29mm/migrate: page_add_file_rmap() -> folio_add_file_rmap_pte()David Hildenbrand1-1/+1
2023-12-29mm/rmap: introduce and use hugetlb_add_file_rmap()David Hildenbrand1-1/+1
2023-12-29mm/rmap: rename hugepage_add* to hugetlb_add*David Hildenbrand1-2/+2
2023-12-29mm: migrate: fix getting incorrect page mapping during page migrationBaolin Wang1-17/+10
2023-12-20mm: migrate high-order folios in swap cache correctlyCharan Teja Kalla1-1/+8
2023-11-21fs: Rename mapping private membersMatthew Wilcox (Oracle)1-3/+3
2023-11-14Merge branch 'kvm-guestmemfd' into HEADPaolo Bonzini1-0/+2
2023-11-13mm: Add AS_UNMOVABLE to mark mapping as completely unmovableSean Christopherson1-0/+2
2023-10-25mm: migrate: record the mlocked page status to remove unnecessary lru drainBaolin Wang1-19/+29
2023-10-25mm/migrate: add nr_split to trace_mm_migrate_pages stats.Zi Yan1-2/+3
2023-10-25mm/migrate: correct nr_failed in migrate_pages_sync()Zi Yan1-3/+13
2023-10-25mm: migrate: use folio_xchg_last_cpupid() in folio_migrate_flags()Kefeng Wang1-4/+4
2023-10-18hugetlb: memcg: account hugetlb-backed memory in memory controllerNhat Pham1-2/+1
2023-10-18mm/migrate: remove unused mm argument from do_move_pages_to_nodeGregory Price1-7/+6
2023-10-18Merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes.Andrew Morton1-2/+12
2023-10-16mm/filemap: remove hugetlb special casing in filemap.cSidhartha Kumar1-3/+3
2023-10-06mm/migrate: fix do_pages_move for compat pointersGregory Price1-2/+12
2023-10-04mm: migrate: remove isolated variable in add_page_for_migration()Kefeng Wang1-7/+4
2023-10-04mm: migrate: remove PageHead() check for HugeTLB in add_page_for_migration()Kefeng Wang1-4/+2
2023-10-04mm: migrate: use a folio in add_page_for_migration()Kefeng Wang1-21/+19
2023-10-04mm: migrate: use __folio_test_movable()Kefeng Wang1-7/+7
2023-10-04mm: migrate: convert migrate_misplaced_page() to migrate_misplaced_folio()Kefeng Wang1-18/+21
2023-10-04mm: migrate: convert numamigrate_isolate_page() to numamigrate_isolate_folio()Kefeng Wang1-10/+10
2023-10-04mm: migrate: remove THP mapcount check in numamigrate_isolate_page()Kefeng Wang1-4/+0
2023-10-04mm: migrate: remove PageTransHuge check in numamigrate_isolate_page()Kefeng Wang1-2/+0
2023-10-04mm/rmap: pass folio to hugepage_add_anon_rmap()David Hildenbrand1-1/+1
2023-09-29mm: hugetlb: add huge page size param to set_huge_pte_at()Ryan Roberts1-2/+5
2023-08-31Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2023-08-29Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds1-2/+2
2023-08-18migrate: use folio_set_bh() instead of set_bh_page()Matthew Wilcox (Oracle)1-1/+1
2023-08-18mm: merge folio_has_private()/filemap_release_folio() call pairsDavid Howells1-2/+1
2023-08-02fs: add CONFIG_BUFFER_HEADChristoph Hellwig1-2/+2
2023-07-11mm: Make pte_mkwrite() take a VMARick Edgecombe1-1/+1
2023-06-23mm: remove unnecessary pagevec includesMatthew Wilcox (Oracle)1-1/+0
2023-06-23mm: fix shmem THP counters on migrationJan Glauber1-0/+5
2023-06-19mm: ptep_get() conversionRyan Roberts1-6/+8
2023-06-19mm/various: give up if pte_offset_map[_lock]() failsHugh Dickins1-0/+3
2023-06-19mm/migrate: remove cruft from migration_entry_wait()sHugh Dickins1-24/+13
2023-06-09mm: convert migrate_pages() to work on foliosMatthew Wilcox (Oracle)1-86/+75
2023-06-09migrate_pages_batch: simplify retrying and failure counting of large foliosHuang Ying1-76/+36
2023-06-09migrate_pages: avoid blocking for IO in MIGRATE_SYNC_LIGHTDouglas Anderson1-23/+26
2023-04-28Merge tag 'x86_mm_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-5/+6
2023-04-21mm: don't check VMA write permissions if the PTE/PMD indicates write permissionsDavid Hildenbrand1-4/+1
2023-04-21migrate_pages_batch: fix statistics for longterm pin retryHuang Ying1-0/+3
2023-04-18mm/migrate: revert "mm/migrate: fix wrongly apply write bit after mkdirty on ...David Hildenbrand1-2/+0
2023-03-28mm/migrate: drop pte_mkhuge() in remove_migration_pte()Anshuman Khandual1-1/+0
2023-03-16mm: Introduce untagged_addr_remote()Kirill A. Shutemov1-5/+6
2023-03-07migrate_pages: try migrate in batch asynchronously firstlyHuang Ying1-18/+62
2023-03-07migrate_pages: move split folios processing out of migrate_pages_batch()Huang Ying1-50/+28
2023-03-07migrate_pages: fix deadlock in batched migrationHuang Ying1-43/+26
2023-03-04mm: avoid gcc complaint about pointer castingLinus Torvalds1-2/+8
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-281/+653
2023-02-20mm: change to return bool for isolate_movable_page()Baolin Wang1-3/+3
2023-02-20mm: hugetlb: change to return bool for isolate_hugetlb()Baolin Wang1-4/+3
2023-02-20mm: change to return bool for isolate_lru_page()Baolin Wang1-3/+6
2023-02-17mm/migrate: fix wrongly apply write bit after mkdirty on sparc64Peter Xu1-0/+2
2023-02-16migrate_pages: move THP/hugetlb migration support check to simplify codeHuang Ying1-47/+36
2023-02-16migrate_pages: batch flushing TLBHuang Ying1-1/+4
2023-02-16migrate_pages: share more code between _unmap and _moveHuang Ying1-122/+85
2023-02-16migrate_pages: move migrate_folio_unmap()Huang Ying1-50/+50
2023-02-16migrate_pages: batch _unmap and _moveHuang Ying1-25/+189
2023-02-16migrate_pages: split unmap_and_move() to _unmap() and _move()Huang Ying1-41/+128
2023-02-16migrate_pages: restrict number of pages to migrate in batchHuang Ying1-68/+106
2023-02-16migrate_pages: separate hugetlb folios migrationHuang Ying1-22/+119
2023-02-16migrate_pages: organize stats with struct migrate_pages_statsHuang Ying1-26/+34
2023-02-13mm/migrate: convert putback_movable_pages() to use foliosVishal Moola (Oracle)1-23/+23
2023-02-13mm/migrate: convert isolate_movable_page() to use foliosVishal Moola (Oracle)1-19/+20
2023-02-13mm/migrate: add folio_movable_ops()Vishal Moola (Oracle)1-1/+1
2023-02-13mm/hugetlb: convert putback_active_hugepage to take in a folioSidhartha Kumar1-4/+4
2023-02-13mm/hugetlb: convert alloc_migrate_huge_page to foliosSidhartha Kumar1-1/+4
2023-02-13mm/hugetlb: convert isolate_hugetlb to foliosSidhartha Kumar1-1/+1
2023-02-02mm: mlock: update the interface to use foliosLorenzo Stoakes1-1/+1
2023-01-18mm/hugetlb: move swap entry handling into vma lock when faultedPeter Xu1-4/+21
2022-12-13Merge tag 'mm-stable-2022-12-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-132/+153
2022-12-12Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+1
2022-12-12Merge tag 'slab-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+12
2022-12-08mm: export buffer_migrate_folio_norefs()Jan Kara1-0/+1
2022-11-30mm/migrate.c: stop using 0 as NULL pointerYang Li1-1/+1
2022-11-30migrate: convert migrate_pages() to use foliosHuang Ying1-98/+112
2022-11-30migrate: convert unmap_and_move() to use foliosHuang Ying1-27/+27
2022-11-30Revert "mm: migration: fix the FOLL_GET failure on following huge page"Baolin Wang1-8/+2
2022-11-30mm/hugetlb: convert move_hugetlb_state() to foliosSidhartha Kumar1-2/+2
2022-11-21mm/migrate: make isolate_movable_page() skip slab pagesVlastimil Babka1-3/+12
2022-11-08mm: migrate: try again if THP split is failed due to page refcntBaolin Wang1-3/+16
2022-11-08mm/hugetlb: add folio_hstate()Sidhartha Kumar1-1/+1
2022-10-28mm: migrate: fix return value if all subpages of THPs are migrated successfullyBaolin Wang1-0/+7
2022-10-12mm/memory.c: fix race when faulting a device private pageAlistair Popple1-14/+20
2022-10-03mm: convert page_get_anon_vma() to folio_get_anon_vma()Matthew Wilcox (Oracle)1-3/+3
2022-10-03migrate: convert unmap_and_move_huge_page() to use foliosMatthew Wilcox (Oracle)1-14/+14
2022-10-03migrate: convert __unmap_and_move() to use foliosMatthew Wilcox (Oracle)1-38/+37
2022-09-26mm: fix the handling Non-LRU pages returned by follow_pageHaiyue Wang1-7/+12
2022-09-26mm/demotion: update node_is_toptier to work with memory tiersAneesh Kumar K.V1-0/+1
2022-09-26mm/demotion: build demotion targets based on explicit memory tiersAneesh Kumar K.V1-394/+0
2022-09-26mm/demotion: move memory demotion related codeAneesh Kumar K.V1-59/+1
2022-09-26mm: migrate: do not retry 10 times for the subpages of fail-to-migrate THPBaolin Wang1-3/+2
2022-09-26migrate_pages(): fix failure counting for retryHuang Ying1-1/+5
2022-09-26migrate_pages(): fix failure counting for THP splittingHuang Ying1-7/+7
2022-09-26migrate_pages(): fix failure counting for THP on -ENOSYSHuang Ying1-3/+3
2022-09-26migrate_pages(): fix failure counting for THP subpages retryingHuang Ying1-1/+2
2022-09-26migrate_pages(): fix THP failure counting for -ENOMEMHuang Ying1-3/+4
2022-09-26migrate_pages(): remove unnecessary list_safe_reset_next()Huang Ying1-8/+5
2022-09-26migrate: fix syscall move_pages() return value for failureHuang Ying1-2/+6
2022-09-26mm: remember young/dirty bit for page migrationsPeter Xu1-1/+5
2022-09-11memory tiering: hot page selection with hint page fault latencyHuang Ying1-0/+12
2022-09-11mm: migration: fix the FOLL_GET failure on following huge pageHaiyue Wang1-2/+8
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-16/+27
2022-08-02fs: Remove aops->migratepage()Matthew Wilcox (Oracle)1-3/+0
2022-08-02hugetlb: Convert to migrate_folioMatthew Wilcox (Oracle)1-9/+9
2022-08-02mm/migrate: Add filemap_migrate_folio()Matthew Wilcox (Oracle)1-0/+20
2022-08-02mm/migrate: Convert migrate_page() to migrate_folio()Matthew Wilcox (Oracle)1-17/+20
2022-08-02mm/migrate: Convert expected_page_refs() to folio_expected_refs()Matthew Wilcox (Oracle)1-7/+12
2022-08-02mm/migrate: Convert buffer_migrate_page() to buffer_migrate_folio()Matthew Wilcox (Oracle)1-30/+46
2022-08-02mm/migrate: Convert writeout() to take a folioMatthew Wilcox (Oracle)1-11/+10
2022-08-02mm/migrate: Convert fallback_migrate_page() to fallback_migrate_folio()Matthew Wilcox (Oracle)1-10/+9
2022-08-02fs: Add aops->migrate_folioMatthew Wilcox (Oracle)1-4/+7
2022-08-02mm: Convert all PageMovable users to movable_operationsMatthew Wilcox (Oracle)1-12/+12
2022-07-17mm: handling Non-LRU pages returned by vm_normal_pagesAlex Sierra1-2/+2
2022-07-03mm/migration: fix potential pte_unmap on an not mapped pteMiaohe Lin1-4/+19
2022-07-03mm/migration: return errno when isolate_huge_page failedMiaohe Lin1-3/+4
2022-07-03mm/migration: remove unneeded lock page and PageMovable checkMiaohe Lin1-7/+2
2022-06-23mm: Clear page->private when splitting or migrating a pageMatthew Wilcox (Oracle)1-0/+1
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-97/+97
2022-05-13mm/migrate: convert move_to_new_page() into move_to_new_folio()Matthew Wilcox (Oracle)1-29/+29
2022-05-13mm: convert sysfs input to bool using kstrtobool()Jagdish Gediya1-6/+5
2022-05-09fs: Change try_to_free_buffers() to take a folioMatthew Wilcox (Oracle)1-1/+1
2022-05-09mm: remember exclusively mapped anonymous pages with PG_anon_exclusiveDavid Hildenbrand1-2/+12
2022-05-09mm/rmap: pass rmap flags to hugepage_add_anon_rmap()David Hildenbrand1-1/+2
2022-05-09mm/rmap: remove do_page_add_anon_rmap()David Hildenbrand1-1/+2
2022-05-09mm/rmap: split page_dup_rmap() into page_dup_file_rmap() and page_try_dup_ano...David Hildenbrand1-1/+1
2022-04-28mm: untangle config dependencies for demote-on-reclaimOscar Salvador1-5/+6
2022-04-28mm: migrate: simplify the refcount validation when migrating hugetlb mappingBaolin Wang1-5/+0
2022-04-28mm/migration: fix possible do_pages_stat_array racing with memory offlineMiaohe Lin1-2/+7
2022-04-28mm/migration: fix potential invalid node access for reclaim-based migrationMiaohe Lin1-3/+3
2022-04-28mm/migration: fix potential page refcounts leak in migrate_pagesMiaohe Lin1-0/+8
2022-04-28mm/migration: remove some duplicated codes in migrate_pagesMiaohe Lin1-24/+12
2022-04-28mm/migration: avoid unneeded nodemask_t initializationMiaohe Lin1-2/+2
2022-04-28mm/migration: use helper macro min in do_pages_statMiaohe Lin1-6/+2
2022-04-28mm/migration: use helper function vma_lookup() in add_page_for_migrationMiaohe Lin1-2/+2
2022-04-28mm/migration: remove unneeded local variable page_lruMiaohe Lin1-3/+1
2022-04-28mm/migration: remove unneeded local variable mapping_lockedMiaohe Lin1-4/+2
2022-04-28mm/vmscan: make sure wakeup_kswapd with managed zoneWei Yang1-3/+3
2022-04-07mm/migrate: Use a folio in migrate_misplaced_transhuge_page()Matthew Wilcox (Oracle)1-42/+16
2022-04-07mm/migrate: Use a folio in alloc_migration_target()Matthew Wilcox (Oracle)1-12/+10
2022-04-01mm/munlock: protect the per-CPU pagevec by a local_lock_tSebastian Andrzej Siewior1-1/+1
2022-03-24mm/migration: add trace events for base page and HugeTLB migrationsAnshuman Khandual1-1/+3
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-814/+56
2022-03-22mm: only re-generate demotion targets when a numa node changes its N_CPU stateOscar Salvador1-37/+10
2022-03-22NUMA balancing: optimize page placement for memory tiering systemHuang Ying1-2/+14
2022-03-22NUMA Balancing: add page promotion counterHuang Ying1-3/+10
2022-03-22mm/migrate: fix race between lock page and clear PG_Isolatedandrew.yang1-6/+6
2022-03-22mm,migrate: fix establishing demotion targetHuang Ying1-2/+5
2022-03-22mm/fs: delete PF_SWAPWRITEHugh Dickins1-7/+0
2022-03-22mm: remove unneeded local variable follflagsMiaohe Lin1-3/+1
2022-03-22mm: replace multiple dcache flush with flush_dcache_folio()Muchun Song1-6/+2
2022-03-22mm: fix missing cache flush for all tail pages of compound pageMuchun Song1-2/+5
2022-03-22mm/gup: follow_pfn_pte(): -EEXIST cleanupJohn Hubbard1-0/+7
2022-03-21mm/rmap: Convert rmap_walk() to take a folioMatthew Wilcox (Oracle)1-6/+4
2022-03-21mm/migrate: Convert remove_migration_ptes() to foliosMatthew Wilcox (Oracle)1-25/+30
2022-03-21mm/rmap: Convert try_to_migrate() to foliosMatthew Wilcox (Oracle)1-2/+4
2022-03-21mm: Convert page_vma_mapped_walk to work on PFNsMatthew Wilcox (Oracle)1-2/+3
2022-03-21mm: Add DEFINE_PAGE_VMA_WALK and DEFINE_FOLIO_VMA_WALKMatthew Wilcox (Oracle)1-6/+1
2022-03-03mm: move the migrate_vma_* device migration code into its own fileChristoph Hellwig1-753/+0
2022-03-03mm: refactor the ZONE_DEVICE handling in migrate_vma_pagesChristoph Hellwig1-15/+12
2022-03-03mm: refactor the ZONE_DEVICE handling in migrate_vma_insert_pageChristoph Hellwig1-16/+15
2022-03-03mm: remove the extra ZONE_DEVICE struct page refcountChristoph Hellwig1-6/+0
2022-02-17mm/munlock: page migration needs mlock pagevec drainedHugh Dickins1-0/+2
2022-02-17mm/migrate: __unmap_and_move() push good newpage to LRUHugh Dickins1-12/+19
2022-02-17mm/munlock: rmap call mlock_vma_page() munlock_vma_page()Hugh Dickins1-7/+2
2022-01-22mm/migrate.c: rework migration_entry_wait() to not take a pagerefAlistair Popple1-34/+4
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-124/+253
2022-01-15mm/migrate: remove redundant variables used in a for-loopColin Ian King1-3/+2
2022-01-15mm/migrate: move node demotion code to near its userHuang Ying1-133/+132
2022-01-15mm: migrate: add more comments for selecting target node randomlyBaolin Wang1-0/+8
2022-01-15mm: migrate: support multiple target nodes demotionBaolin Wang1-35/+129
2022-01-15mm: migrate: correct the hugetlb migration statsBaolin Wang1-9/+8
2022-01-15mm: migrate: fix the return value of migrate_pages()Baolin Wang1-16/+47
2022-01-15mm: change page type prior to adding page table entryPasha Tatashin1-3/+2
2022-01-08mm: Use multi-index entries in the page cacheMatthew Wilcox (Oracle)1-8/+0
2022-01-04filemap: Add folio_put_wait_locked()Matthew Wilcox (Oracle)1-11/+10
2021-11-11mm/migrate.c: remove MIGRATE_PFN_LOCKEDAlistair Popple1-117/+28
2021-11-11mm: migrate: simplify the file-backed pages validation when migrating its map...Baolin Wang1-6/+0
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+61
2021-11-06mm: migrate: make demotion knob depend on migrationYang Shi1-0/+61
2021-11-01Merge tag 'folio-5.16' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-95/+94
2021-10-18mm/migrate: fix CPUHP state to update node demotion orderHuang Ying1-3/+5
2021-10-18mm/migrate: add CPU hotplug to demotion #ifdefDave Hansen1-21/+21
2021-10-18mm/migrate: optimize hotplug-time demotion order updatesDave Hansen1-1/+11
2021-10-18mm/migrate: Add folio_migrate_copy()Matthew Wilcox (Oracle)1-9/+5
2021-10-18mm/migrate: Add folio_migrate_flags()Matthew Wilcox (Oracle)1-43/+41
2021-10-18mm/migrate: Add folio_migrate_mapping()Matthew Wilcox (Oracle)1-41/+44
2021-09-27mm/memcg: Convert mem_cgroup_migrate() to take foliosMatthew Wilcox (Oracle)1-1/+3
2021-09-27mm/memcg: Convert mem_cgroup_charge() to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-09-08compat: remove some compat entry pointsArnd Bergmann1-13/+0