函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:page_zonenum

函数原型:static inline enum zone_type page_zonenum(const struct page *page)

返回类型:enum zone_type

参数:

类型参数名称
const struct page *page
937  返回:体系结构无关页的属性右移ZONES_PGSHIFT位按位与ZONES_MASK
调用者
名称描述
isolate_lru_pagespgdat->lru_lock is heavily contended. Some of the functions that* shrink the lists perform better by taking out a batch of pages* and working on them outside the LRU lock.* For pagecache intensive workloads, this function is the hottest
move_pages_to_lruThis moves pages from @list to corresponding LRU list.* We move them the other way if the page is referenced by one or more* processes, from rmap.* If the pages are mostly unmapped, the processing is fast and it is
rmqueue_pcplistLock and remove page from the per-cpu list
rmqueueAllocate a page from the given zone. Use pcplists for order-0 allocations.
page_zone
add_page_to_lru_list
add_page_to_lru_list_tail
del_page_from_lru_list