Re: [PATCH 01/16] sched_setscheduler.2: add a note about SCHED_NORMAL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Eugene,

On 09/19/2018 07:12 PM, Eugene Syromyatnikov wrote:
> There is no SCHED_OTHER in Linux UAPI, it uses SCHED_NORMAL instead.
> 
> Signed-off-by: Eugene Syromyatnikov <evgsyr@xxxxxxxxx>
> ---
>  man2/sched_setscheduler.2 | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/man2/sched_setscheduler.2 b/man2/sched_setscheduler.2
> index fde2082..ed50c0e 100644
> --- a/man2/sched_setscheduler.2
> +++ b/man2/sched_setscheduler.2
> @@ -214,6 +214,13 @@ and
>  instead of the
>  .BR sched_* (2)
>  system calls.)
> +.PP
> +On Linux,
> +.B SCHED_OTHER
> +policy is named as
> +.B SCHED_NORMAL
> +in
> +.BR <linux/sched.h> .
>  .SH BUGS
>  POSIX.1 says that on success,
>  .BR sched_setscheduler ()

A better place to note this is in sched.7. I've added a note there.
Thanks for the report!

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux