Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-28 16:14:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mem_cgroup_uncharge_skmem - uncharge socket memory*@memcg: memcg to uncharge*@nr_pages: number of pages to uncharge

Proto:void mem_cgroup_uncharge_skmem(struct mem_cgroup *memcg, unsigned int nr_pages)

Type:void

Parameter:

TypeParameterName
struct mem_cgroup *memcg
unsigned intnr_pages
6762  If Not cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy*@ss: subsystem in question(memory_cgrp_subsys) Then
6763  page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge
6764  Return
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.