| Function report | 
| Source Code: mm\zsmalloc.c | Create Date:2022-07-28 16:28:26 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:zs_destroy_pool
Proto:void zs_destroy_pool(struct zs_pool *pool)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct zs_pool * | pool | 
| 2521 | zs_unregister_shrinker(pool) | 
| 2522 | zs_unregister_migration(pool) | 
| 2523 | zs_pool_stat_destroy(pool) | 
| 2525 | When i < ZS_SIZE_CLASSES cycle | 
| 2527 | class = size_class[i] | 
| 2529 | If Not class Then Continue | 
| 2535 | When fg < NR_ZS_FULLNESS cycle | 
| 2536 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then | 
| 2537 | pr_info("Freeing non-empty class with size %db, fullness group %d\n", * Size of objects stored in this class. Must be multiple * of ZS_ALIGN., fg) | 
| 2544 | destroy_cache(pool) | 
| Name | Describe | 
|---|---|
| zs_zpool_destroy | |
| zs_create_pool | zs_create_pool - Creates an allocation pool to work from.*@name: pool name to be created* This function must be called before anything when using* the zsmalloc allocator.* On success, a pointer to the newly created pool is returned,* otherwise NULL. | 
| 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 |