aboutsummaryrefslogtreecommitdiffstats
path: root/mm/compaction.c
AgeCommit message (Expand)AuthorFilesLines
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
2016-07-26mm/page_owner: initialize page owner without holding the zone lockJoonsoo Kim1-0/+3
2016-07-26mm/compaction: split freepages without holding the zone lockJoonsoo Kim1-14/+33
2016-07-26zsmalloc: introduce zspage structureMinchan Kim1-1/+0
2016-07-26mm: balloon: use general non-lru movable page featureMinchan Kim1-7/+0
2016-07-26mm: migrate: support non-lru movable page migrationMinchan Kim1-17/+68
2016-07-15mm, compaction: prevent VM_BUG_ON when terminating freeing scannerDavid Rientjes1-22/+14
2016-06-24mm, compaction: abort free scanner if split failsDavid Rientjes1-18/+21
2016-05-20mm/compaction.c: fix zoneindex in kcompactd()Chen Feng1-2/+2
2016-05-20mm, oom, compaction: prevent from should_compact_retry looping for ever for c...Michal Hocko1-3/+39
2016-05-20mm, compaction: distinguish between full and partial COMPACT_COMPLETEMichal Hocko1-3/+11
2016-05-20mm, compaction: distinguish COMPACT_DEFERRED from COMPACT_SKIPPEDMichal Hocko1-3/+5
2016-05-20mm, compaction: cover all compaction mode in compact_zoneMichal Hocko1-8/+5
2016-05-20mm, compaction: change COMPACT_ constants into enumMichal Hocko1-13/+14
2016-05-19mm, page_alloc: remove field from alloc_contextMel Gorman1-2/+2
2016-05-19mm, page_alloc: convert alloc_flags to unsignedMel Gorman1-5/+7
2016-05-19mm, compaction: skip blocks where isolation fails in async direct compactionVlastimil Babka1-9/+80
2016-05-19mm, compaction: reduce spurious pcplist drainsVlastimil Babka1-11/+9
2016-05-19mm, compaction: wrap calculating first and last pfn of pageblockVlastimil Babka1-14/+19
2016-05-05mm: fix kcompactd hang during memory offliningVlastimil Babka1-1/+3
2016-05-05mm, cma: prevent nr_isolated_* counters from going negativeHugh Dickins1-9/+1
2016-03-17mm, kswapd: replace kswapd compaction with waking up kcompactdVlastimil Babka1-5/+5
2016-03-17mm, compaction: introduce kcompactdVlastimil Babka1-0/+222
2016-03-15mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguousJoonsoo Kim1-43/+0
2016-03-15mm/compaction: pass only pageblock aligned range to pageblock_pfn_to_pageJoonsoo Kim1-11/+30
2016-03-15mm/compaction: fix invalid free_pfn and compact_cached_free_pfnJoonsoo Kim1-4/+5
2016-01-14mm/compaction.c: __compact_pgdat() code cleanuupJoonsoo Kim1-6/+7
2016-01-14mm/compaction: improve comment for compact_memory tunable knob handlerYaowei Bai1-1/+4
2015-11-05mm, compaction: distinguish contended status in tracepointsVlastimil Babka1-3/+6
2015-11-05mm, compaction: export tracepoints status strings to userspaceVlastimil Babka1-11/+0
2015-11-05mm/compaction.c: add an is_via_compact_memory() helperYaowei Bai1-12/+14
2015-09-08mm/compaction: correct to flush migrated pages if pageblock skip happensJoonsoo Kim1-15/+15
2015-09-08mm, compaction: skip compound pages by order in free scannerVlastimil Babka1-0/+25
2015-09-08mm, compaction: always skip all compound pages by order in migrate scannerVlastimil Babka1-20/+27
2015-09-08mm, compaction: encapsulate resetting cached scanner positionsVlastimil Babka1-6/+10