Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:list_lru_walk_one_irq

Proto:unsigned long list_lru_walk_one_irq(struct list_lru *lru, int nid, struct mem_cgroup *memcg, list_lru_walk_cb isolate, void *cb_arg, unsigned long *nr_to_walk)

Type:unsigned long

Parameter:

TypeParameterName
struct list_lru *lru
intnid
struct mem_cgroup *memcg
list_lru_walk_cbisolate
void *cb_arg
unsigned long *nr_to_walk
288  nlru = node[nid]
291  spin_lock_irq( & protects all lists on the node, including per cgroup )
292  ret = __list_lru_walk_one(nlru, memcg_cache_id(memcg), isolate, cb_arg, nr_to_walk)
294  spin_unlock_irq( & protects all lists on the node, including per cgroup )
295  Return ret
Caller
NameDescribe
list_lru_shrink_walk_irq