函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Get rcutorture access to sched_setaffinity().

函数原型:long rcutorture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask)

返回类型:long

参数:

类型参数名称
pid_tpid
const struct cpumask *in_mask
457  ret等于sched_setaffinity(pid, in_mask)
458  WARN_ONCE(ret, "%s: sched_setaffinity() returned %d\n", __func__, ret)
459  返回:ret
调用者
名称描述
synchronize_rcu_trivialDefinitions for trivial CONFIG_PREEMPT=n-only torture testing.* This implementation does not necessarily work well with CPU hotplug.