函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory_hotplug.c Create Date:2022-07-27 17:30:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:put_online_mems

函数原型:void put_online_mems(void)

返回类型:void

参数:

64  percpu_up_read( & mem_hotplug_lock)
调用者
名称描述
kmem_cache_destroy删除高速缓存区
kmem_cache_shrink收缩缓存区
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.
kmem_cache_create_usercopykmem_cache_create_usercopy - Create a cache with a region suitable* for copying to userspace*@name: A string which is used in /proc/slabinfo to identify this cache.*@size: The size of objects to be created in this cache.