Function report |
Source Code:mm\swapfile.c |
Create Date:2022-07-28 15:16:31 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cluster_list_empty
Proto:static inline bool cluster_list_empty(struct swap_cluster_list *list)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct swap_cluster_list * | list |
| 386 | Return cluster_is_null( & head) |
| Name | Describe |
|---|---|
| cluster_list_add_tail | |
| 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_ssd_cluster_conflict | It's possible scan_swap_map() uses a free cluster in the middle of free* cluster list. Avoiding such abuse to avoid list corruption. |
| 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. |
| swap_alloc_cluster |
| 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 |