Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mmzone.h Create Date:2022-07-28 05:37:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:zone_to_nid

Proto:static inline int zone_to_nid(struct zone *zone)

Type:int

Parameter:

TypeParameterName
struct zone *zone
899  Return node
Caller
NameDescribe
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.