Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mmzone.h Create Date:2022-07-28 05:37:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Used for pages which are on another list

Proto:static inline void move_to_free_area(struct page *page, struct free_area *area, int migratetype)

Type:void

Parameter:

TypeParameterName
struct page *page
struct free_area *area
intmigratetype
135  list_move - delete from one list and add as another's head*@list: the entry to move*@head: the head that will precede our entry
Caller
NameDescribe
move_freepagesMove the free pages in a range to the free lists of the requested type.* Note that start_page and end_pages are not aligned on a pageblock* boundary. If alignment is required, use move_freepages_block()
steal_suitable_fallbackThis function implements actual steal behaviour. If order is large enough,* we can steal whole pageblock. If not, we first move freepages in this* pageblock to our migratetype and determine how many already-allocated pages