Function report |
Source Code:mm\ksm.c |
Create Date:2022-07-28 15:41:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ksm_scan_thread
Proto:static int ksm_scan_thread(void *nothing)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | nothing |
2404 | set_user_nice(current process, 5) |
2407 | mutex_lock( & ksm_thread_mutex) |
2408 | wait_while_offlining() |
2409 | If ksmd_should_run() Then ksm_do_scan - the ksm scanner main worker function.*@scan_npages: number of pages we want to scan before we return. |
2413 | try_to_freeze() |
2415 | If ksmd_should_run() Then |
2420 | Else |
2425 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |