Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\page-flags.h Create Date:2022-07-28 05:36:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ClearPageDirty

Proto:static inline __attribute__((__always_inline__)) void ClearPageDirty(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
318  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
Caller
NameDescribe
__cancel_dirty_pageThis 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
pageoutpageout is called by shrink_page_list() for each dirty page.* Calls ->writepage().
madvise_free_pte_range
migrate_page_move_mappingReplace the page in the mapping.* The number of remaining references must be:* 1 for anonymous pages without a mapping* 2 for pages with a mapping* 3 for pages with a mapping and PagePrivate/PagePrivate2 set.
madvise_free_huge_pmdReturn true if we do MADV_FREE successfully on entire pmd page.* Otherwise, return false.
__split_huge_page
me_swapcache_dirtyClean and dirty swap cache.* Dirty swap cache page is tricky to handle. The page could live both in page* cache and swap cache(ie. page is freshly swapped in). So it could be* referenced concurrently by 2 types of PTEs:* normal PTEs and swap PTEs