Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory_hotplug.c Create Date:2022-07-28 15:56:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_online_mems

Proto:void get_online_mems(void)

Type:void

Parameter:Nothing

59  percpu_down_read( & mem_hotplug_lock)
Caller
NameDescribe
kmem_cache_destroy
kmem_cache_shrinkkmem_cache_shrink - Shrink a cache.*@cachep: The cache to shrink.* Releases as many slabs as possible for a cache.* To help debugging, a zero exit status indicates all slabs were released.* Return: %0 if all slabs were released, non-zero otherwise
kmem_cache_shrink_allkmem_cache_shrink_all - shrink a cache and all memcg caches for root cache*@s: The cache pointer
soft_offline_pagesoft_offline_page - Soft offline a page.*@pfn: pfn to soft-offline*@flags: flags. Same as memory_failure().* Returns 0 on success, otherwise negated errno.* Soft offline a page, by migration or invalidation,* without killing anything
kmemleak_scanScan data sections and all the referenced memory blocks allocated via the* kernel's standard allocators. This function must be called with the* scan_mutex held.