Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:split_map_pages

Proto:static void split_map_pages(struct list_head *list)

Type:void

Parameter:

TypeParameterName
struct list_head *list
73  LIST_HEAD(tmp_list)
76  deletes entry from list
78  order = page_private(page)
79  nr_pages = 1 << order
81  post_alloc_hook(page, order, ZONE_MOVABLE allowed )
82  If order Then split_page takes a non-compound higher-order page, and splits it into* n (1<
85  When i < nr_pages cycle
86  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
87  page++
91  list_splice - join two lists, this is designed for stacks*@list: the new list to add.*@head: the place to add it in the first list.
Caller
NameDescribe
isolate_freepages_rangesolate_freepages_range() - isolate free pages