函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mem_cgroup_uncharge_list - uncharge a list of page*@page_list: list of pages to uncharge* Uncharge a list of pages previously charged with* mem_cgroup_try_charge() and mem_cgroup_commit_charge().

函数原型:void mem_cgroup_uncharge_list(struct list_head *page_list)

返回类型:void

参数:

类型参数名称
struct list_head *page_list
6617  如果mem_cgroup_disabled()则返回
6620  如果非链表为空uncharge_list(page_list)
调用者
名称描述
shrink_page_listshrink_page_list() returns the number of reclaimed pages
shrink_inactive_listshrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages
shrink_active_list
release_pageslease_pages - batched put_page()*@pages: array of pages to release*@nr: number of pages* Decrement the reference count on all the pages in @pages. If it* fell to zero, remove the page from the LRU and free it.