Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:18:05 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Update LRU sizes after isolating pages. The LRU size updates must* be complete before mem_cgroup_update_lru_size due to a santity check.
Proto:static __always_inline void update_lru_sizes(struct lruvec *lruvec, enum lru_list lru, unsigned long *nr_zone_taken)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct lruvec * | lruvec | |
enum lru_list | lru | |
unsigned long * | nr_zone_taken |
1616 | When zid < MAX_NR_ZONES cycle |
1617 | If Not nr_zone_taken[zid] Then Continue |
1620 | __update_lru_size(lruvec, lru, zid, - nr_zone_taken[zid]) |
1622 | mem_cgroup_update_lru_size(lruvec, lru, zid, - nr_zone_taken[zid]) |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |