Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pcp->high and pcp->batch values are related and dependent on one another:* ->batch must never be higher then ->high

Proto:static void pageset_update(struct per_cpu_pages *pcp, unsigned long high, unsigned long batch)

Type:void

Parameter:

TypeParameterName
struct per_cpu_pages *pcp
unsigned longhigh
unsigned longbatch
6079  chunk size for buddy add/remove = 1
6080  smp_wmb()
6083  high watermark, emptying needed = high
6084  smp_wmb()
6086  chunk size for buddy add/remove = batch
Caller
NameDescribe
pageset_set_batcha companion to pageset_set_high()
pageset_set_highpageset_set_high() sets the high water mark for hot per_cpu_pagelist* to the value high for the pageset p.