aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-03mm/memory_hotplug: activate node before adding new memory blocksHannes Reinecke1-15/+17
2025-09-28mm/memory_hotplug: fix typo 'esecially' -> 'especially'Manish Kumar1-1/+1
2025-09-21mm/memremap: remove unused get_dev_pagemap() parameterAlistair Popple1-1/+1
2025-09-03mm/memory_hotplug: fix hwpoisoned large folio handling in do_migrate_range()Jinjiang Tu1-2/+8
2025-07-13mm: rename __PageMovable() to page_has_movable_ops()David Hildenbrand1-6/+4
2025-07-13mm/page_isolation: remove migratetype parameter from more functionsZi Yan1-3/+3
2025-07-13mm/page_isolation: remove migratetype from undo_isolate_page_range()Zi Yan1-2/+2
2025-07-13mm/page_alloc: add support for initializing pageblock as isolatedZi Yan1-4/+8
2025-07-13mm/page_alloc: pageblock flags functions clean upZi Yan1-1/+1
2025-07-13mm,memory_hotplug: drop status_change_nid parameter from memory_notifyOscar Salvador1-4/+0
2025-07-13mm,memory_hotplug: implement numa node notifierOscar Salvador1-80/+66
2025-07-13mm,memory_hotplug: remove status_change_nid_normal and update documentationOscar Salvador1-12/+0
2025-07-09drivers/base/node: rename __register_one_node() to register_one_node()Donet Tom1-1/+1
2025-07-09drivers/base/node: rename register_memory_blocks_under_node() and remove cont...Donet Tom1-3/+2
2025-05-12mm: use for_each_valid_pfn() in memory_hotplugDavid Woodhouse1-6/+2
2025-04-01mm/memory_hotplug: fix call folio_test_large with tail page in do_migrate_rangeJinjiang Tu1-9/+3
2025-03-21mm/hwpoison: introduce folio_contain_hwpoisoned_page() helperJinjiang Tu1-2/+1
2025-03-05hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folioMa Wupeng1-1/+4
2025-03-05mm: memory-hotplug: check folio ref count first in do_migrate_rangeMa Wupeng1-13/+7
2025-03-05mm: memory-failure: update ttu flag inside unmap_poisoned_folioMa Wupeng1-1/+2
2025-01-25mm: add build-time option for hotplug memory default online typeGregory Price1-7/+26
2025-01-13mm/memory_hotplug: don't use __GFP_HARDWALL when migrating pages via memory o...David Hildenbrand1-1/+1
2025-01-13mm/page_isolation: don't pass gfp flags to start_isolate_page_range()David Hildenbrand1-2/+1
2025-01-13mm/memory_hotplug: move debug_pagealloc_map_pages() into online_pages_range()David Hildenbrand1-1/+9
2024-11-06kaslr: rename physmem_end and PHYSMEM_END to direct_map_physmem_endJohn Hubbard1-1/+1
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-46/+39
2024-09-03mm: memory_hotplug: unify Huge/LRU/non-LRU movable folio isolationKefeng Wang1-28/+15
2024-09-03mm: memory_hotplug: check hwpoisoned page firstly in do_migrate_range()Kefeng Wang1-10/+10
2024-09-03mm: memory_hotplug: remove head variable in do_migrate_range()Kefeng Wang1-8/+14
2024-09-01mm/memory_hotplug: get rid of __refWei Yang1-11/+11
2024-08-20x86/kaslr: Expose and use the end of the physical memory address spaceThomas Gleixner1-1/+1
2024-07-12mm/page_alloc: put __free_pages_core() in __meminit sectionWei Yang1-1/+2
2024-07-03mm/memory_hotplug: skip adjust_managed_page_count() for PageOffline() pages w...David Hildenbrand1-3/+3
2024-07-03mm/memory_hotplug: initialize memmap of !ZONE_DEVICE with PageOffline() inste...David Hildenbrand1-6/+10
2024-07-03mm: pass meminit_context to __free_pages_core()David Hildenbrand1-8/+1
2024-07-03mm/memory_hotplug: prevent accessing by index=-1Anastasia Belova1-1/+2
2024-07-03mm/memory_hotplug: drop memblock_phys_free() call in try_remove_memory()Jonathan Cameron1-3/+1
2024-07-03mm/hugetlb: mm/memory_hotplug: use a folio in scan_movable_pages()Sidhartha Kumar1-6/+5
2024-05-05mm/hugetlb: rename dissolve_free_huge_pages() to dissolve_free_hugetlb_folios()Sidhartha Kumar1-2/+2
2024-04-25mm: record the migration reason for struct migration_target_controlBaolin Wang1-0/+1
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