Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:11:19 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This cancels just the dirty bit on the kernel page itself, it does NOT* actually remove dirty bits on any mmap's that may be around
Proto:void __cancel_dirty_page(struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
2618 | mapping = page_mapping(page) |
2620 | If mapping_cap_account_dirty(mapping) Then |
2623 | struct wb_lock_cookie cookie = {} |
2625 | lock_page_memcg(page) |
2626 | wb = unlocked_inode_to_wb_begin(inode, & cookie) |
2628 | If TestClearPageDirty(page) Then Helper function for deaccounting dirty page without writeback.* Caller must hold lock_page_memcg(). |
2631 | unlocked_inode_to_wb_end(inode, & cookie) |
2632 | unlock_page_memcg(page) |
2633 | Else |
2634 | ClearPageDirty(page) |
Name | Describe |
---|---|
cancel_dirty_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 |