函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge

函数原型:void page_counter_uncharge(struct page_counter *counter, unsigned long nr_pages)

返回类型:void

参数:

类型参数名称
struct page_counter *counter
unsigned longnr_pages
159 c循环page_counter_cancel - take pages out of the local counter*@counter: counter*@nr_pages: number of pages to cancel
调用者
名称描述
drain_stockReturns stocks cached in percpu and reset cached information.
try_charge
cancel_charge
__mem_cgroup_clear_mcancels all extra charges on mc.from and mc.to, and wakes up all waiters.
uncharge_batch
mem_cgroup_uncharge_skmemmem_cgroup_uncharge_skmem - uncharge socket memory*@memcg: memcg to uncharge*@nr_pages: number of pages to uncharge
mem_cgroup_swapoutmem_cgroup_swapout - transfer a memsw charge to swap*@page: page whose memsw charge to transfer*@entry: swap entry to move the charge to* Transfer the memsw charge of @page to @entry.
mem_cgroup_uncharge_swapmem_cgroup_uncharge_swap - uncharge swap space*@entry: swap entry to uncharge*@nr_pages: the amount of swap space to uncharge
hugetlb_cgroup_uncharge_pageShould be called with hugetlb_lock held
hugetlb_cgroup_uncharge_cgroup