函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:We do not maintain differentials in a single processor configuration.* The functions directly modify the zone and global counters.

函数原型:static inline void __mod_zone_page_state(struct zone *zone, enum zone_stat_item item, long delta)

返回类型:void

参数:

类型参数名称
struct zone *zone
enum zone_stat_itemitem
longdelta
295  zone_page_state_add(delta, zone, item)
调用者
名称描述
lru_cache_add_active_or_unevictablelru_cache_add_active_or_unevictable*@page: the page to be added to LRU*@vma: vma in which page is mapped for determining reclaimability* Place @page on the active or unevictable LRU list, depending on its* evictability
munlock_vma_pagemunlock_vma_page - munlock a vma page*@page: page to be unlocked, either a normal page or THP page head* returns the size of the page as a page mask (0 for normal page,* HPAGE_PMD_NR - 1 for THP head page)
__munlock_pagevecMunlock a batch of pages from the same zone* The work is split to two main phases
rmqueue_bulkObtain a specified number of elements from the buddy allocator, all under* a single hold of the lock, for efficiency. Add them to the supplied list.* Returns the number of new pages which were placed at *list.
__mod_zone_freepage_state
mlock_migrate_pagemlock_migrate_page - called only from migrate_misplaced_transhuge_page()* (because that does not go through the full procedure of migration ptes):* to migrate the Mlocked page flag; update statistics.
__update_lru_size