Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Abort the in progress add operation. The adds_in_progress field* of the resv_map keeps track of the operations in progress between* calls to region_chg and region_add. Operations are sometimes* aborted after the call to region_chg

Proto:static void region_abort(struct resv_map *resv, long f, long t)

Type:void

Parameter:

TypeParameterName
struct resv_map *resv
longf
longt
419  spin_lock( & lock)
420  VM_BUG_ON(!region_cache_count)
421  adds_in_progress--
422  spin_unlock( & lock)
Caller
NameDescribe
__vma_reservation_common
hugetlb_reserve_pages