diff --git a/man2/ioprio_set.2 b/man2/ioprio_set.2 index 4770b6c96..fb8ec9e6f 100644 --- a/man2/ioprio_set.2 +++ b/man2/ioprio_set.2 @@ -22,7 +22,7 @@ .\" with various additions by Michael Kerrisk .\" .\" -.TH IOPRIO_SET 2 2007-06-01 "Linux" "Linux Programmer's Manual" +.TH IOPRIO_SET 2 2008-07-09 "Linux" "Linux Programmer's Manual" .SH NAME ioprio_get, ioprio_set \- get/set I/O scheduling class and priority .SH SYNOPSIS @@ -269,8 +269,7 @@ Priority levels range from 0 (highest) to 7 (lowest). This is the idle scheduling class. Processes running at this level only get I/O time when no-one else needs the disk. -The idle class has no class -data. +The idle class has no class data. Attention is required when assigning this priority class to a process, since it may become starved if higher priority processes are constantly accessing the disk. @@ -293,11 +292,14 @@ capability can change the priority of any process. .B "What is the desired priority" Attempts to set very high priorities .RB ( IOPRIO_CLASS_RT ) -or very low ones -.RB ( IOPRIO_CLASS_IDLE ) require the .B CAP_SYS_ADMIN capability. +Kernel versions up to 2.6.24 also required +.B CAP_SYS_ADMIN +to set a very low priority +.RB ( IOPRIO_CLASS_IDLE ), +but since Linux 2.6.25, this is no longer required. .PP A call to .BR ioprio_set ()