函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Make isolated pages available again.

函数原型:void undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn, unsigned migratetype)

返回类型:void

参数:

类型参数名称
unsigned longstart_pfn
unsigned longend_pfn
unsignedmigratetype
240  BUG_ON(!IS_ALIGNED(start_pfn, pageblock_nr_pages))
241  BUG_ON(!IS_ALIGNED(end_pfn, pageblock_nr_pages))
243 pfn小于end_pfn循环
246  page等于__first_valid_page(pfn, pageblock_nr_pages)
247  如果非page或非is_migrate_isolate_page(page)则继续下一循环
249  unset_migratetype_isolate(page, migratetype)