Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-28 15:47:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:order_objects

Proto:static inline unsigned int order_objects(unsigned int order, unsigned int size)

Type:unsigned int

Parameter:

TypeParameterName
unsigned intorder
unsigned intsize
324  Return (PAGE_SIZE << order) / size
Caller
NameDescribe
oo_make
slab_orderCalculate 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
calculate_order