函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:list_lru_count_one

函数原型:unsigned long list_lru_count_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg)

返回类型:unsigned long

参数:

类型参数名称
struct list_lru *lru
intnid
struct mem_cgroup *memcg
187  nlru等于node[nid]
191  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
192  l等于list_lru_from_memcg_idx(nlru, memcg_cache_id(memcg))
193  count等于 may become negative during memcg reparenting
194  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
196  返回:count
调用者
名称描述
list_lru_shrink_count