函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__free_pages_memory

函数原型:static void __init __free_pages_memory(unsigned long start, unsigned long end)

返回类型:void

参数:

类型参数名称
unsigned longstart
unsigned longend
1935 start小于end循环
1936  order等于两数取小(Free memory management - zoned buddy allocator. - 1UL, 在字中找到第一个指定位)
1938 start加1UL左移order位的值大于end循环
1939  order自减
1941  memblock_free_pages(pfn_to_page(start), start, order)
1943  start加等于1UL左移order
调用者
名称描述
__free_memory_core