函数逻辑报告 |
Source Code:mm\percpu.c |
Create Date:2022-07-27 15:51:14 |
Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pcpu_chunk_populated - post-population bookkeeping*@chunk: pcpu_chunk which got populated*@page_start: the start page*@page_end: the end page* Pages in [@page_start,@page_end) have been populated to @chunk. Update* the bookkeeping information accordingly
函数原型:static void pcpu_chunk_populated(struct pcpu_chunk *chunk, int page_start, int page_end)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pcpu_chunk * | chunk | |
int | page_start | |
int | page_end |
1475 | nr等于page_end减page_start |
1477 | lockdep_assert_held( & pcpu_lock) |
1479 | bitmap_set( populated bitmap , page_start, nr) |
1480 | # of populated pages 加等于nr |
名称 | 描述 |
---|---|
pcpu_alloc | pcpu_alloc - the percpu allocator*@size: size of area to allocate in bytes*@align: alignment of area (max PAGE_SIZE)*@reserved: allocate from the reserved chunk if available*@gfp: allocation flags* Allocate percpu area of @size bytes aligned at @align |
pcpu_balance_workfn | Balance work is used to populate or destroy chunks asynchronously. We* try to keep the number of populated free pages between* PCPU_EMPTY_POP_PAGES_LOW and HIGH for atomic allocations and at most one* empty chunk. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |