Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Get a partial page, lock it and return it.

Proto:static void *get_partial(struct kmem_cache *s, gfp_t flags, int node, struct kmem_cache_cpu *c)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *s
gfp_tflags
intnode
struct kmem_cache_cpu *c
1953  searchnode = node
1955  If node == NUMA_NO_NODE Then searchnode = Returns the number of the nearest Node with memory
1957  Else if Not node_present_pages(node) Then searchnode = node_to_mem_node(node)
1960  object = Try to allocate a partial slab from a specific node.
1961  If object || node != NUMA_NO_NODE Then Return object
1964  Return Get a page from somewhere. Search in increasing NUMA distances.
Caller
NameDescribe
new_slab_objects