| Function report | 
| Source Code: include\linux\mm.h | Create Date:2022-07-28 05:43:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Drop a ref, return true if the refcount fell to zero (the page has no users)
Proto:static inline int put_page_testzero(struct page *page)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page * | page | 
| 592 | VM_BUG_ON_PAGE(page_ref_count(page) == 0, page) | 
| 593 | Return page_ref_dec_and_test(page) | 
| Name | Describe | 
|---|---|
| release_pages | lease_pages - batched put_page()*@pages: array of pages to release*@nr: number of pages* Decrement the reference count on all the pages in @pages. If it* fell to zero, remove the page from the LRU and free it. | 
| shrink_page_list | shrink_page_list() returns the number of reclaimed pages | 
| move_pages_to_lru | This moves pages from @list to corresponding LRU list.* We move them the other way if the page is referenced by one or more* processes, from rmap.* If the pages are mostly unmapped, the processing is fast and it is | 
| __free_pages | |
| page_frag_free | Frees a page fragment allocated out of either a compound or order 0 page. | 
| gather_surplus_pages | Increase the hugetlb pool such that it can accommodate a reservation* of size 'delta'. | 
| io_mem_free | 
| 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 |