Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sched_rr_handler

Proto:int sched_rr_handler(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)

Type:int

Parameter:

TypeParameterName
struct ctl_table *table
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
2691  DEFINE_MUTEX(mutex)
2693  mutex_lock( & mutex)
2694  ret = read a vector of integers
2699  If Not ret && write Then
2700  sched_rr_timeslice = If sysctl_sched_rr_timeslice <= 0 Then default timeslice is 100 msecs (used only for SCHED_RR tasks).* Timeslices get refilled after they expire. Else msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than
2704  mutex_unlock( & mutex)
2706  Return ret