Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Called from cache_reap() to regularly drain alien caches round robin.

Proto:static void reap_alien(struct kmem_cache *cachep, struct kmem_cache_node *n)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cachep
struct kmem_cache_node *n
759  node = Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(Special reaping functions for NUMA systems called from cache_reap().* These take care of doing round robin flushing of alien caches (containing* objects freed on different nodes from which they were allocated) and the)
761  If alien Then
762  alc = alien[node]
765  If alc Then
766  ac = ac
767  If avail && spin_trylock_irq( & lock) Then
Caller
NameDescribe
cache_reapache_reap - Reclaim memory from caches