函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__unlock_page_memcg - unlock and unpin a memcg*@memcg: the memcg* Unlock and unpin a memcg returned by lock_page_memcg().

函数原型:void __unlock_page_memcg(struct mem_cgroup *memcg)

返回类型:void

参数:

类型参数名称
struct mem_cgroup *memcg
2012  如果memcgmove_lock_task恒等于当前进程
2013  flags等于move_lock_flags
2015  move_lock_task = NULL
2016  move_lock_flags等于0
2018  spin_unlock_irqrestore( & taken only while moving_account > 0 , flags)
2021  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
调用者
名称描述
unlock_page_memcglock_page_memcg - unlock a page->mem_cgroup binding*@page: the page
test_clear_page_writeback