函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-27 15:41:07
Last Modify:2022-05-23 13:41:30 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Remove one

函数原型:void unregister_shrinker(struct shrinker *shrinker)

返回类型:void

参数:

类型参数名称
struct shrinker *shrinker
413  如果非bjs pending delete, per node 则返回
415  如果flags按位与SHRINKER_MEMCG_AWAREunregister_memcg_shrinker(shrinker)
417  lock for writing
418  删除链表项
419  lease a write lock
420  释放内存
421  bjs pending delete, per node = NULL
调用者
名称描述
hugepage_init
zs_unregister_shrinker
mb_cache_destroymb_cache_destroy - destroy cache*@cache: the cache to destroy* Free all entries in cache and cache itself. Caller must make sure nobody* (except shrinker) can reach @cache when calling this.
deactivate_locked_superdeactivate_locked_super - drop an active reference to superblock*@s: superblock to deactivate* Drops an active reference to superblock, converting it into a temporary* one if there is no other active references left