summaryrefslogtreecommitdiff
path: root/drivers/base/memory.c
AgeCommit message (Expand)AuthorFilesLines
2022-06-09drivers/base/memory: fix an unlikely reference counting issue in __add_memory...Christophe JAILLET1-3/+2
2021-03-17drivers/base/memory: don't store phys_device in memory blocksDavid Hildenbrand1-16/+9
2020-10-16mm/memory_hotplug: prepare passing flags to add_memory() and friendsDavid Hildenbrand1-1/+2
2020-10-02drivers core: Miscellaneous changes for sysfs_emitJoe Perches1-1/+4
2020-10-02drivers core: Remove strcat uses around sysfs_emit and neatenJoe Perches1-25/+22
2020-10-02drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functionsJoe Perches1-12/+12
2020-07-10drivers/base/memory: rename base_memory_block_id to memory_block_idWei Yang1-4/+4
2020-07-10drivers/base/memory: init_memory_block() first parameter is not necessaryWei Yang1-6/+3
2020-06-04drivers/base/memory.c: cache memory blocks in xarray to accelerate lookupScott Cheloha1-12/+32
2020-04-07mm/memory_hotplug: allow to specify a default online_typeDavid Hildenbrand1-6/+5
2020-04-07mm/memory_hotplug: convert memhp_auto_online to store an online_typeDavid Hildenbrand1-6/+4
2020-04-07drivers/base/memory: store mapping between MMOP_* and string in an arrayDavid Hildenbrand1-15/+23
2020-04-07drivers/base/memory: map MMOP_OFFLINE to 0David Hildenbrand1-7/+4
2020-04-07drivers/base/memory: rename MMOP_ONLINE_KEEP to MMOP_ONLINEDavid Hildenbrand1-4/+5
2020-04-07drivers/base/memory.c: drop pages_correctly_probed()David Hildenbrand1-42/+0
2020-04-07drivers/base/memory.c: drop section_countDavid Hildenbrand1-14/+3
2020-03-29drivers/base/memory.c: indicate all memory blocks as removableDavid Hildenbrand1-20/+3
2020-02-04mm/memory_hotplug: drop valid_start/valid_end from test_pages_in_a_zone()David Hildenbrand1-5/+4
2020-01-31mm/memory_hotplug: pass in nid to online_pages()David Hildenbrand1-3/+3
2020-01-31mm: remove the memory isolate notifierDavid Hildenbrand1-19/+0
2019-12-01drivers/base/memory.c: drop the mem_sysfs_mutexDavid Hildenbrand1-19/+14
2019-12-01mm, soft-offline: convert parameter to pfnNaoya Horiguchi1-6/+1
2019-11-16mm/memory_hotplug: fix try_offline_node()David Hildenbrand1-0/+36
2019-10-19drivers/base/memory.c: don't access uninitialized memmaps in soft_offline_pag...David Hildenbrand1-0/+3
2019-09-25drivers/base/memory.c: don't store end_section_nr in memory blocksDavid Hildenbrand1-1/+0
2019-09-25driver/base/memory.c: validate memory block size earlyDavid Hildenbrand1-22/+9
2019-09-25drivers/base/memory.c: fixup documentation of removable/phys_index/block_size...David Hildenbrand1-5/+6
2019-09-25drivers/base/node.c: simplify unregister_memory_block_under_nodes()David Hildenbrand1-0/+1
2019-07-19drivers/base/memory.c: get rid of find_memory_block_hinted()David Hildenbrand1-26/+14
2019-07-19mm/memory_hotplug: move and simplify walk_memory_blocks()David Hildenbrand1-0/+42
2019-07-19drivers/base/memory: use "unsigned long" for block idsDavid Hildenbrand1-11/+11
2019-07-19mm: section numbers use the type "unsigned long"David Hildenbrand1-14/+13
2019-07-19mm/memory_hotplug: remove memory block devices before arch_remove_memory()David Hildenbrand1-19/+18
2019-07-19mm/memory_hotplug: create memory block devices after arch_add_memory()David Hildenbrand1-28/+54
2019-07-19mm/memory_hotplug: allow arch_remove_memory() without CONFIG_MEMORY_HOTREMOVEDavid Hildenbrand1-2/+0
2019-07-19drivers/base/memory: pass a block_id to init_memory_block()David Hildenbrand1-16/+11
2019-05-14mm/memory_hotplug: make unregister_memory_section() never failDavid Hildenbrand1-11/+5
2019-05-14drivers/base/memory.c: clean up relics in function parametersBaoquan He1-6/+6
2019-04-19mm/memory_hotplug: do not unlock after failing to take the device_hotplug_lockzhong jiang1-1/+1
2019-02-28device-dax: "Hotplug" persistent memory for use like normal RAMDave Hansen1-0/+1
2018-12-29Merge tag 'driver-core-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-44/+37
2018-12-28memory_hotplug: add missing newlines to debugging outputMichal Hocko1-3/+3
2018-12-28drivers/base/memory.c: remove an unnecessary check on NR_MEM_SECTIONSWei Yang1-1/+1
2018-12-20mm, memory_hotplug: update a comment in unregister_memory()Dan Carpenter1-1/+1
2018-12-06drivers/base/memory.c: Use DEVICE_ATTR_RO and friendsDavid Hildenbrand1-43/+36
2018-10-31mm/memory_hotplug: fix online/offline_pages called w.o. mem_hotplug_lockDavid Hildenbrand1-12/+1
2018-10-31mm/memory_hotplug: make add_memory() take the device_hotplug_lockDavid Hildenbrand1-2/+7
2018-09-05memory_hotplug: fix kernel_panic on offline page processingMikhail Zaslonko1-11/+9
2018-08-18mm/memory_hotplug.c: call register_mem_sect_under_node()Oscar Salvador1-2/+0
2018-05-14mm: memory_hotplug: use put_device() if device_register failArvind Yadav1-1/+7