函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-27 17:22:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Check if the objects in a per cpu structure fit numa* locality expectations.

函数原型:static inline int node_match(struct page *page, int node)

返回类型:int

参数:

类型参数名称
struct page *page
intnode
2373  如果node不等于NUMA_NO_NODEpage_to_nid(page)不等于node则返回:0
2376  返回:1
调用者
名称描述
___slab_allocSlow path. The lockless freelist is empty or we need to perform* debugging duties.* Processing is still very fast if new objects have been freed to the* regular freelist. In that case we simply take over the regular freelist
slab_alloc_nodeInlined fastpath so that allocation functions (kmalloc, kmem_cache_alloc)* have the fastpath folded into their functions. So no function call* overhead for requests that can be satisfied on the fastpath.