函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:34:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Drain pcplists of the indicated processor and zone.* The processor must either be the current processor and the* thread pinned to the current processor or a processor that* is not online.
函数原型:static void drain_pages_zone(unsigned int cpu, struct zone *zone)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | cpu | |
struct zone * | zone |
2814 | local_irq_save(flags) |
2815 | pset等于per_cpu_ptr(CPU热/冷页帧列表, cpu) |
2820 | local_irq_restore(flags) |
名称 | 描述 |
---|---|
drain_pages | Drain pcplists of all zones on the indicated processor.* The processor must either be the current processor and the* thread pinned to the current processor or a processor that* is not online. |
drain_local_pages | Spill all of this CPU's per-cpu pages back into the buddy allocator.* The CPU has to be pinned. When zone parameter is non-NULL, spill just* the single zone's pages. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |