Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:09:17 |
| Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:de_dirtyable_memory - number of dirtyable pages in a node*@pgdat: the node* Return: the node's number of pages potentially available for dirty* page cache. This is the base value for the per-node dirty limits.
Proto:static unsigned long node_dirtyable_memory(struct pglist_data *pgdat)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pglist_data * | pgdat |
| 279 | nr_pages = 0 |
| 282 | When z < MAX_NR_ZONES cycle |
| 283 | zone = node_zones + z |
| 285 | If Not Returns true if a zone has memory Then Continue |
| 288 | nr_pages += zone_page_state(zone, NR_FREE_PAGES) |
| 298 | nr_pages += node_page_state(pgdat, NR_INACTIVE_FILE) |
| 299 | nr_pages += node_page_state(pgdat, NR_ACTIVE_FILE) |
| 301 | Return nr_pages |
| Name | Describe |
|---|---|
| node_dirty_limit | de_dirty_limit - maximum number of dirty pages allowed in a node*@pgdat: the node* Return: the maximum number of dirty pages allowed in a node, based* on the node's dirtyable memory. |
| 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 |