Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\memcontrol.h Create Date:2022-07-28 05:57:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:count_memcg_events

Proto:static inline void count_memcg_events(struct mem_cgroup *memcg, enum vm_event_item idx, unsigned long count)

Type:void

Parameter:

TypeParameterName
struct mem_cgroup *memcg
enum vm_event_itemidx
unsigned longcount
748  local_irq_save(flags)
749  __count_memcg_events - account VM events in a cgroup*@memcg: the memory cgroup*@idx: the event item*@count: the number of events that occured
750  local_irq_restore(flags)
Caller
NameDescribe
__do_huge_pmd_anonymous_page
do_huge_pmd_wp_page
collapse_huge_page