函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\khugepaged.c Create Date:2022-07-27 17:41:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:khugepaged_wait_work

函数原型:static void khugepaged_wait_work(void)

返回类型:void

参数:

2102  如果khugepaged_has_work()则
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  如果非scan_sleep_jiffies则返回
2109  khugepaged_sleep_expire等于jiffiesscan_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  返回
2116  如果khugepaged_enabled()则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())
调用者
名称描述
khugepaged