Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__first_valid_page

Proto:static inline struct page *__first_valid_page(unsigned long pfn, unsigned long nr_pages)

Type:struct page

Parameter:

TypeParameterName
unsigned longpfn
unsigned longnr_pages
151  When i < nr_pages cycle
154  page = Return page for the valid pfn only if the page is online. All pfn* walkers which rely on the fully initialized page->flags and others* should use this rather than pfn_valid && pfn_to_page(pfn + i)
155  If Not page Then Continue
157  Return page
159  Return NULL
Caller
NameDescribe
start_isolate_page_rangestart_isolate_page_range() - make page-allocation-type of range of pages to* be MIGRATE_ISOLATE.*@start_pfn: The lower PFN of the range to be isolated.*@end_pfn: The upper PFN of the range to be isolated.
undo_isolate_page_rangeMake isolated pages available again.
test_pages_isolatedCaller should ensure that requested range is in a single zone