Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__free_pages

Proto:void __free_pages(struct page *page, unsigned int order)

Type:void

Parameter:

TypeParameterName
struct page *page
unsigned intorder
4798  If Drop a ref, return true if the refcount fell to zero (the page has no users) Then free_the_page(page, order)
Caller
NameDescribe
do_alloc_pages_order
kvmclock_init_mem
dma_free_contiguousdma_free_contiguous() - release allocated pages*@dev: Pointer to device for which the pages were allocated
kimage_free_pages
__vunmap
__free_pages_core
init_cma_reserved_pageblockFree whole pageblock and set its migration type to MIGRATE_CMA.
__alloc_pages_nodemaskThis is the 'heart' of the zoned buddy allocator.
free_pages
update_and_free_page
slob_free_pages
kfree
kmem_getpagesInterface to system's page allocator. No need to hold the* kmem_cache_node ->list_lock.* If we requested dmaable memory, we will get it. Even if we* did not request dmaable memory, we might get it, but that* would be relatively rare and ignorable.
kmem_freepagesInterface to system's page release.
alloc_slab_pageSlab allocation and freeing
__free_slab
build_detached_freelistThis function progressively scans the array with free objects (with* a limited look ahead) and extract objects belonging to the same* page. It builds a detached freelist directly within the given* page/objects. This can happen without any need for
kfree
get_huge_zero_page
shrink_huge_zero_page_scan
unset_migratetype_isolate
dma_free_contiguous