函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:puset_mems_allowed - return mems_allowed mask from a tasks cpuset.*@tsk: pointer to task_struct from which to obtain cpuset->mems_allowed.* Description: Returns the nodemask_t mems_allowed of the cpuset* attached to the specified @tsk

函数原型:nodemask_t cpuset_mems_allowed(struct task_struct *tsk)

返回类型:nodemask_t

参数:

类型参数名称
struct task_struct *tsk
3342  spin_lock_irqsave( & callback_lock, flags)
3343  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
3344  Return in *pmask the portion of a cpusets's mems_allowed that* are online, with memory
3345  _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()
3346  spin_unlock_irqrestore( & callback_lock, flags)
3348  返回:mask
调用者
名称描述
kernel_migrate_pages
__mpol_dupSlow path of a mempolicy duplicate
kernel_move_pagesMove a list of pages in the address space of the currently executing* process.