Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The atomic page->_mapcount, starts from -1: so that transitions* both from it and to it can be tracked, using atomic_inc_and_test* and atomic_add_negative(-1).

Proto:static inline void page_mapcount_reset(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
697  atomic_set( & * If the page can be mapped to userspace, encodes the number * of times this page is referenced by a page table., - 1)
Caller
NameDescribe
unaccount_page_cache_page
bad_page
__init_single_page
check_new_page_bad
slob_freeslob_free: entry point into the slob allocator.
kmem_freepagesInterface to system's page release.
reset_page
z3fold_page_migrate