Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:16:15 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rns 1 if swap entry is freed
Proto:static int __try_to_reclaim_swap(struct swap_info_struct *si, unsigned long offset, unsigned long flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct swap_info_struct * | si | |
| unsigned long | offset | |
| unsigned long | flags |
| 132 | ret = 0 |
| 135 | If Not page Then Return 0 |
| 144 | If Return true if the page was successfully locked Then |
| 152 | Return ret |
| Name | Describe |
|---|---|
| scan_swap_map_slots | |
| free_swap_and_cache | Free the swap entry like above, but also try to* free the page cache entry if it is the last user. |
| 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 |