Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmpressure_init() - Initialize vmpressure control structure*@vmpr: Structure to be initialized* This function should be called on every allocated vmpressure structure* before any usage.

Proto:void vmpressure_init(struct vmpressure *vmpr)

Type:void

Parameter:

TypeParameterName
struct vmpressure *vmpr
451  Process spin lock initialization( & The lock is used to keep the scanned/reclaimed above in sync. )
452  mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & Have to grab the lock on events traversal or modifications. )
453  Initialization list head
454  INIT_WORK( & work, vmpressure_work_fn)