函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-27 16:37:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pageset_init

函数原型:static void pageset_init(struct per_cpu_pageset *p)

返回类型:void

参数:

类型参数名称
struct per_cpu_pageset *p
6100  memset(p, 0, p的长度)
6102  pcp等于pcp
6103 migratetype小于MIGRATE_PCPTYPES循环初始化链表头
调用者
名称描述
setup_pagesetBoot pageset table. One per cpu which is going to be used for all* zones and all nodes. The parameters will be set in such a way* that an item put on a list will immediately be handed over to* the buddy list. This is safe since pageset manipulation is done
zone_pageset_init