Function report |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-28 16:27:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:zs_free
Proto:void zs_free(struct zs_pool *pool, unsigned long handle)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct zs_pool * | pool | |
| unsigned long | handle |
| 1551 | If Value for the false possibility is greater at compile time(!handle) Then Return |
| 1555 | obj = handle_to_obj(handle) |
| 1557 | zspage = get_zspage(f_page) |
| 1559 | migrate_read_lock(zspage) |
| 1561 | get_zspage_mapping(zspage, & class_idx, & fullness) |
| 1562 | class = size_class[class_idx] |
| 1568 | migrate_read_unlock(zspage) |
| 1569 | Go to out |
| 1572 | isolated = is_zspage_isolated(zspage) |
| 1573 | migrate_read_unlock(zspage) |
| 1575 | If Value is more likely to compile time(!isolated) Then free_zspage(pool, class, zspage) |
| 1577 | out : |
| 1579 | spin_unlock( & lock) |
| 1581 | cache_free_handle(pool, handle) |
| Name | Describe |
|---|---|
| zs_zpool_free |
| 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 |