Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:05:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Update NUMA hit/miss statistics* Must be called with interrupts disabled.
Proto:static inline void zone_statistics(struct zone *preferred_zone, struct zone *z)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct zone * | preferred_zone | |
struct zone * | z |
3187 | If Not static_branch_likely( & vm_numa_stat_key) Then Return |
3190 | If zone_to_nid(z) != Returns the number of the current Node. Then local_stat = allocation from other node |
3193 | If zone_to_nid(z) == zone_to_nid(preferred_zone) Then __inc_numa_state(z, allocated in intended node ) |
3195 | Else |
3199 | __inc_numa_state(z, local_stat) |
Name | Describe |
---|---|
rmqueue_pcplist | Lock and remove page from the per-cpu list |
rmqueue | Allocate a page from the given zone. Use pcplists for order-0 allocations. |
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 |