Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:04:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Called from the vmstat counter updater to drain pagesets of this* currently executing processor on remote nodes after they have* expired.* Note that this function must be called with the thread pinned to* a single processor.
Proto:void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct zone * | zone | |
struct per_cpu_pages * | pcp |
2792 | local_irq_save(flags) |
2793 | batch = READ_ONCE( chunk size for buddy add/remove ) |
2794 | to_drain = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value( number of pages in the list , batch) |
2797 | local_irq_restore(flags) |
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 |