Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-28 15:44:08
Last Modify:2022-05-23 17:02:55 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:slabs_destroy

Proto:static void slabs_destroy(struct kmem_cache *cachep, struct list_head *list)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cachep
struct list_head *list
1683  deletes entry from list
1684  slab_destroy - destroy and release all objects in a slab*@cachep: cache pointer being destroyed*@page: page pointer being destroyed* Destroy all the objs in a slab page, and release the mem back to the system.
Caller
NameDescribe
cache_free_pfmemalloc
reap_alienCalled from cache_reap() to regularly drain alien caches round robin.
drain_alien_cache
__cache_free_alien
setup_kmem_cache_node
do_drain
drain_cpu_caches
cache_flusharray
__do_tune_cpucacheAlways called with the slab_mutex held
drain_arrayDrain an array if it contains any elements taking the node lock only if* necessary. Note that the node listlock also protects the array_cache* if drain_array() is used on the shared array.