Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__free_slab

Proto:static void __free_slab(struct kmem_cache *s, struct page *page)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *s
struct page *page
1713  order = compound_order(page)
1714  pages = 1 << order
1716  If Used for retrieving partial slabs, etc. & DEBUG: Perform (expensive) checks on alloc/free Then
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  If reclaim_state Then reclaimed_slab += pages
1731  uncharge_slab_page(page, order, s)
1732  __free_pages(page, order)
Caller
NameDescribe
rcu_free_slab
free_slab