Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:04:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static void drain_pages_zone(unsigned int cpu, struct zone *zone)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | cpu | |
struct zone * | zone |
2814 | local_irq_save(flags) |
2815 | pset = per_cpu_ptr(pageset, cpu) |
2820 | local_irq_restore(flags) |
Name | Describe |
---|---|
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. |
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 |