Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:11:10 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Helper function for set_page_dirty family.* Caller must hold lock_page_memcg().* NOTE: This relies on being atomic wrt interrupts.
Proto:void account_page_dirtied(struct page *page, struct address_space *mapping)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct address_space * | mapping |
2418 | If mapping_cap_account_dirty(mapping) Then |
2421 | inode_attach_wb(inode, page) |
2422 | wb = inode_to_wb(inode) |
2426 | __inc_node_page_state(page, NR_DIRTIED) |
2427 | inc_wb_stat(wb, WB_RECLAIMABLE) |
2428 | inc_wb_stat(wb, WB_DIRTIED) |
2430 | nr_dirtied++ |
2431 | this_cpu_inc(bdp_ratelimits) |
2433 | mem_cgroup_track_foreign_dirty(page, wb) |
Name | Describe |
---|---|
__set_page_dirty_nobuffers | For address_spaces which do not use buffers. Just tag the page as dirty in* the xarray.* This is also used when a single buffer is being dirtied: we want to set the* page dirty in that case, but not all the buffers. This is a "bottom-up" |
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 |