Function report |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-28 16:28:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Based on the number of unused allocated objects calculate* and return the number of pages that we can free.
Proto:static unsigned long zs_can_compact(struct size_class *class)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct size_class * | class |
2256 | If obj_allocated <= obj_used Then Return 0 |
2259 | obj_wasted = obj_allocated - obj_used |
2260 | obj_wasted /= objs_per_zspage |
Name | Describe |
---|---|
__zs_compact | |
zs_shrinker_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 |