函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mem_cgroup_uncharge_skmem - uncharge socket memory*@memcg: memcg to uncharge*@nr_pages: number of pages to uncharge

函数原型:void mem_cgroup_uncharge_skmem(struct mem_cgroup *memcg, unsigned int nr_pages)

返回类型:void

参数:

类型参数名称
struct mem_cgroup *memcg
unsigned intnr_pages
6762  如果非cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy*@ss: subsystem in question(memory_cgrp_subsys)则
6763  page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge
6764  返回
6767  dx can be of type enum memcg_stat_item or node_stat_item
6769  Cache charges(val) to local per_cpu area.* This will be consumed by consume_stock() function, later.