scheduler.9 (84306) | scheduler.9 (88509) |
---|---|
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. --- 7 unchanged lines hidden (view full) --- 16.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 17.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" | 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. --- 7 unchanged lines hidden (view full) --- 16.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 17.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" |
24.\" $FreeBSD: head/share/man/man9/scheduler.9 84306 2001-10-01 16:09:29Z ru $ | 24.\" $FreeBSD: head/share/man/man9/scheduler.9 88509 2001-12-26 23:14:04Z davidc $ |
25.\" 26.Dd November 3, 2000 27.Dt SCHEDULER 9 28.Os 29.Sh NAME 30.Nm curpriority_cmp , 31.Nm maybe_resched , 32.Nm resetpriority , --- 6 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 | 25.\" 26.Dd November 3, 2000 27.Dt SCHEDULER 9 28.Os 29.Sh NAME 30.Nm curpriority_cmp , 31.Nm maybe_resched , 32.Nm resetpriority , --- 6 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 --- |