Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This function populates subtree_max_size from bottom to upper* levels starting from VA point

Proto:static __always_inline void augment_tree_propagate_from(struct vmap_area *va)

Type:void

Parameter:

TypeParameterName
struct vmap_area *va
627  node = address sorted rbtree
630  When node cycle
631  va = rb_entry(node, structvmap_area, rb_node)
632  new_va_sub_max_size = Gets called when remove the node and rotate.
640  If in "free" tree == new_va_sub_max_size Then Break
643  in "free" tree = new_va_sub_max_size
644  node = rb_parent( & address sorted rbtree )
Caller
NameDescribe
insert_vmap_area_augment
merge_or_add_vmap_areaMerge de-allocated chunk of VA memory with previous* and next free blocks. If coalesce is not done a new* free area is inserted. If VA has been merged, it is* freed.
adjust_va_to_fit_type