Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\process.c Create Date:2022-07-28 07:48:51
Last Modify:2020-03-16 17:03:44 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:idle_setup

Proto:static int __init idle_setup(char *str)

Type:int

Parameter:

TypeParameterName
char *str
879  If Not str Then Return -EINVAL
882  If Not strcmp(str, "poll") Then
883  pr_info("using polling idle threads\n")
884  Idle related variables and functions = IDLE_POLL
885  cpu_idle_poll_ctrl(true)
886  Else if Not strcmp(str, "halt") Then
894  x86_idle = We use this if we don't have any better idle routine..
895  Idle related variables and functions = IDLE_HALT
896  Else if Not strcmp(str, "nomwait") Then
903  Idle related variables and functions = IDLE_NOMWAIT
904  Else Return -1
907  Return 0