Function report |
Source Code:mm\slub.c |
Create Date:2022-07-28 15:48:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Calculate the order of allocation given an slab object size.* The order of allocation has significant impact on performance and other* system components. Generally order 0 allocations should be preferred since
Proto:static inline unsigned int slab_order(unsigned int size, unsigned int min_objects, unsigned int max_order, unsigned int fract_leftover)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | size | |
unsigned int | min_objects | |
unsigned int | max_order | |
unsigned int | fract_leftover |
3265 | If rem <= slab_size / fract_leftover Then Break |
3269 | Return order |
Name | Describe |
---|---|
calculate_order |
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 |