Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:18:41 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:shrink_list
Proto:static unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan, struct lruvec *lruvec, struct scan_control *sc)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
enum lru_list | lru | |
unsigned long | nr_to_scan | |
struct lruvec * | lruvec | |
struct scan_control * | sc |
2170 | If is_active_lru(lru) Then |
2171 | If may_deactivate & 1 << is_file_lru(lru) Then shrink_active_list(nr_to_scan, lruvec, sc, lru) |
2173 | Else skipped_deactivate = 1 |
2175 | Return 0 |
2178 | Return shrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages |
Name | Describe |
---|---|
shrink_lruvec |
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 |