函数逻辑报告 | 
Source Code:mm\huge_memory.c | 
Create Date:2022-07-27 17:37:16 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Racy check whether the huge page can be split
函数原型:bool can_split_huge_page(struct page *page, int *pextra_pins)
返回类型:bool
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct page * | page | |
| int * | pextra_pins | 
| 2667 | 如果PageAnon(page)则extra_pins等于如果PageSwapCache(page)则HPAGE_PMD_NR否则0 | 
| 2669 | 否则extra_pins等于HPAGE_PMD_NR | 
| 2671 | 如果pextra_pins则pextra_pins等于extra_pins | 
| 2673 | 返回:total_mapcount(page)恒等于page_count(page)减extra_pins减1 | 
| 名称 | 描述 | 
|---|---|
| split_huge_page_to_list | This function splits huge page into normal pages. @page can point to any* subpage of huge page to split. Split doesn't change the position of @page.* Only caller must hold pin on the @page, otherwise split fails with -EBUSY.* The huge page must be locked. | 
| shrink_page_list | shrink_page_list() returns the number of reclaimed pages | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |