Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:khugepaged_wait_work

Proto:static void khugepaged_wait_work(void)

Type:void

Parameter:Nothing

2102  If khugepaged_has_work() Then
2103  scan_sleep_jiffies = msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than
2106  If Not scan_sleep_jiffies Then Return
2109  khugepaged_sleep_expire = jiffies + scan_sleep_jiffies
2110  like wait_event_timeout() -- except it uses TASK_INTERRUPTIBLE to avoid* increasing load and is freezable.(khugepaged_wait, khugepaged_should_wakeup(), scan_sleep_jiffies)
2113  Return
2116  If khugepaged_enabled() Then wait_event_freezable - sleep (or freeze) until a condition gets true*@wq_head: the waitqueue to wait on*@condition: a C expression for the event to wait for* The process is put to sleep (TASK_INTERRUPTIBLE -- so as not to contribute(khugepaged_wait, khugepaged_wait_event())
Caller
NameDescribe
khugepaged