Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Get rcutorture access to sched_setaffinity().

Proto:long rcutorture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask)

Type:long

Parameter:

TypeParameterName
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  Return ret
Caller
NameDescribe
synchronize_rcu_trivialDefinitions for trivial CONFIG_PREEMPT=n-only torture testing.* This implementation does not necessarily work well with CPU hotplug.