函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:memalloc_use_memcg - Starts the remote memcg charging scope.*@memcg: memcg to charge.* This function marks the beginning of the remote memcg charging scope. All the* __GFP_ACCOUNT allocations till the end of the scope will be charged to the* given memcg.

函数原型:static inline void memalloc_use_memcg(struct mem_cgroup *memcg)

返回类型:void

参数:

类型参数名称
struct mem_cgroup *memcg
323  WARN_ON_ONCE(active_memcg)
324  active_memcg等于memcg
调用者
名称描述
alloc_page_buffersCreate the appropriate buffers when given a page for data area and* the size of each buffer
inotify_handle_event
fanotify_alloc_event