Function report |
Source Code:mm\shuffle.c |
Create Date:2022-07-28 15:08:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:For two pages to be swapped in the shuffle, they must be free (on a* 'free_area' lru), have the same order, and have the same migratetype.
Proto:static struct page *__meminit shuffle_valid_page(unsigned long pfn, int order)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | pfn | |
int | order |
71 | If Not pfn_valid_within(pfn) Then Return NULL |
75 | If Not pfn_present(pfn) Then Return NULL |
79 | page = pfn_to_page(pfn) |
80 | If Not PageBuddy() indicates that the page is free and in the buddy system* (see mm/page_alloc.c). Then Return NULL |
87 | If page_order(page) != order Then Return NULL |
90 | Return page |
Name | Describe |
---|---|
__shuffle_zone |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |