函数逻辑报告 |
Source Code:mm\vmscan.c |
Create Date:2022-07-27 15:42:00 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Update LRU sizes after isolating pages. The LRU size updates must* be complete before mem_cgroup_update_lru_size due to a santity check.
函数原型:static __always_inline void update_lru_sizes(struct lruvec *lruvec, enum lru_list lru, unsigned long *nr_zone_taken)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct lruvec * | lruvec | |
enum lru_list | lru | |
unsigned long * | nr_zone_taken |
1616 | 以zid小于MAX_NR_ZONES循环 |
1617 | 如果非nr_zone_taken[zid]则继续下一循环 |
1620 | __update_lru_size(lruvec, lru, zid, - nr_zone_taken[zid]) |
1622 | mem_cgroup_update_lru_size(lruvec, lru, zid, - nr_zone_taken[zid]) |
名称 | 描述 |
---|---|
isolate_lru_pages | pgdat->lru_lock is heavily contended. Some of the functions that* shrink the lists perform better by taking out a batch of pages* and working on them outside the LRU lock.* For pagecache intensive workloads, this function is the hottest |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |