aboutsummaryrefslogtreecommitdiffstats
path: root/mm/compaction.c
AgeCommit message (Expand)AuthorFilesLines
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+16
2023-04-13mm: compaction: remove incorrect #ifdef checksArnd Bergmann1-4/+0
2023-04-13mm: compaction: move compaction sysctl to its own fileMinghao Chi1-12/+72
2023-04-05mm: compaction: fix the possible deadlock when isolating hugetlb pagesBaolin Wang1-0/+5
2023-04-05mm: compaction: consider the number of scanning compound pages in isolate fai...Baolin Wang1-2/+9
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-4/+4
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-42/+59
2023-02-20mm: change to return bool for isolate_movable_page()Baolin Wang1-1/+1
2023-02-02mm, compaction: finish pageblocks on complete migration failureMel Gorman1-8/+22
2023-02-02mm, compaction: finish scanning the current pageblock if requestedMel Gorman1-0/+7
2023-02-02mm, compaction: check if a page has been captured before draining PCP pagesMel Gorman1-6/+6
2023-02-02mm, compaction: rename compact_control->rescan to finish_pageblockMel Gorman1-12/+12
2023-02-02mm: compaction: avoid fragmentation score calculation for empty zonesBaolin Wang1-0/+2
2023-02-02mm: compaction: add missing kcompactd wakeup trace eventBaolin Wang1-0/+2
2023-02-02mm: compaction: count the migration scanned pages events for proactive compac...Baolin Wang1-0/+5
2023-02-02mm: compaction: move list validation into compact_zone()Baolin Wang1-12/+3
2023-02-02mm: compaction: remove redundant VM_BUG_ON() in compact_zone()Baolin Wang1-3/+0
2023-01-29Revert "mm/compaction: fix set skip in fast_find_migrateblock"Vlastimil Babka1-0/+1
2023-01-18mm: remove PageMovable exportGreg Kroah-Hartman1-1/+0
2022-11-30mm, compaction: fix fast_isolate_around() to stay within boundariesNARIBAYASHI Akira1-13/+5
2022-11-30mm: migrate: fix THP's mapcount on isolationGavin Shan1-11/+11
2022-10-14Merge tag 'mm-stable-2022-10-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+0
2022-10-12mm/compaction: fix set skip in fast_find_migrateblockChuyi Zhou1-1/+0
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-7/+17
2022-10-03mm: add pageblock_aligned() macroKefeng Wang1-4/+4
2022-10-03mm: reuse pageblock_start/end_pfn() macroKefeng Wang1-2/+0
2022-09-19mm/compaction: Get rid of RT ifdefferyThomas Gleixner1-5/+1
2022-09-11mm: fix null-ptr-deref in kswapd_is_running()Kefeng Wang1-1/+13
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+4
2022-08-02fs: Remove aops->migratepage()Matthew Wilcox (Oracle)1-3/+2
2022-08-02fs: Add aops->migrate_folioMatthew Wilcox (Oracle)1-1/+3
2022-08-02mm: Convert all PageMovable users to movable_operationsMatthew Wilcox (Oracle)1-16/+13
2022-07-29mm: compaction: include compound page count for scanning in pageblock isolationWilliam Lam1-0/+3
2022-07-03mm, docs: fix comments that mention mem_hotplug_end()Yun-Ze Li1-1/+1
2022-05-13mm, compaction: fast_find_migrateblock() should return pfn in the target zoneRei Yamamoto1-0/+2
2022-05-13tracing: incorrect gfp_t conversionVasily Averin1-1/+1
2022-04-28mm: compaction: make sure highest is above the min_pfnMiaohe Lin1-1/+1
2022-04-28mm: compaction: simplify the code in __compact_finishedMiaohe Lin1-21/+8
2022-04-28mm: compaction: make compaction_zonelist_suitable return false when COMPACT_S...Miaohe Lin1-1/+1
2022-04-28mm: compaction: avoid possible NULL pointer dereference in kcompactd_cpu_onlineMiaohe Lin1-1/+2
2022-04-28mm: compaction: clean up comment about async compaction in isolate_migratepagesMiaohe Lin1-6/+6
2022-04-28mm: compaction: use helper compound_nr in isolate_migratepages_blockMiaohe Lin1-1/+1
2022-04-28mm: compaction: use COMPACT_CLUSTER_MAX in compaction.cMiaohe Lin1-4/+4
2022-04-28mm: compaction: clean up comment about suitable migration target recheckMiaohe Lin1-7/+1
2022-04-28mm: compaction: clean up comment for sched contentionMiaohe Lin1-7/+4
2022-04-28mm: compaction: remove unneeded assignment to isolate_start_pfnMiaohe Lin1-1/+1
2022-04-28mm: compaction: remove unneeded pfn updateMiaohe Lin1-1/+0
2022-04-28mm: compaction: remove unneeded return value of kcompactd_runMiaohe Lin1-5/+2
2022-04-28mm: compaction: use helper isolation_suitable()Miaohe Lin1-1/+1
2022-04-15mm: compaction: fix compiler warning when CONFIG_COMPACTION=nCharan Teja Kalla1-5/+5
2022-03-22mm: compaction: cleanup the compaction trace eventsBaolin Wang1-6/+3
2022-03-22mm: __isolate_lru_page_prepare() in isolate_migratepages_block()Hugh Dickins1-7/+44
2022-01-15mm: compaction: fix the migration stats in trace_mm_compaction_migratepages()Baolin Wang1-3/+4
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+8
2021-11-06mm/vmscan: centralise timeout values for reclaim_throttleMel Gorman1-1/+1
2021-11-06mm/vmscan: throttle reclaim and compaction when too may pages are isolatedMel Gorman1-2/+8
2021-09-27mm/memcg: Add folio_lruvec_lock() and similar functionsMatthew Wilcox (Oracle)1-1/+1
2021-09-27mm/memcg: Add folio_lruvec()Matthew Wilcox (Oracle)1-1/+1
2021-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-13/+7
2021-09-08mm: remove pfn_valid_within() and CONFIG_HOLES_IN_ZONEMike Rapoport1-13/+7
2021-09-03mm: compaction: support triggering of proactive compaction by userCharan Teja Reddy1-2/+36
2021-09-03mm: compaction: optimize proactive compaction deferralsCharan Teja Reddy1-10/+19
2021-09-03mm/migrate: enable returning precise migrate_pages() success countYang Shi1-1/+1
2021-07-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-11/+9
2021-06-30mm/compaction: fix 'limit' in fast_isolate_freepagesWonhyuk Yang1-3/+3
2021-06-30mm: compaction: remove duplicate !list_empty(&sublist) checkLiu Xiang1-4/+2
2021-06-30mm/compaction: use DEVICE_ATTR_WO macroYueHaibing1-4/+4
2021-06-29Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-06-29mm: memcontrol: remove the pgdata parameter of mem_cgroup_page_lruvecMuchun Song1-1/+1
2021-06-18sched: Introduce task_is_running()Peter Zijlstra1-1/+1
2021-05-07mm: fix typos in commentsIngo Molnar1-2/+2
2021-05-05mm/mempool: minor coding style tweaksZhiyuan Dai1-1/+1
2021-05-05mm: replace migrate_[prep|finish] with lru_cache_[disable|enable]Minchan Kim1-1/+2
2021-05-05mm: compaction: update the COMPACT[STALL|FAIL] events properlyCharan Teja Reddy1-0/+8
2021-05-05mm/compaction: remove unused variable sysctl_compact_memoryPintu Kumar1-3/+0
2021-05-05mm: make alloc_contig_range handle in-use hugetlb pagesOscar Salvador1-1/+11
2021-05-05mm: make alloc_contig_range handle free hugetlb pagesOscar Salvador1-3/+30
2021-05-05mm,compaction: let isolate_migratepages_{range,block} return error codesOscar Salvador1-27/+25
2021-02-24mm, compaction: make fast_isolate_freepages() stay within zoneVlastimil Babka1-5/+11
2021-02-24mm/compaction: fix misbehaviors of fast_find_migrateblock()Wonhyuk Yang1-15/+12
2021-02-24mm/compaction: correct deferral logic for proactive compactionCharan Teja Reddy1-6/+14
2021-02-24mm/compaction: remove duplicated VM_BUG_ON_PAGE !PageLockedMiaohe Lin1-1/+0
2021-02-24mm/compaction: remove rcu_read_lock during page compactionAlex Shi1-4/+1
2021-02-24mm/swap.c: don't pass "enum lru_list" to del_page_from_lru_list()Yu Zhao1-1/+1
2021-02-24mm/vmscan: __isolate_lru_page_prepare() cleanupAlex Shi1-1/+1
2021-02-05mm, compaction: move high_pfn to the for loop scopeRokudo Yan1-1/+2
2020-12-15mm/lru: replace pgdat lru_lock with lruvec lockAlex Shi1-20/+36
2020-12-15mm/compaction: do page isolation first in compactionAlex Shi1-9/+33
2020-12-15mm/compaction: make defer_compaction and compaction_deferred staticHui Su1-4/+4
2020-12-15mm/compaction: move compaction_suitable's comment to right placeHui Su1-7/+7
2020-12-15mm/compaction: rename 'start_pfn' to 'iteration_start_pfn' in compact_zone()Yanfei Xu1-4/+3
2020-11-14mm/compaction: stop isolation if too many pages are isolated and we have page...Zi Yan1-0/+4
2020-11-14mm/compaction: count pages and stop correctly during page isolationZi Yan1-4/+4
2020-10-16mm: rename page_order() to buddy_order()Matthew Wilcox (Oracle)1-3/+3
2020-10-13mm/compaction.c: micro-optimization remove unnecessary branchMateusz Nosek1-3/+2
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-1/+1
2020-08-12mm/compaction.c: delete duplicated wordRandy Dunlap1-1/+1
2020-08-12mm/compaction: correct the comments of compact_defer_shiftAlex Shi1-1/+1
2020-08-12mm: use unsigned types for fragmentation scoreNitin Gupta1-9/+9
2020-08-12mm: fix compile error due to COMPACTION_HPAGE_ORDERNitin Gupta1-1/+1
2020-08-12mm: proactive compactionNitin Gupta1-5/+178
2020-06-26mm, compaction: make capture control handling safe wrt interruptsVlastimil Babka1-3/+14
2020-06-04mm/compaction: fix a typo in comment "pessemistic"->"pessimistic"Ethon Paul1-1/+1
2020-06-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-34/+36
2020-06-03mm: rename gfpflags_to_migratetype to gfp_migratetype for same conventionWei Yang1-1/+1
2020-06-03mm/page_alloc: integrate classzone_idx and high_zoneidxJoonsoo Kim1-32/+32
2020-06-03mm: memmap_init: iterate over memblock regions rather that check each PFNBaoquan He1-1/+3
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-1/+1
2020-05-28mm/swap: Use local_lock for protectionIngo Molnar1-5/+1
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-1/+1
2020-04-07mm/compaction: add missing annotation for compact_lock_irqsaveJules Irenge1-0/+1
2020-04-07mm: code cleanup for MADV_FREEHuang Ying1-1/+1
2020-04-02mm/compaction.c: clean code by removing unnecessary assignmentMateusz Nosek1-1/+0
2020-04-02mm/compaction: Disable compact_unevictable_allowed on RTSebastian Andrzej Siewior1-0/+4
2020-04-02mm, compaction: fully assume capture is not NULL in compact_zone_order()Vlastimil Babka1-2/+2
2020-04-02mm,thp,compaction,cma: allow THP migration for CMA allocationsRik van Riel1-9/+13
2019-10-14mm, compaction: fix wrong pfn handling in __reset_isolation_pfn()Vlastimil Babka1-3/+4
2019-09-24mm/compaction.c: remove unnecessary zone parameter in isolate_migratepages()Pengfei Li1-7/+6
2019-09-24mm/compaction.c: clear total_{migrate,free}_scanned before scanning a new zoneYafang Shao1-22/+13
2019-09-24mm: introduce compound_nr()Matthew Wilcox (Oracle)1-1/+1
2019-08-03mm: compaction: avoid 100% CPU usage during compaction when a task is killedMel Gorman1-4/+7
2019-06-01mm, compaction: make sure we isolate a valid PFNSuzuki K Poulose1-1/+1
2019-05-18mm/compaction.c: correct zone boundary handling when isolating pages from a p...Mel Gorman1-2/+2
2019-05-14mm: move buddy list manipulations into helpersDan Williams1-2/+2
2019-05-14mm/compaction.c: fix an undefined behaviourQian Cai1-1/+3
2019-04-04mm/compaction.c: abort search if isolation failsQian Cai1-1/+1
2019-04-04mm/compaction.c: correct zone boundary handling when resetting pageblock skip...Mel Gorman1-10/+17
2019-03-05mm/compaction: pass pgdat to too_many_isolated() instead of zoneAndrey Ryabinin1-10/+9
2019-03-05mm: remove zone_lru_lock() function, access ->lru_lock directlyAndrey Ryabinin1-7/+8
2019-03-05mm, compaction: capture a page under direct compactionMel Gorman1-7/+24
2019-03-05mm, compaction: be selective about what pageblocks to clear skip hintsMel Gorman1-18/+106
2019-03-05mm, compaction: sample pageblocks for free pagesMel Gorman1-6/+22
2019-03-05mm, compaction: round-robin the order while searching the free lists for a ta...Mel Gorman1-3/+30
2019-03-05mm, compaction: reduce premature advancement of the migration target scannerMel Gorman1-17/+10
2019-03-05mm, compaction: do not consider a need to reschedule as contentionMel Gorman1-19/+4
2019-03-05mm, compaction: rework compact_should_abort as compact_check_reschedMel Gorman1-38/+23
2019-03-05mm, compaction: keep cached migration PFNs synced for unusable pageblocksMel Gorman1-0/+18
2019-03-05mm, compaction: check early for huge pages encountered by the migration scannerMel Gorman1-4/+12
2019-03-05mm, compaction: finish pageblock scanning on contentionMel Gorman1-56/+34
2019-03-05mm, compaction: avoid rescanning the same pageblock multiple timesMel Gorman1-6/+26
2019-03-05mm, compaction: use free lists to quickly locate a migration targetMel Gorman1-5/+213
2019-03-05mm, compaction: keep migration source private to a single compaction instanceMel Gorman1-25/+99
2019-03-05mm, compaction: use free lists to quickly locate a migration sourceMel Gorman1-3/+175
2019-03-05mm, compaction: always finish scanning of a full pageblockMel Gorman1-11/+8
2019-03-05mm, compaction: rename map_pages to split_map_pagesMel Gorman1-3/+3
2019-03-05mm, compaction: remove unnecessary zone parameter in some instancesMel Gorman1-28/+26
2019-03-05mm, compaction: remove last_migrated_pfn from compact_controlMel Gorman1-16/+9
2019-03-05mm: remove sysctl_extfrag_handler()Matthew Wilcox1-8/+0
2018-12-28mm: move zone watermark accesses behind an accessorMel Gorman1-1/+1
2018-10-26psi: pressure stall information for CPU, memory, and IOJohannes Weiner1-0/+5
2018-06-15mm: use octal not symbolic permissionsJoe Perches1-1/+1
2018-05-24Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"Joonsoo Kim1-1/+3
2018-04-11mm/cma: remove ALLOC_CMAJoonsoo Kim1-3/+1
2018-04-11mm, migrate: remove reason argument from new_page_tMichal Hocko1-2/+1
2018-04-05mm: kernel-doc: add missing parameter descriptionsMike Rapoport1-0/+1
2018-04-05mm, compaction: drain pcps for zone when kcompactd failsDavid Rientjes1-0/+8
2018-01-31mm/compaction.c: fix comment for try_to_compact_pages()Yang Shi1-1/+1
2017-11-17mm, compaction: remove unneeded pageblock_skip_persistent() checksVlastimil Babka1-15/+3
2017-11-17mm, compaction: split off flag for not updating skip hintsVlastimil Babka1-1/+1
2017-11-17mm, compaction: extend pageblock_skip_persistent() to all compound pagesVlastimil Babka1-11/+14
2017-11-17mm, compaction: persistently skip hugetlbfs pageblocksDavid Rientjes1-12/+44
2017-11-17mm, compaction: kcompactd should not ignore pageblock skipDavid Rientjes1-2/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-03mm,compaction: serialize waitqueue_active() checks (for real)Davidlohr Bueso1-8/+5
2017-07-06mm, compaction: skip over holes in __reset_isolation_suitableMichal Hocko1-3/+2
2017-05-08mm, compaction: finish whole pageblock to reduce fragmentationVlastimil Babka1-2/+34
2017-05-08mm, compaction: restrict async compaction to pageblocks of same migratetypeVlastimil Babka1-2/+9
2017-05-08mm, compaction: add migratetype to compact_controlVlastimil Babka1-8/+7
2017-05-08mm, compaction: change migrate_async_suitable() to suitable_migration_source()Vlastimil Babka1-8/+11
2017-05-08mm, compaction: remove redundant watermark check in compact_finished()Vlastimil Babka1-8/+0
2017-05-03mm/compaction: ignore block suitable after check large free pageYisheng Xie1-3/+3
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+1
2017-02-24mm/migration: make isolate_movable_page() return int typeYisheng Xie1-1/+1
2017-02-22mm,compaction: serialize waitqueue_active() checksDavidlohr Bueso1-0/+7
2017-02-22mm, compaction: add vmstats for kcompactd workDavid Rientjes1-3/+19
2016-12-14mm, compaction: allow compaction for GFP_NOFS requestsMichal Hocko1-3/+14
2016-12-12Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-22/+3
2016-12-12mm, compaction: fix NR_ISOLATED_* stats for pfn based migrationMing Ling1-22/+3
2016-12-02mm/compaction: Convert to hotplug state machineAnna-Maria Gleixner1-13/+18
2016-10-07mm, compaction: restrict fragindex to costly ordersVlastimil Babka1-2/+7
2016-10-07mm, compaction: ignore fragindex from compaction_zonelist_suitable()Vlastimil Babka1-17/+18
2016-10-07mm, compaction: make full priority ignore pageblock suitabilityVlastimil Babka1-3/+8
2016-10-07mm, compaction: require only min watermarks for non-costly ordersVlastimil Babka1-1/+5
2016-10-07mm, compaction: use proper alloc_flags in __compaction_suitable()Vlastimil Babka1-2/+10
2016-10-07mm, compaction: create compact_gap wrapperVlastimil Babka1-4/+3
2016-10-07mm, compaction: use correct watermark when checking compaction successVlastimil Babka1-3/+3
2016-10-07mm, compaction: add the ultimate direct compaction priorityVlastimil Babka1-1/+4
2016-10-07mm, compaction: don't recheck watermarks after COMPACT_SUCCESSVlastimil Babka1-8/+3
2016-10-07mm, compaction: rename COMPACT_PARTIAL to COMPACT_SUCCESSVlastimil Babka1-6/+6
2016-10-07mm, compaction: cleanup unused functionsVlastimil Babka1-43/+17
2016-10-07mm, compaction: make whole_zone flag ignore cached scanner positionsVlastimil Babka1-22/+21
2016-07-28mm, compaction: simplify contended compaction handlingVlastimil Babka1-59/+13
2016-07-28mm, compaction: introduce direct compaction priorityVlastimil Babka1-6/+7
2016-07-28mm, compaction: don't isolate PageWriteback pages in MIGRATE_SYNC_LIGHT modeHugh Dickins1-1/+1
2016-07-28mm: remove reclaim and compaction retry approximationsMel Gorman1-19/+1
2016-07-28mm, vmstat: remove zone and node double accounting by approximating retriesMel Gorman1-1/+19
2016-07-28mm, vmscan: move LRU lists to nodeMel Gorman1-9/+9
2016-07-28mm, vmscan: move lru_lock to the nodeMel Gorman1-5/+5
2016-07-28mm/compaction: remove unnecessary order check in try_to_compact_pages()Ganesh Mahendran1-1/+1
2016-07-26mm/page_alloc: introduce post allocation processing on page allocatorJoonsoo Kim1-7/+1