| Function report | 
| Source Code: mm\swapfile.c | Create Date:2022-07-28 15:18:38 | 
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:After a successful try_to_unuse, if no swap is now in use, we know* we can empty the mmlist. swap_lock must be held on entry and exit.* Note that mmlist_lock nests inside swap_lock, and an mm must be
Proto:static void drain_mmlist(void)
Type:void
Parameter:Nothing
| 2242 | When type < nr_swapfiles cycle If umber of those currently in use Then | 
| 2244 | Return | 
| 2245 | spin_lock( & mmlist_lock) | 
| 2248 | spin_unlock( & mmlist_lock) | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE1 | 
| 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 |