| Function report | 
| Source Code: mm\ksm.c | Create Date:2022-07-28 15:41:45 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ksm_do_scan - the ksm scanner main worker function.*@scan_npages: number of pages we want to scan before we return.
Proto:static void ksm_do_scan(unsigned int scan_npages)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | scan_npages | 
| 2384 | When scan_npages-- && Value is more likely to compile time(!freezing(current process)) cycle | 
| 2385 | cond_resched() | 
| 2386 | rmap_item = scan_get_next_rmap_item( & page) | 
| 2387 | If Not rmap_item Then Return | 
| Name | Describe | 
|---|---|
| ksm_scan_thread | 
| 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 |