Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cpuset.c Create Date:2022-07-28 11:17:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:nodemask_t cpuset_mems_allowed(struct task_struct *tsk)

Type:nodemask_t

Parameter:

TypeParameterName
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  Return mask
Caller
NameDescribe
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.