Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns the number of the nearest Node with memory

Proto:static inline int numa_mem_id(void)

Type:int

Parameter:Nothing

179  Return Returns the number of the current Node.
Caller
NameDescribe
alloc_buddy_huge_page
mempolicy_slab_nodeDepending on the memory policy provide a node from which to allocate the* next slab entry.
cache_free_alien
setup_cpu_cache
do_drain
cache_alloc_refill
alternate_node_allocTry allocating on another node if PFA_SPREAD_SLAB is a mempolicy is set.* If we are in_interrupt, then process context, including cpusets and* mempolicy, may not apply and should not be used for allocation policy.
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
slab_alloc_node
__do_cache_alloc
cache_flusharray
cache_reapache_reap - Reclaim memory from caches
get_partialGet a partial page, lock it and return it.