函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:35:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Free a list of 0-order pages
函数原型:void free_unref_page_list(struct list_head *list)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct list_head * | list |
3075 | batch_count等于0 |
3079 | pfn等于page_to_pfn(page) |
3080 | 如果非free_unref_page_prepare(page, pfn)则删除链表项 |
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 | 如果batch_count先自加恒等于SWAP_CLUSTER_MAX则 |
3103 | local_irq_restore(flags) |
名称 | 描述 |
---|---|
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 | |
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |