aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-22mm/memory_hotplug: export mhp_supports_memmap_on_memory()Vishal Verma1-11/+6
2024-02-21mm/memory_hotplug: introduce MEM_PREPARE_ONLINE/MEM_FINISH_OFFLINE notifiersSumanth Korikkar1-3/+14
2024-01-12mm/memory_hotplug: fix memmap_on_memory sysfs value retrievalSumanth Korikkar1-3/+5
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov1-4/+5
2023-12-10mm/memory_hotplug: split memmap_on_memory requests across memblocksVishal Verma1-76/+136
2023-12-10mm/memory_hotplug: replace an open-coded kmemdup() in add_memory_resource()Vishal Verma1-3/+3
2023-12-06mm/memory_hotplug: fix error handling in add_memory_resource()Sumanth Korikkar1-1/+1
2023-12-06mm/memory_hotplug: add missing mem_hotplug_lockSumanth Korikkar1-7/+6
2023-10-25mm: memory_hotplug: drop memoryless node from fallback listsQi Zheng1-1/+5
2023-10-04mm/memory_hotplug: use pfn math in place of direct struct page manipulationZi Yan1-1/+1
2023-08-21mm/memory_hotplug: embed vmem_altmap details in memory blockAneesh Kumar K.V1-21/+35
2023-08-21mm/memory_hotplug: support memmap_on_memory when memmap is not aligned to pag...Aneesh Kumar K.V1-19/+101
2023-08-21mm/memory_hotplug: allow architecture to override memmap on memory support checkAneesh Kumar K.V1-4/+20
2023-08-21mm/memory_hotplug: allow memmap on memory hotplug request to fallbackAneesh Kumar K.V1-7/+6
2023-08-18mm/memory_hotplug: document the signal_pending() check in offline_pages()David Hildenbrand1-0/+5
2023-06-23mm: remove unnecessary pagevec includesMatthew Wilcox (Oracle)1-1/+0
2023-06-19mm/mm_init.c: remove reset_node_present_pages()Haifeng Xu1-18/+0
2023-06-19mm/memory_hotplug: remove reset_node_managed_pages() in hotadd_init_pgdat()Haifeng Xu1-1/+0
2023-06-19mm/sparse: remove unused parameters in sparse_remove_section()Yajun Deng1-17/+1
2023-06-09mm: memory_hotplug: fix format string in warningsRick Wertenbroek1-2/+2
2023-04-18mm: avoid passing 0 to __ffs()Kirill A. Shutemov1-1/+12
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-2/+2
2023-02-20mm/memory_hotplug: cleanup return value handing in do_migrate_range()SeongJae Park1-6/+2
2023-02-20mm: change to return bool for isolate_movable_page()Baolin Wang1-5/+5
2023-02-20mm: change to return bool for isolate_lru_page()Baolin Wang1-3/+5
2023-02-13mm/hugetlb: convert isolate_hugetlb to foliosSidhartha Kumar1-1/+1
2022-10-03mm: add pageblock_aligned() macroKefeng Wang1-4/+2
2022-09-11mm: fix null-ptr-deref in kswapd_is_running()Kefeng Wang1-1/+1
2022-09-11mm: kill is_memblock_offlined()Kefeng Wang1-2/+1
2022-07-29mm: use is_zone_movable_page() helperKefeng Wang1-1/+1
2022-07-03mm: memory_hotplug: make hugetlb_optimize_vmemmap compatible with memmap_on_m...Muchun Song1-16/+11
2022-07-03mm: memory_hotplug: enumerate all supported section flagsMuchun Song1-0/+6
2022-07-03mm/migration: return errno when isolate_huge_page failedMiaohe Lin1-1/+1
2022-06-16mm/memory_hotplug: drop 'reason' argument from check_pfn_span()Anshuman Khandual1-11/+9
2022-05-13mm: hugetlb_vmemmap: add hugetlb_optimize_vmemmap sysctlMuchun Song1-6/+1
2022-05-13mm: memory_hotplug: override memmap_on_memory when hugetlb_free_vmemmap=onMuchun Song1-6/+26
2022-05-13mm: make alloc_contig_range work at pageblock granularityZi Yan1-1/+2
2022-05-13mm/memory_hotplug: use pgprot_val to get value of pgprotliusongtang1-1/+1
2022-04-28mm/sparse-vmemmap: add a pgmap argument to section activationJoao Martins1-1/+2
2022-04-28mm: hugetlb_vmemmap: cleanup hugetlb_free_vmemmap_enabled*Muchun Song1-1/+1
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-5/+8
2022-03-22drivers/base/memory: determine and store zone for single-zone memory blocksDavid Hildenbrand1-40/+10
2022-03-22drivers/base/node: rename link_mem_sections() to register_memory_block_under_...David Hildenbrand1-3/+3
2022-03-22mm/memory_hotplug: fix misplaced comment in offline_pagesMiaohe Lin1-1/+1
2022-03-22mm/memory_hotplug: clean up try_offline_nodeMiaohe Lin1-5/+4
2022-03-22mm/memory_hotplug: avoid calling zone_intersects() for ZONE_NORMALMiaohe Lin1-1/+1
2022-03-22mm/memory_hotplug: remove obsolete comment of __add_pagesMiaohe Lin1-6/+0
2022-03-22mm, memory_hotplug: reorganize new pgdat initializationMichal Hocko1-25/+3
2022-03-22mm, memory_hotplug: drop arch_free_nodedataMichal Hocko1-10/+0
2022-03-22mm: handle uninitialized numa nodes gracefullyMichal Hocko1-12/+9
2022-03-22mm: hugetlb: replace hugetlb_free_vmemmap_enabled with a static_keyMuchun Song1-1/+1
2022-03-21mm/rmap: Convert try_to_unmap() to take a folioMatthew Wilcox (Oracle)1-5/+8
2021-12-03treewide: Add missing includes masked by cgroup -> bpf dependencyJakub Kicinski1-0/+1
2021-11-06mm/memory_hotplug: indicate MEMBLOCK_DRIVER_MANAGED with IORESOURCE_SYSRAM_DR...David Hildenbrand1-1/+4
2021-11-06memblock: allow to specify flags with memblock_add_node()David Hildenbrand1-1/+1
2021-11-06mm/memory_hotplug: handle memblock_add_node() failures in add_memory_resource()David Hildenbrand1-2/+6
2021-11-06mm/memory_hotplug: remove HIGHMEM leftoversDavid Hildenbrand1-34/+2
2021-11-06mm/memory_hotplug: remove CONFIG_MEMORY_HOTPLUG_SPARSEDavid Hildenbrand1-2/+0
2021-11-06mm/memory_hotplug: add static qualifier for online_policy_to_str()Tang Yizhou1-1/+1
2021-11-06memblock: rename memblock_free to memblock_phys_freeMike Rapoport1-1/+1
2021-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-33/+341
2021-09-08mm/memory_hotplug: use helper zone_is_zone_device() to simplify the codeMiaohe Lin1-3/+1
2021-09-08mm/memory_hotplug: improved dynamic memory group aware "auto-movable" online ...David Hildenbrand1-4/+56
2021-09-08mm/memory_hotplug: memory group aware "auto-movable" online policyDavid Hildenbrand1-3/+45
2021-09-08mm/memory_hotplug: track present pages in memory groupsDavid Hildenbrand1-5/+14
2021-09-08drivers/base/memory: introduce "memory groups" to logically group memory blocksDavid Hildenbrand1-1/+10
2021-09-08mm/memory_hotplug: introduce "auto-movable" online policyDavid Hildenbrand1-0/+191
2021-09-08mm: track present early pages per zoneDavid Hildenbrand1-3/+11
2021-09-08mm/memory_hotplug: remove nid parameter from remove_memory() and friendsDavid Hildenbrand1-11/+17
2021-09-08mm/memory_hotplug: remove nid parameter from arch_remove_memory()David Hildenbrand1-2/+2
2021-09-08mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range()David Hildenbrand1-2/+2
2021-09-08mm: memory_hotplug: cleanup after removal of pfn_valid_within()Mike Rapoport1-6/+3
2021-09-08mm: remove pfn_valid_within() and CONFIG_HOLES_IN_ZONEMike Rapoport1-4/+0
2021-09-03mm/migrate: enable returning precise migrate_pages() success countYang Shi1-1/+1
2021-08-25mm/memory_hotplug: fix potential permanent lru cache disableMiaohe Lin1-0/+1
2021-07-01mm/memory_hotplug: fix kerneldoc comment for __remove_memoryMel Gorman1-1/+1
2021-07-01mm/memory_hotplug: fix kerneldoc comment for __try_online_nodeMel Gorman1-2/+2
2021-07-01mm: fix spelling mistakesZhen Lei1-2/+2
2021-06-30mm,memory_hotplug: drop unneeded lockingOscar Salvador1-15/+1
2021-06-30mm/memory_hotplug: rate limit page migration warningsLiam Mark1-5/+11
2021-06-30mm: sparsemem: use huge PMD mapping for vmemmap pagesMuchun Song1-1/+1
2021-06-30mm: memory_hotplug: disable memmap_on_memory when hugetlb_free_vmemmap enabledMuchun Song1-0/+1
2021-06-30mm: memory_hotplug: factor out bootmem core functions to bootmem_info.cMuchun Song1-116/+0
2021-06-29mm/page_alloc: disassociate the pcp->high from pcp->batchMel Gorman1-3/+3
2021-05-05mm/mempool: minor coding style tweaksZhiyuan Dai1-1/+1
2021-05-05mm,memory_hotplug: add kernel boot option to enable memmap_on_memoryOscar Salvador1-1/+9
2021-05-05mm,memory_hotplug: allocate memmap from the added memory rangeOscar Salvador1-9/+152
2021-05-05mm,memory_hotplug: factor out adjusting present pages into adjust_present_pag...David Hildenbrand1-10/+12
2021-05-05mm,memory_hotplug: relax fully spanned sections checkOscar Salvador1-4/+18
2021-05-05mm: disable LRU pagevec during the migration temporarilyMinchan Kim1-1/+2
2021-03-10arm64: mte: Map hotplugged memory as Normal TaggedCatalin Marinas1-1/+1
2021-02-26mm/memory_hotplug: prevalidate the address range being added with platformAnshuman Khandual1-19/+59
2021-02-26mm/memory_hotplug: use helper function zone_end_pfn() to get end_pfnMiaohe Lin1-5/+4
2021-02-26mm/memory_hotplug: MEMHP_MERGE_RESOURCE -> MHP_MERGE_RESOURCEDavid Hildenbrand1-1/+1
2021-02-26mm/memory_hotplug: rename all existing 'memhp' into 'mhp'Anshuman Khandual1-6/+6
2021-02-26mm: teach pfn_to_online_page() about ZONE_DEVICE section collisionsDan Williams1-0/+38
2021-02-26mm: teach pfn_to_online_page() to consider subsection validityDan Williams1-4/+19
2021-02-26mm: move pfn_to_online_page() out of lineDan Williams1-0/+16
2021-02-24hugetlb: convert page_huge_active() HPageMigratable flagMike Kravetz1-1/+8
2021-02-24mm: rename memmap_init() and memmap_init_zone()Baoquan He1-1/+1
2020-12-29mm: memmap defer init doesn't work as expectedBaoquan He1-1/+1
2020-12-24Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-16/+89
2020-12-18mm/memory_hotplug: extend offline_and_remove_memory() to handle more than one...David Hildenbrand1-16/+89
2020-12-15mm/memory_hotplug: quieting offline operationLaurent Dufour1-1/+1
2020-12-15mm, page_alloc: disable pcplists during memory offlineVlastimil Babka1-16/+12
2020-12-15mm, page_alloc: move draining pcplists to page isolation usersVlastimil Babka1-5/+6
2020-12-15mm: introduce debug_pagealloc_{map,unmap}_pages() helpersMike Rapoport1-2/+1
2020-12-15mm/rmap: always do TTU_IGNORE_ACCESSShakeel Butt1-1/+1
2020-11-22mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exportsDan Williams1-18/+0
2020-10-18mm/memory_hotplug: remove a wrapper for alloc_migration_target()Joonsoo Kim1-24/+22
2020-10-16mm/memory_hotplug: update comment regarding zone shufflingDavid Hildenbrand1-7/+4
2020-10-16mm: don't panic when links can't be created in sysfsLaurent Dufour1-3/+2
2020-10-16kernel/resource: make iomem_resource implicit in release_mem_region_adjustable()David Hildenbrand1-1/+1
2020-10-16mm/memory_hotplug: MEMHP_MERGE_RESOURCE to specify merging of System RAM reso...David Hildenbrand1-0/+7
2020-10-16mm/memory_hotplug: prepare passing flags to add_memory() and friendsDavid Hildenbrand1-7/+7
2020-10-16kernel/resource: move and rename IORESOURCE_MEM_DRIVER_MANAGEDDavid Hildenbrand1-2/+2
2020-10-16kernel/resource: make release_mem_region_adjustable() never failDavid Hildenbrand1-21/+1
2020-10-16mm/memory_hotplug: mark pageblocks MIGRATE_ISOLATE while onlining memoryDavid Hildenbrand1-10/+22
2020-10-16mm: pass migratetype into memmap_init_zone() and move_pfn_range_to_zone()David Hildenbrand1-3/+8
2020-10-16mm/memory_hotplug: simplify page onliningDavid Hildenbrand1-28/+10
2020-10-16mm/page_isolation: simplify return value of start_isolate_page_range()David Hildenbrand1-1/+1
2020-10-16mm/memory_hotplug: drop nr_isolate_pageblock in offline_pages()David Hildenbrand1-3/+2
2020-10-16mm/memory_hotplug: simplify page offliningDavid Hildenbrand1-34/+10
2020-10-16mm/memory_hotplug: enforce section granularity when onlining/offliningDavid Hildenbrand1-0/+10
2020-10-16mm/memory_hotplug: inline __offline_pages() into offline_pages()David Hildenbrand1-11/+5
2020-10-13mm/memory_hotplug: introduce default phys_to_target_node() implementationDan Williams1-1/+9
2020-09-26mm: don't rely on system state to detect hot-plug operationsLaurent Dufour1-1/+2
2020-09-26mm: replace memmap_context by meminit_contextLaurent Dufour1-1/+1
2020-09-19mm/memory_hotplug: drain per-cpu pages again during memory offlinePavel Tatashin1-0/+14
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-4/+3
2020-08-12mm/migrate: introduce a standard migration target allocation functionJoonsoo Kim1-4/+8
2020-08-12mm, memory_hotplug: update pcp lists everytime onlining a memory blockCharan Teja Reddy1-2/+1
2020-08-12mm/memory_hotplug: fix unpaired mem_hotplug_begin/doneJia He1-3/+2
2020-08-12mm/memory_hotplug: introduce default dummy memory_add_physaddr_to_nid()Jia He1-0/+10
2020-08-07mm/memory_hotplug: document why shuffle_zone() is relevantDavid Hildenbrand1-0/+8
2020-08-07mm: remove vm_total_pagesDavid Hildenbrand1-3/+0
2020-06-26mm/memory_hotplug.c: fix false softlockup during pfn range removalBen Widawsky1-2/+11
2020-06-10Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-10/+71
2020-06-04mm/memory_hotplug: fix a typo in comment "recoreded"->"recorded"Ethon Paul1-1/+1
2020-06-04mm/memory_hotplug: introduce add_memory_driver_managed()David Hildenbrand1-4/+58
2020-06-04mm/memory_hotplug: handle memblocks only with CONFIG_ARCH_KEEP_MEMBLOCKDavid Hildenbrand1-10/+10
2020-06-04mm/memory_hotplug: set node_start_pfn of hotadded pgdat to 0David Hildenbrand1-9/+6
2020-06-04mm/memory_hotplug: remove is_mem_section_removable()David Hildenbrand1-75/+0
2020-06-04mm/memory_hotplug: refrain from adding memory into an impossible nodeVishal Verma1-0/+5
2020-06-04mm/memory_hotplug: Introduce offline_and_remove_memory()David Hildenbrand1-0/+37
2020-06-04mm: Allow to offline unmovable PageOffline() pages via MEM_GOING_OFFLINEDavid Hildenbrand1-10/+34
2020-06-03mm/page_alloc: integrate classzone_idx and high_zoneidxJoonsoo Kim1-3/+3
2020-06-03mm: remove CONFIG_HAVE_MEMBLOCK_NODE_MAP optionMike Rapoport1-4/+0
2020-04-10mm/memory_hotplug: add pgprot_t to mhp_paramsLogan Gunthorpe1-1/+4
2020-04-10mm/memory_hotplug: rename mhp_restrictions to mhp_paramsLogan Gunthorpe1-4/+4
2020-04-07mm/memory_hotplug.c: use __pfn_to_section() instead of open-codingchenqiwu1-1/+1
2020-04-07mm/memory_hotplug: allow to specify a default online_typeDavid Hildenbrand1-4/+4
2020-04-07mm/memory_hotplug: convert memhp_auto_online to store an online_typeDavid Hildenbrand1-5/+6
2020-04-07mm/memory_hotplug: unexport memhp_auto_onlineDavid Hildenbrand1-1/+0
2020-04-07mm/memory_hotplug.c: cleanup __add_pages()David Hildenbrand1-11/+7
2020-04-07mm/memory_hotplug.c: simplify calculation of number of pages in __remove_pages()David Hildenbrand1-1/+2
2020-04-07mm/memory_hotplug.c: only respect mem= parameter during boot stageBaoquan He1-1/+7
2020-04-07mm: code cleanup for MADV_FREEHuang Ying1-1/+1
2020-03-06mm, hotplug: fix page online with DEBUG_PAGEALLOC compiled but not enabledVlastimil Babka1-1/+7
2020-02-04mm/memory_hotplug: drop valid_start/valid_end from test_pages_in_a_zone()David Hildenbrand1-22/+9
2020-02-04mm/memory_hotplug: cleanup __remove_pages()David Hildenbrand1-11/+6
2020-02-04mm/memory_hotplug: drop local variables in shrink_zone_span()David Hildenbrand1-9/+6
2020-02-04mm/memory_hotplug: don't check for "all holes" in shrink_zone_span()David Hildenbrand1-27/+7
2020-02-04mm/memory_hotplug: we always have a zone in find_(smallest|biggest)_section_pfnDavid Hildenbrand1-2/+2
2020-02-04mm/memory_hotplug: poison memmap in remove_pfn_range_from_zone()David Hildenbrand1-0/+3
2020-01-31mm/memory_hotplug: pass in nid to online_pages()David Hildenbrand1-11/+2
2020-01-31mm: remove "count" parameter from has_unmovable_pages()David Hildenbrand1-1/+1
2020-01-31mm/memory_hotplug: fix remove_memory() lockdep splatDan Williams1-3/+6
2020-01-04mm/memory_hotplug: shrink zones when offlining memoryDavid Hildenbrand1-15/+16
2019-12-01mm/memory_hotplug.c: remove __online_page_set_limits()Souptick Joarder1-5/+0
2019-12-01mm/memory_hotplug.c: don't allow to online/offline memory blocks with holesDavid Hildenbrand1-2/+26
2019-12-01mm/page_isolation.c: convert SKIP_HWPOISON to MEMORY_OFFLINEDavid Hildenbrand1-3/+5
2019-12-01mm/page_alloc.c: don't set pages PageReserved() when offliningDavid Hildenbrand1-3/+1
2019-12-01mm/memory_hotplug: remove __online_page_free() and __online_page_increment_co...David Hildenbrand1-12/+0
2019-12-01mm/memory_hotplug: export generic_online_page()David Hildenbrand1-3/+2
2019-12-01mm/memory_hotplug.c: add a bounds check to __add_pages()Alastair D'Silva1-0/+20
2019-12-01mm/hotplug: reorder memblock_[free|remove]() calls in try_remove_memory()Anshuman Khandual1-2/+2
2019-11-22mm/memory_hotplug: don't access uninitialized memmaps in shrink_zone_span()David Hildenbrand1-3/+13
2019-11-15mm/memory_hotplug: fix try_offline_node()David Hildenbrand1-16/+27
2019-11-06mm/memory_hotplug: fix updating the node spanDavid Hildenbrand1-0/+8
2019-10-19mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span()David Hildenbrand1-57/+15
2019-09-24mm/memory_hotplug.c: s/is/ifSouptick Joarder1-1/+1
2019-09-24mm/memory_hotplug: online_pages cannot be 0 in online_pages()David Hildenbrand1-13/+9
2019-09-24mm/memory_hotplug: make sure the pfn is aligned to the order when onliningDavid Hildenbrand1-0/+3
2019-09-24mm/memory_hotplug: simplify online_pages_range()David Hildenbrand1-20/+16
2019-09-24mm/memory_hotplug: drop PageReserved() check in online_pages_range()David Hildenbrand1-3/+1
2019-09-24mm/memory_hotplug.c: prevent memory leak when reusing pgdatWei Yang1-1/+9
2019-09-24drivers/base/memory.c: don't store end_section_nr in memory blocksDavid Hildenbrand1-1/+1
2019-09-24mm/memory_hotplug: remove move_pfn_range()David Hildenbrand1-16/+8
2019-09-24mm: introduce compound_nr()Matthew Wilcox (Oracle)1-2/+2
2019-08-03mm/memory_hotplug.c: remove unneeded return for void functionWeitao Hou1-2/+0
2019-07-18mm/sparsemem: cleanup 'section number' data typesDan Williams1-5/+5
2019-07-18mm/sparsemem: support sub-section hotplugDan Williams1-23/+4
2019-07-18mm/sparsemem: prepare for sub-section rangesDan Williams1-43/+71
2019-07-18mm/hotplug: kill is_dev_zone() usage in __remove_pages()Dan Williams1-3/+1
2019-07-18mm/hotplug: prepare shrink_{zone, pgdat}_span for sub-section removalDan Williams1-25/+12
2019-07-18mm/sparsemem: introduce struct mem_section_usageDan Williams1-8/+10
2019-07-18mm/memory_hotplug: move and simplify walk_memory_blocks()David Hildenbrand1-55/+0
2019-07-18mm/memory_hotplug: rename walk_memory_range() and pass start+size instead of ...David Hildenbrand1-11/+13
2019-07-18mm/memory_hotplug: remove "zone" parameter from sparse_remove_one_sectionDavid Hildenbrand1-1/+1