View | Details | Raw Unified | Return to bug 35949
Collapse All | Expand All

(-)rtprio.1 (-6 / +8 lines)
Lines 108-114 Link Here
108
.Ar Pid
108
.Ar Pid
109
of 0 means "the current process".
109
of 0 means "the current process".
110
.Pp
110
.Pp
111
Only root is allowed to set realtime or idle priority for a process.
111
Only 
112
.Sy root 
113
is allowed to set realtime or idle priority for a process.
112
.Sh DIAGNOSTICS
114
.Sh DIAGNOSTICS
113
If
115
If
114
.Nm
116
.Nm
Lines 184-199 Link Here
184
(swapper) (see
186
(swapper) (see
185
.Xr ps 1 ) .
187
.Xr ps 1 ) .
186
.Pp
188
.Pp
187
There is in
189
There is no way in
188
.Fx
190
.Fx ,
189
no way to ensure that a process page is present in memory therefore
191
to ensure that a process page is present in memory therefore
190
the process may be stopped for pagein (see
192
the process may be stopped for pagein (see
191
.Xr mprotect 2 ,
193
.Xr mprotect 2 ,
192
.Xr madvise 2 ) .
194
.Xr madvise 2 ) .
193
.Pp
195
.Pp
194
Under
196
Under
195
.Fx
197
.Fx ,
196
system calls are currently never preempted, therefore non-realtime
198
system calls are currently not preempted, therefore non-realtime
197
processes can starve realtime processes, or idletime processes can
199
processes can starve realtime processes, or idletime processes can
198
starve normal priority processes.
200
starve normal priority processes.
199
.Sh AUTHORS
201
.Sh AUTHORS

Return to bug 35949