Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:17:33 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Caller has made sure that the swap device corresponding to entry* is still around or has not been recycled.
Proto:void swap_free(swp_entry_t entry)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| swp_entry_t | entry |
| 1317 | p = _swap_info_get(entry) |
| 1318 | If p Then __swap_entry_free(p, entry, 1) |
| Name | Describe |
|---|---|
| free_all_swap_pages | _all_swap_pages - free swap pages allocated for saving image data.* It also frees the extents used to register which swap entries had been* allocated. |
| unuse_pte | No need to decide whether this PTE shares the swap entry with others,* just let do_wp_page work it out if a write is requested later - to* force COW, vm_page_prot omits write permission from any private vma. |
| 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 |