Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:16:29 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:unlock_cluster
Proto:static inline void unlock_cluster(struct swap_cluster_info *ci)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct swap_cluster_info * | ci |
| 353 | If ci Then spin_unlock( & Protect swap_cluster_info fields* and swap_info_struct->swap_map* elements correspond to the swap* cluster) |
| Name | Describe |
|---|---|
| unlock_cluster_or_swap_info | |
| swap_do_scheduled_discard | Doing discard actually. After a cluster discard is finished, the cluster* will be added to free cluster list. caller should hold si->lock. |
| scan_swap_map_try_ssd_cluster | Try to get a swap entry from current cpu's swap entry pool (a cluster). This* might involve allocating a new cluster for current CPU too. |
| scan_swap_map_slots | |
| swap_alloc_cluster | |
| swap_free_cluster | |
| swap_entry_free | |
| page_trans_huge_map_swapcount | |
| add_swap_count_continuation | add_swap_count_continuation - called when a swap count is duplicated* beyond SWAP_MAP_MAX, it allocates a new page and links that to the entry's* page of the original vmalloc'ed swap_map, to hold the continuation count |
| 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 |