Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__unlock_page_memcg - unlock and unpin a memcg*@memcg: the memcg* Unlock and unpin a memcg returned by lock_page_memcg().

Proto:void __unlock_page_memcg(struct mem_cgroup *memcg)

Type:void

Parameter:

TypeParameterName
struct mem_cgroup *memcg
2012  If memcg && move_lock_task == current process Then
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()
Caller
NameDescribe
unlock_page_memcglock_page_memcg - unlock a page->mem_cgroup binding*@page: the page