Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:09:27 |
| Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:de_dirty_ok - tells whether a node is within its dirty limits*@pgdat: the node to check* Return: %true when the dirty pages in @pgdat are within the node's* dirty limit, %false if the limit is exceeded.
Proto:bool node_dirty_ok(struct pglist_data *pgdat)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pglist_data * | pgdat |
| 504 | 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. |
| 505 | nr_pages = 0 |
| 507 | nr_pages += node_page_state(pgdat, NR_FILE_DIRTY) |
| 508 | nr_pages += node_page_state(pgdat, NR_UNSTABLE_NFS) |
| 509 | nr_pages += node_page_state(pgdat, NR_WRITEBACK) |
| Name | Describe |
|---|---|
| get_page_from_freelist | get_page_from_freelist goes through the zonelist trying to allocate* a page. |
| 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 |