函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:khugepaged

函数原型:static int khugepaged(void *none)

返回类型:int

参数:

类型参数名称
void *none
2124  set_freezable - make %current freezable* Mark %current freezable and enter refrigerator if necessary.
2125  set_user_nice(当前进程, MAX_NICE)
2127  当非kthread_should_stop - should this kthread return now?* When someone calls kthread_stop() on your kthread, it will be woken* and this will return true. You should then return, and your return* value will be passed through to kthread_stop().循环
2128  khugepaged_do_scan()
2129  khugepaged_wait_work()
2132  加自旋锁
2133  mm_slot等于mm_slot
2134  mm_slot = NULL
2135  如果mm_slotcollect_mm_slot(mm_slot)
2137  自旋锁解锁
2138  返回:0