Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-28 15:49:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kmalloc_large_node

Proto:static void *kmalloc_large_node(size_t size, gfp_t flags, int node)

Type:void

Parameter:

TypeParameterName
size_tsize
gfp_tflags
intnode
3813  void * ptr = NULL
3814  order = get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory
3816  flags |= __GFP_COMP
3817  page = Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online.
3818  If page Then
3819  ptr = page_address(page)
3820  mod_node_page_state(page_pgdat(page), NR_SLAB_UNRECLAIMABLE, 1 << order)
3824  Return Hooks for other subsystems that check memory allocations. In a typical* production configuration these hooks all should produce no code at all.
Caller
NameDescribe
__kmalloc_node
__kmalloc_node_track_caller