Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return the number if non-negative. If -1, the number of CPUs.* If less than -1, that much less than the number of CPUs, but* at least one.

Proto:static int compute_real(int n)

Type:int

Parameter:

TypeParameterName
intn
559  If n >= 0 Then
560  nr = n
561  Else
562  nr = num_online_cpus() + 1 + n
563  If nr <= 0 Then nr = 1
566  Return nr
Caller
NameDescribe
rcu_perf_init