Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:uncharge_list

Proto:static void uncharge_list(struct list_head *page_list)

Type:void

Parameter:

TypeParameterName
struct list_head *page_list
6565  uncharge_gather_clear( & ug)
6571  next = next
6572  Do
6575  page = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(next, structpage, lru)
6576  next = next
6578  uncharge_page(page, & ug)
6579  When next != page_list cycle
6581  If memcg Then uncharge_batch( & ug)
Caller
NameDescribe
mem_cgroup_uncharge_listmem_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().