Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:04:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:free_unref_page_commit
Proto:static void free_unref_page_commit(struct page *page, unsigned long pfn)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
unsigned long | pfn |
3025 | migratetype = A cached value of the page's pageblock's migratetype, used when the page is* put on a pcplist |
3026 | __count_vm_event(PGFREE) |
3035 | If migratetype >= MIGRATE_PCPTYPES Then |
3043 | pcp = & ({ |
3043 | })->pcp |
3045 | number of pages in the list ++ |
3046 | If number of pages in the list >= high watermark, emptying needed Then |
3047 | batch = READ_ONCE( chunk size for buddy add/remove ) |
Name | Describe |
---|---|
free_unref_page | Free a 0-order page |
free_unref_page_list | Free a list of 0-order pages |
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 |