Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:11:14 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Call this whenever redirtying a page, to de-account the dirty counters* (NR_DIRTIED, WB_DIRTIED, tsk->nr_dirtied), so that they match the written* counters (NR_WRITTEN, WB_WRITTEN) in long term
Proto:void account_page_redirty(struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
2508 | If mapping && mapping_cap_account_dirty(mapping) Then |
2511 | struct wb_lock_cookie cookie = {} |
2513 | wb = unlocked_inode_to_wb_begin(inode, & cookie) |
2514 | nr_dirtied-- |
2515 | dec_node_page_state(page, NR_DIRTIED) |
2516 | dec_wb_stat(wb, WB_DIRTIED) |
2517 | unlocked_inode_to_wb_end(inode, & cookie) |
Name | Describe |
---|---|
redirty_page_for_writepage | When a writepage implementation decides that it doesn't want to write this* page for some reason, it should redirty the locked page via* redirty_page_for_writepage() and it should then unlock the page and return 0 |
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 |