函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mem_cgroup_uncharge - uncharge a page*@page: page to uncharge* Uncharge a page previously charged with mem_cgroup_try_charge() and* mem_cgroup_commit_charge().

函数原型:void mem_cgroup_uncharge(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
6596  如果mem_cgroup_disabled()则返回
6600  如果非mem_cgroup则返回
6603  uncharge_gather_clear( & ug)
6604  uncharge_page(page, & ug)
6605  uncharge_batch( & ug)
调用者
名称描述
free_compound_pageHigher-order pages are called "compound pages". They are structured thusly:* The first PAGE_SIZE page is called the "head page" and have PG_head set.* The remaining PAGE_SIZE pages are called "tail pages". PageTail() is encoded
delete_from_lru_cacheXXX: It is possible that a page is isolated from LRU cache,* and then kept in swap cache or failed to remove from page cache.* The page count will stop it from being freed by unpoison.* Stress tests should be aware of this memory leak problem.
__put_single_page