Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:03:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__free_pages_ok
Proto:static void __free_pages_ok(struct page *page, unsigned int order)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
unsigned int | order |
1418 | pfn = page_to_pfn(page) |
1420 | If Not free_pages_prepare(page, order, true) Then Return |
1423 | migratetype = get_pfnblock_migratetype(page, pfn) |
1424 | local_irq_save(flags) |
1425 | __count_vm_events(PGFREE, 1 << order) |
1426 | free_one_page(page_zone(page), page, pfn, order, migratetype) |
1427 | local_irq_restore(flags) |
Name | Describe |
---|---|
free_compound_page | Higher-order pages are called "compound pages". They are structured thusly:* The first PAGE_SIZE page is called the "head page" and have PG_head set.* The remaining PAGE_SIZE pages are called "tail pages". PageTail() is encoded |
free_the_page |
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 |