Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:06:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Show free area list (used inside shift_scroll-lock stuff)* We also calculate the percentage fragmentation
Proto:void show_free_areas(unsigned int filter, nodemask_t *nodemask)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | filter | |
nodemask_t * | nodemask |
5227 | free_pcp = 0 |
5232 | do nothing (zone) |
5233 | If Determine whether the node should be displayed or not, depending on whether* SHOW_MEM_FILTER_NODES was passed to show_free_areas(). Then Continue |
5236 | for_each_online_cpu(cpu) |
5237 | free_pcp += ({ |
5267 | If Determine whether the node should be displayed or not, depending on whether* SHOW_MEM_FILTER_NODES was passed to show_free_areas(). Then Continue |
5315 | do nothing (zone) |
5318 | If Determine whether the node should be displayed or not, depending on whether* SHOW_MEM_FILTER_NODES was passed to show_free_areas(). Then Continue |
5321 | free_pcp = 0 |
5322 | for_each_online_cpu(cpu) |
5323 | free_pcp += ({ |
5376 | do nothing (zone) |
5378 | total = 0 |
5381 | If Determine whether the node should be displayed or not, depending on whether* SHOW_MEM_FILTER_NODES was passed to show_free_areas(). Then Continue |
5386 | spin_lock_irqsave( & Primarily protects free_area , flags) |
5395 | When type < MIGRATE_TYPES cycle |
5404 | If nr[order] Then show_migration_types(types[order]) |
5410 | hugetlb_show_meminfo() |
5414 | show_swap_cache_info() |
Name | Describe |
---|---|
do_mmap | handle mapping creation for uClinux |
show_mem | |
do_mmap_private | set up a private mapping or an anonymous shared mapping |
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 |