scheduler.9 (32eef9aeb1f39a1623cea55da147c89abbd5b9a5) | scheduler.9 (f16b3c0de48d0b845357e7cca843f645bc3117e3) |
---|---|
1.\" Copyright (c) 2000-2001 John H. Baldwin <jhb@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 30 unchanged lines hidden (view full) --- 39.Nm updatepri 40.Nd perform round-robin scheduling of runnable processes 41.Sh SYNOPSIS 42.In sys/param.h 43.In sys/proc.h 44.Ft int 45.Fn curpriority_cmp "struct proc *p" 46.Ft void | 1.\" Copyright (c) 2000-2001 John H. Baldwin <jhb@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 30 unchanged lines hidden (view full) --- 39.Nm updatepri 40.Nd perform round-robin scheduling of runnable processes 41.Sh SYNOPSIS 42.In sys/param.h 43.In sys/proc.h 44.Ft int 45.Fn curpriority_cmp "struct proc *p" 46.Ft void |
47.Fn maybe_resched "struct proc *chk" | 47.Fn maybe_resched "struct ksegrp *kg" |
48.Ft void 49.Fn propagate_priority "struct proc *p" 50.Ft void | 48.Ft void 49.Fn propagate_priority "struct proc *p" 50.Ft void |
51.Fn resetpriority "struct proc *p" | 51.Fn resetpriority "struct ksegrp *kg" |
52.Ft void 53.Fn roundrobin "void *arg" 54.Ft int 55.Fn roundrobin_interval "void" 56.Ft void 57.Fn sched_setup "void *dummy" 58.Ft void | 52.Ft void 53.Fn roundrobin "void *arg" 54.Ft int 55.Fn roundrobin_interval "void" 56.Ft void 57.Fn sched_setup "void *dummy" 58.Ft void |
59.Fn schedclock "struct proc *p" | 59.Fn schedclock "struct thread *td" |
60.Ft void 61.Fn schedcpu "void *arg" 62.Ft void | 60.Ft void 61.Fn schedcpu "void *arg" 62.Ft void |
63.Fn setrunnable "struct proc *p" | 63.Fn setrunnable "struct thread *td" |
64.Ft void | 64.Ft void |
65.Fn updatepri "struct proc *p" | 65.Fn updatepri "struct thread *td" |
66.Sh DESCRIPTION 67Each process has three different priorities stored in 68.Vt "struct proc" : 69.Va p_usrpri , 70.Va p_nativepri , 71and 72.Va p_priority . 73.Pp --- 203 unchanged lines hidden --- | 66.Sh DESCRIPTION 67Each process has three different priorities stored in 68.Vt "struct proc" : 69.Va p_usrpri , 70.Va p_nativepri , 71and 72.Va p_priority . 73.Pp --- 203 unchanged lines hidden --- |