函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mmzone.h Create Date:2022-07-27 06:40:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:zone_to_nid

函数原型:static inline int zone_to_nid(struct zone *zone)

返回类型:int

参数:

类型参数名称
struct zone *zone
899  返回:node
调用者
名称描述
move_freepagesMove the free pages in a range to the free lists of the requested type.* Note that start_page and end_pages are not aligned on a pageblock* boundary. If alignment is required, use move_freepages_block()
zone_statisticsUpdate NUMA hit/miss statistics* Must be called with interrupts disabled.
zone_allows_reclaim
get_page_from_freelistget_page_from_freelist goes through the zonelist trying to allocate* a page.
show_node
show_free_areasShow free area list (used inside shift_scroll-lock stuff)* We also calculate the percentage fragmentation
dequeue_huge_page_nodemask
mempolicy_slab_nodeDepending on the memory policy provide a node from which to allocate the* next slab entry.
mpol_misplacedmpol_misplaced - check whether current page node is valid in policy*@page: page to be checked*@vma: vm area where page mapped*@addr: virtual address where page mapped* Lookup current policy node id for vma,addr and "compare to" page's* node id
fallback_allocFallback function if there was no memory available and no objects on a* certain node and fall back is permitted. First we scan all the* available node for available objects. If that fails then we* perform an allocation without specifying a node
get_any_partialGet a page from somewhere. Search in increasing NUMA distances.
zonelist_node_idx