函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_zone_contiguous

函数原型:void set_zone_contiguous(struct zone *zone)

返回类型:void

参数:

类型参数名称
struct zone *zone
1545  block_start_pfn等于内存域第一个页帧的索引
1548  block_end_pfn等于@a is a power of 2 value (block_start_pfn + 1, pageblock_nr_pages)
1549 block_start_pfn小于zone_end_pfn(zone)循环
1553  block_end_pfn等于两数取小(block_end_pfn, zone_end_pfn(zone))
1555  如果非Check that the whole (or subset of) a pageblock given by the interval of* [start_pfn, end_pfn) is valid and within the same zone, before scanning it* with the migration of free compaction scanner则返回
1561  contiguous = true
调用者
名称描述
page_alloc_init_late