函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__build_all_zonelists

函数原型:static void __build_all_zonelists(void *data)

返回类型:void

参数:

类型参数名称
void *data
5724  int __maybe_unused cpu
5725  self等于data
5726  DEFINE_SPINLOCK(lock)
5728  加自旋锁
5731  memset(node_load, 0, node_load的长度)
5738  如果self且非NUMA节点状态(全局结点ID)则
5739  Build zonelists ordered by zone and nodes within zones.* This results in conserving DMA zone[s] until all Normal memory is* exhausted, but results in overflowing to remote node while memory* may still exist in local DMA zone.
5740  否则
5761  自旋锁解锁
调用者
名称描述
build_all_zonelists_init
build_all_zonelists建立内存管理节点(ZONE)表