Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_zone_contiguous

Proto:void set_zone_contiguous(struct zone *zone)

Type:void

Parameter:

TypeParameterName
struct zone *zone
1545  block_start_pfn = zone_start_pfn == zone_start_paddr >> PAGE_SHIFT
1548  block_end_pfn = @a is a power of 2 value (block_start_pfn + 1, pageblock_nr_pages)
1549  When block_start_pfn < zone_end_pfn(zone) cycle
1553  block_end_pfn = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(block_end_pfn, zone_end_pfn(zone))
1555  If Not 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 Then Return
1561  contiguous = true
Caller
NameDescribe
page_alloc_init_late