Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pageset_set_high() sets the high water mark for hot per_cpu_pagelist* to the value high for the pageset p.

Proto:static void pageset_set_high(struct per_cpu_pageset *p, unsigned long high)

Type:void

Parameter:

TypeParameterName
struct per_cpu_pageset *p
unsigned longhigh
6120  batch = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(1UL, high / 4)
6121  If high / 4 > PAGE_SHIFT determines the page size * 8 Then batch = PAGE_SHIFT determines the page size * 8
6124  pcp->high and pcp->batch values are related and dependent on one another:* ->batch must never be higher then ->high
Caller
NameDescribe
pageset_set_high_and_batch