Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:04:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Free a list of 0-order pages
Proto:void free_unref_page_list(struct list_head *list)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct list_head * | list |
3075 | batch_count = 0 |
3079 | pfn = page_to_pfn(page) |
3080 | If Not free_unref_page_prepare(page, pfn) Then deletes entry from list |
3082 | set_page_private(page, pfn) |
3085 | local_irq_save(flags) |
3087 | pfn = page_private(page) |
3089 | set_page_private(page, 0) |
3091 | free_unref_page_commit(page, pfn) |
3097 | If ++batch_count == SWAP_CLUSTER_MAX Then |
3103 | local_irq_restore(flags) |
Name | Describe |
---|---|
shrink_page_list | shrink_page_list() returns the number of reclaimed pages |
shrink_inactive_list | shrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages |
shrink_active_list |
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 |