Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_poison.c Create Date:2022-07-28 15:42:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kernel_poison_pages

Proto:void kernel_poison_pages(struct page *page, int numpages, int enable)

Type:void

Parameter:

TypeParameterName
struct page *page
intnumpages
intenable
120  If Not page_poisoning_enabled - check if page poisoning is enabled* Return true if page poisoning is enabled, or false if not. Then Return
123  If enable Then unpoison_pages(page, numpages)
125  Else poison_pages(page, numpages)
Caller
NameDescribe
post_alloc_hook