Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:19:47 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kswapd shrinks a node of pages that are at or below the highest usable* zone that is currently unbalanced.* Returns true if kswapd scanned at least the requested number of pages to* reclaim or if the lack of progress was due to pages under writeback.
Proto:static bool kswapd_shrink_node(pg_data_t *pgdat, struct scan_control *sc)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
pg_data_t * | pgdat | |
struct scan_control * | sc |
3530 | When z <= The highest zone to isolate pages for reclaim from cycle |
3531 | zone = node_zones + z |
3542 | shrink_node(pgdat, sc) |
3554 | Return Incremented by the number of inactive pages that were scanned >= How many pages shrink_list() should reclaim |
Name | Describe |
---|---|
balance_pgdat | For kswapd, balance_pgdat() will reclaim pages across a node from zones* that are eligible for use by the caller until at least one zone is* balanced.* Returns the order kswapd finished reclaiming at. |
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 |