Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:18:15 |
| Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:A direct reclaimer may isolate SWAP_CLUSTER_MAX pages from the LRU list and* then get rescheduled
Proto:static int too_many_isolated(struct pglist_data *pgdat, int file, struct scan_control *sc)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pglist_data * | pgdat | |
| int | file | |
| struct scan_control * | sc |
| 1798 | If current_is_kswapd() Then Return 0 |
| 1804 | If file Then |
| 1805 | inactive = node_page_state(pgdat, NR_INACTIVE_FILE) |
| 1806 | isolated = node_page_state(pgdat, NR_ISOLATED_FILE) |
| 1807 | Else |
| 1808 | inactive = node_page_state(pgdat, NR_INACTIVE_ANON) |
| 1809 | isolated = node_page_state(pgdat, NR_ISOLATED_ANON) |
| Name | Describe |
|---|---|
| shrink_inactive_list | shrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages |
| 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 |