Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:free_one_page

Proto:static void free_one_page(struct zone *zone, struct page *page, unsigned long pfn, unsigned int order, int migratetype)

Type:void

Parameter:

TypeParameterName
struct zone *zone
struct page *page
unsigned longpfn
unsigned intorder
intmigratetype
1331  spin_lock( & Primarily protects free_area )
1332  If Value for the false possibility is greater at compile time(has_isolate_pageblock(zone) || is_migrate_isolate(migratetype)) Then
1334  migratetype = get_pfnblock_migratetype(page, pfn)
1336  Freeing function for a buddy system allocator
1337  spin_unlock( & Primarily protects free_area )
Caller
NameDescribe
__free_pages_ok
free_unref_page_commit