Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:khugepaged

Proto:static int khugepaged(void *none)

Type:int

Parameter:

TypeParameterName
void *none
2124  set_freezable - make %current freezable* Mark %current freezable and enter refrigerator if necessary.
2125  set_user_nice(current process, MAX_NICE)
2127  When Not 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(). cycle
2128  khugepaged_do_scan()
2129  khugepaged_wait_work()
2132  spin_lock( & khugepaged_mm_lock)
2133  mm_slot = mm_slot
2134  mm_slot = NULL
2135  If mm_slot Then collect_mm_slot(mm_slot)
2137  spin_unlock( & khugepaged_mm_lock)
2138  Return 0