aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
AgeCommit message (Expand)AuthorFilesLines
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
2019-07-18mm/memory_hotplug: remove memory block devices before arch_remove_memory()David Hildenbrand1-2/+3
2019-07-18mm/memory_hotplug: drop MHP_MEMBLOCK_APIDavid Hildenbrand1-6/+3
2019-07-18mm/memory_hotplug: create memory block devices after arch_add_memory()David Hildenbrand1-7/+8
2019-07-18mm/memory_hotplug: allow arch_remove_memory() without CONFIG_MEMORY_HOTREMOVEDavid Hildenbrand1-2/+0
2019-07-18mm/memory_hotplug: simplify and fix check_hotplug_memory_range()David Hildenbrand1-8/+3
2019-07-16mm/hotplug: make remove_memory() interface usablePavel Tatashin1-21/+43
2019-07-02memremap: replace the altmap_valid field with a PGMAP_ALTMAP_VALID flagChristoph Hellwig1-4/+2
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14mm: shuffle initial free memory to improve memory-side-cache utilizationDan Williams1-0/+3
2019-05-14mm/memory_hotplug: make __remove_pages() and arch_remove_memory() never failDavid Hildenbrand1-3/+2
2019-05-14mm/memory_hotplug: make __remove_section() never failDavid Hildenbrand1-13/+9
2019-05-14mm/memory_hotplug: make unregister_memory_section() never failDavid Hildenbrand1-3/+1
2019-05-14mm/memory_hotplug: release memory resource after arch_remove_memory()David Hildenbrand1-14/+21
2019-05-14mm, memory_hotplug: provide a more generic restrictions for memory hotplugMichal Hocko1-4/+7
2019-05-14mm, memory_hotplug: cleanup memory offline pathMichal Hocko1-34/+11
2019-05-14mm/memory_hotplug.c: fix the wrong usage of N_HIGH_MEMORYBaoquan He1-1/+1
2019-05-14mm,memory_hotplug: drop redundant hugepage_migration_supported checkOscar Salvador1-2/+1
2019-05-14mm,memory_hotplug: unlock 1GB-hugetlb on x86_64Oscar Salvador1-4/+0
2019-04-26mm/memory_hotplug.c: drop memory device reference after find_memory_block()David Hildenbrand1-0/+1
2019-03-29mm/memory_hotplug.c: fix notification in offline error pathQian Cai1-1/+1
2019-03-29mm/hotplug: fix offline undo_isolate_page_range()Qian Cai1-4/+13
2019-03-16Merge tag 'devdax-for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/n...Linus Torvalds1-18/+14
2019-03-11Merge tag 'for-linus-5.1a-rc1-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+6
2019-03-05mm/hotplug: fix an imbalance with DEBUG_PAGEALLOCQian Cai1-0/+1
2019-03-05mm,memory_hotplug: explicitly pass the head to isolate_huge_pageOscar Salvador1-2/+2
2019-03-05mm: remove extra drain pages on pcp listWei Yang1-1/+0
2019-03-05mm: replace all open encodings for NUMA_NO_NODEAnshuman Khandual1-6/+6
2019-03-05mm/page_alloc.c: memory hotplug: free pages as higher orderArun KS1-12/+25
2019-02-28mm/memory-hotplug: Allow memory resources to be childrenDave Hansen1-13/+15
2019-02-28mm/resource: Move HMM pr_debug() deeper into resource codeDave Hansen1-5/+0
2019-02-21mm, memory_hotplug: fix off-by-one in is_pageblock_removableMichal Hocko1-12/+15
2019-02-18x86: respect memory size limiting via mem= parameterJuergen Gross1-0/+6
2019-02-01mm, memory_hotplug: __offline_pages fix wrong lockingMichal Hocko1-2/+0
2019-02-01mm,memory_hotplug: fix scan_movable_pages() for gigantic hugepagesOscar Salvador1-16/+20
2019-02-01mm, memory_hotplug: test_pages_in_a_zone do not pass the end of zoneMikhail Zaslonko1-0/+3
2019-02-01mm, memory_hotplug: is_mem_section_removable do not pass the end of a zoneMichal Hocko1-1/+2
2019-02-01mm, memory_hotplug: don't bail out in do_migrate_range() prematurelyOscar Salvador1-16/+2
2018-12-28mm, memory_hotplug: deobfuscate migration part of offliningMichal Hocko1-29/+33
2018-12-28mm, memory_hotplug: try to migrate full pfn rangeMichal Hocko1-6/+2
2018-12-28hwpoison, memory_hotplug: allow hwpoisoned pages to be offlinedMichal Hocko1-0/+16
2018-12-28mm, hotplug: move init_currently_empty_zone() under zone_span_lock protectionWei Yang1-3/+2
2018-12-28mm, sparse: pass nid instead of pgdat to sparse_add_one_section()Wei Yang1-1/+1
2018-12-28mm, memory_hotplug: add nid parameter to arch_remove_memoryOscar Salvador1-1/+1
2018-12-28mm/memory_hotplug: drop "online" parameter from add_memory_resource()David Hildenbrand1-3/+3
2018-12-28mm, memory_hotplug: do not clear numa_node association after hot_removeMichal Hocko1-29/+1
2018-12-28mm: only report isolation failures when offlining memoryMichal Hocko1-2/+3
2018-12-28mm, memory_hotplug: be more verbose for memory offline failuresMichal Hocko1-4/+8
2018-12-28mm, memory_hotplug: print reason for the offlining failureMichal Hocko1-11/+23
2018-12-28mm, memory_hotplug: drop pointless block alignment checks from __offline_pagesMichal Hocko1-6/+0
2018-11-03memory_hotplug: cond_resched in __remove_pagesMichal Hocko1-0/+1
2018-10-31mm/memory_hotplug: fix online/offline_pages called w.o. mem_hotplug_lockDavid Hildenbrand1-8/+20
2018-10-31mm/memory_hotplug: make add_memory() take the device_hotplug_lockDavid Hildenbrand1-3/+19
2018-10-31mm/memory_hotplug: make remove_memory() take the device_hotplug_lockDavid Hildenbrand1-1/+8
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+0
2018-10-26mm/memory_hotplug.c: clean up node_states_check_changes_offline()Oscar Salvador1-51/+29
2018-10-26mm/memory_hotplug.c: simplify node_states_check_changes_onlineOscar Salvador1-50/+7
2018-10-26mm/memory_hotplug.c: tidy up node_states_clear_node()Oscar Salvador1-4/+2
2018-10-26mm/memory_hotplug.c: spare unnecessary calls to node_set_stateOscar Salvador1-1/+2
2018-09-04mm/hugetlb: filter out hugetlb pages if HUGEPAGE migration is not supported.Aneesh Kumar K.V1-1/+2
2018-08-22mm/page_alloc: Introduce free_area_init_core_hotplugOscar Salvador1-11/+5
2018-08-17mm/memory_hotplug.c: make register_mem_sect_under_node() a callback of walk_m...Oscar Salvador1-4/+1
2018-08-17mm/memory_hotplug.c: call register_mem_sect_under_node()Oscar Salvador1-21/+11
2018-08-17mm/memory_hotplug.c: make add_memory_resource use __try_online_nodeOscar Salvador1-28/+39
2018-06-07mm: move is_pageblock_removable_nolock() to mm/memory_hotplug.cMathieu Malaterre1-0/+23
2018-05-25mm/memory_hotplug: fix leftover use of struct page during hotplugJonathan Cameron1-1/+1
2018-04-11mm: unclutter THP migrationMichal Hocko1-1/+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/+6
2018-04-05mm/memory_hotplug: optimize memory hotplugPavel Tatashin1-19/+8
2018-04-05mm/memory_hotplug: don't read nid from struct page during hotplugPavel Tatashin1-1/+1
2018-04-05mm/memory_hotplug: enforce block size aligned range checkPavel Tatashin1-7/+8
2018-02-06Merge tag 'libnvdimm-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-21/+18
2018-01-31mm: memory_hotplug: remove second __nr_to_section in register_page_bootmem_in...Oscar Salvador1-2/+2
2018-01-31mm/memory_hotplug.c: remove unnecesary check from register_page_bootmem_info_...Oscar Salvador1-3/+0
2018-01-31mm: drop hotplug lock from lru_add_drain_all()Michal Hocko1-1/+1
2018-01-08mm: pass the vmem_altmap to memmap_init_zoneChristoph Hellwig1-4/+5
2018-01-08mm: pass the vmem_altmap to vmemmap_freeChristoph Hellwig1-3/+4
2018-01-08mm: pass the vmem_altmap to arch_remove_memory and __remove_pagesChristoph Hellwig1-6/+2
2018-01-08mm: pass the vmem_altmap to vmemmap_populateChristoph Hellwig1-3/+4
2018-01-08mm: pass the vmem_altmap to arch_add_memory and __add_pagesChristoph Hellwig1-4/+3
2018-01-08mm: don't export __add_pagesChristoph Hellwig1-1/+0
2017-11-15memory hotplug: fix comments when adding sectionFan Du1-1/+1
2017-11-15mm, memory_hotplug: remove timeout from __offline_memoryMichal Hocko1-7/+3
2017-11-15mm, memory_hotplug: do not fail offlining too earlyMichal Hocko1-30/+10
2017-10-03mm/memory_hotplug: define find_{smallest|biggest}_section_pfn as unsigned longYASUAKI ISHIMATSU1-2/+2
2017-10-03mm/memory_hotplug: change pfn_to_section_nr/section_nr_to_pfn macro to inline...YASUAKI ISHIMATSU1-1/+1
2017-10-03mm, memory_hotplug: add scheduling point to __add_pagesMichal Hocko1-0/+1
2017-09-08mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memoryJérôme Glisse1-2/+8
2017-09-08mm: memory_hotplug: memory hotremove supports thp migrationNaoya Horiguchi1-1/+3
2017-09-06mm, memory_hotplug: get rid of zonelists_mutexMichal Hocko1-10/+2
2017-09-06mm, memory_hotplug: remove explicit build_all_zonelists from try_online_nodeMichal Hocko1-7/+0
2017-09-06mm, memory_hotplug: drop zone from build_all_zonelistsMichal Hocko1-5/+5
2017-09-06mm, memory_hotplug: remove zone restrictionsMichal Hocko1-51/+23
2017-09-06mm, memory_hotplug: display allowed zones in the preferred orderingMichal Hocko1-32/+41
2017-07-10mm/memory-hotplug: switch locking to a percpu rwsemThomas Gleixner1-74/+15
2017-07-10mm/memory_hotplug.c: remove unused local zone_type from __remove_zone()John Hubbard1-3/+0
2017-07-10mm: unify new_node_page and alloc_migrate_targetMichal Hocko1-10/+1
2017-07-10hugetlb, memory_hotplug: prefer to use reserved pages for migrationMichal Hocko1-7/+2
2017-07-10mm, memory_hotplug: simplify empty node mask handling in new_node_pageMichal Hocko1-9/+10
2017-07-10mm, memory_hotplug: support movable_node for hotpluggable nodesMichal Hocko1-3/+16
2017-07-10mm/memory_hotplug.c: add NULL check to avoid potential NULL pointer dereferenceGustavo A. R. Silva1-1/+1
2017-07-06mm, memory_hotplug: move movable_node to the hotplug properMichal Hocko1-0/+6
2017-07-06mm, memory_hotplug: drop CONFIG_MOVABLE_NODEMichal Hocko1-4/+0
2017-07-06mm, memory_hotplug: drop artificial restriction on online/offlineMichal Hocko1-58/+0
2017-07-06mm, page_alloc: pass preferred nid instead of zonelist to allocatorVlastimil Babka1-4/+2
2017-07-06mm, memory_hotplug: remove unused cruft after memory hotplug reworkMichal Hocko1-207/+0
2017-07-06mm, memory_hotplug: fix the section mismatch warningMichal Hocko1-1/+1
2017-07-06mm, memory_hotplug: replace for_device by want_memblock in arch_add_memoryMichal Hocko1-1/+1
2017-07-06mm, memory_hotplug: do not assume ZONE_NORMAL is default kernel zoneMichal Hocko1-3/+24
2017-07-06mm, memory_hotplug: fix MMOP_ONLINE_KEEP behaviorMichal Hocko1-4/+5
2017-07-06mm, memory_hotplug: do not associate hotadded memory to zones until onlineMichal Hocko1-79/+122
2017-07-06mm: consider zone which is not fully populated to have holesMichal Hocko1-0/+4
2017-07-06mm, memory_hotplug: split up register_one_node()Michal Hocko1-1/+16
2017-07-06mm, memory_hotplug: get rid of is_zone_device_sectionMichal Hocko1-3/+6
2017-07-06mm, memory_hotplug: use node instead of zone in can_online_high_movableMichal Hocko1-4/+4
2017-07-06mm: remove return value from init_currently_empty_zoneMichal Hocko1-18/+5
2017-05-03mm, vmscan: prevent kswapd sleeping prematurely due to mismatched classzone_idxMel Gorman1-1/+5
2017-03-16mm: add private lock to serialize memory hotplug operationsHeiko Carstens1-1/+5
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+1
2017-02-24memory-hotplug: use dev_online for memhp_auto_onlineNathan Fontenot1-1/+1
2017-02-24mm/memory_hotplug.c: fix overflow in test_pages_in_a_zone()zhong jiang1-2/+2
2017-02-24mm/hotplug: enable memory hotplug for non-lru movable pagesYisheng Xie1-11/+17
2017-02-24mm/memory_hotplug.c: unexport __remove_pages()Andrew Morton1-1/+0
2017-02-24mm: validate device_hotplug is held for memory hotplugDan Williams1-0/+2
2017-02-22mm/memory_hotplug: set magic number to page->freelist instead of page->lru.nextYasuaki Ishimatsu1-2/+3
2017-02-03base/memory, hotplug: fix a kernel oops in show_valid_zones()Toshi Kani1-5/+15
2017-02-03mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone()Toshi Kani1-4/+8
2017-01-24memory_hotplug: make zone_can_shift() return a boolean valueYasuaki Ishimatsu1-11/+17
2016-12-12mm: remove x86-only restriction of movable_nodeReza Arbab1-20/+0
2016-10-27mm: remove unused variable in memory hotplugLinus Torvalds1-1/+0
2016-10-27mm: remove per-zone hashtable of bitlock waitqueuesLinus Torvalds1-28/+0
2016-10-07mm/hugetlb: check for reserved hugepages during memory offlineGerald Schaefer1-1/+3
2016-09-28mem-hotplug: use nodes that contain memory as mask in new_node_page()Li Zhong1-5/+5
2016-09-19mem-hotplug: don't clear the only node in new_node_page()Li Zhong1-1/+3
2016-08-11mm/memory_hotplug.c: initialize per_cpu_nodestats for hotadded pgdatsReza Arbab1-0/+2
2016-07-28mem-hotplug: alloc new page from a nearest neighbor node when mem-offlineXishi Qiu1-5/+33
2016-07-28mm, vmscan: simplify the logic deciding whether kswapd sleepsMel Gorman1-2/+3