Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Make isolated pages available again.

Proto:void undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn, unsigned migratetype)

Type:void

Parameter:

TypeParameterName
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  When pfn < end_pfn cycle
246  page = __first_valid_page(pfn, pageblock_nr_pages)
247  If Not page || Not is_migrate_isolate_page(page) Then Continue
249  unset_migratetype_isolate(page, migratetype)