Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:17:24 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:swap_info_get
Proto:static struct swap_info_struct *swap_info_get(swp_entry_t entry)
Type:struct swap_info_struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| swp_entry_t | entry |
| 1155 | p = _swap_info_get(entry) |
| 1158 | Return p |
| Name | Describe |
|---|---|
| reuse_swap_page | We can write to an anon page without COW if there are no other references* to it. And as a side-effect, free up its swap: because the old content* on disk will never be read, and seeking back there to write new content |
| 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 |