函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-27 17:21:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__free_slab

函数原型:static void __free_slab(struct kmem_cache *s, struct page *page)

返回类型:void

参数:

类型参数名称
struct kmem_cache *s
struct page *page
1713  order等于compound_order(page)
1714  pages等于1左移order
1716  如果Used for retrieving partial slabs, etc. 按位与DEBUG: Perform (expensive) checks on alloc/free
1719  slab_pad_check(s, page)
1720  Loop over all objects in a slab (p, s, page_address(page), objects)
1722  check_object(s, page, p, SLUB_RED_INACTIVE)
1725  __ClearPageSlabPfmemalloc(page)
1726  __ClearPageSlab(page)
1728  See page-flags.h for PAGE_MAPPING_FLAGS = NULL
1729  如果reclaim_statereclaimed_slab加等于pages
1731  uncharge_slab_page(page, order, s)
1732  __free_pages(page, order)
调用者
名称描述
rcu_free_slab
free_slab