summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-08-23 00:50:48 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-08-23 00:50:48 +0000
commit7035085abb8b18b985e2bcffd76c532bd1abcdaa (patch)
treeba4bfdff4fcd90da5dd4b9a598e11cbe26052bef
parent6a439919e92cbe674dd6f52510ce1fb5657990a4 (diff)
Notes
-rw-r--r--lib/libc/sys/mlock.22
-rw-r--r--lib/libc/sys/rtprio.28
-rw-r--r--lib/libc/sys/sched_setscheduler.22
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2
index ea312818369d2..4f141e3b3c901 100644
--- a/lib/libc/sys/mlock.2
+++ b/lib/libc/sys/mlock.2
@@ -164,7 +164,7 @@ physical pages.
Hence a process with two distinct locked mappings of the same physical page
counts as 2 pages against the per-process limit and as only a single page
in the system limit.
-
+.Pp
The per-process resource limit is not currently supported.
.Sh HISTORY
The
diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2
index 31480a26603fd..81bb8ebc709cf 100644
--- a/lib/libc/sys/rtprio.2
+++ b/lib/libc/sys/rtprio.2
@@ -44,14 +44,14 @@
.Sh DESCRIPTION
.Fn rtprio
is used to lookup or change the realtime or idle priority of a process.
-
+.Pp
.Fa function
specifies the operation to be performed.
RTP_LOOKUP to lookup the current priority,
and RTP_SET to set the priority.
.Fa pid
specifies the process to be used, 0 for the current process.
-
+.Pp
.Fa *rtp
is a pointer to a struct rtprio which is used to specify the priority and priority type.
This structure has the following form:
@@ -71,9 +71,9 @@ The priority specified by the
field ranges between 0 and
.Dv RTP_PRIO_MAX (usually 31) .
0 is the highest possible priority.
-
+.Pp
Realtime and idle priority is inherited through fork() and exec().
-
+.Pp
A realtime process can only be preempted by a process of equal or
higher priority, or by an interrupt; idle priority processes will run only
when no other real/normal priority process is runnable.
diff --git a/lib/libc/sys/sched_setscheduler.2 b/lib/libc/sys/sched_setscheduler.2
index 9610c01eb4935..b8be523259295 100644
--- a/lib/libc/sys/sched_setscheduler.2
+++ b/lib/libc/sys/sched_setscheduler.2
@@ -95,7 +95,7 @@ The
.Fa sched_param
structure is defined in
.Fa <sched.h> :
-
+.Pp
.Bd -literal -offset indent
struct sched_param {
int sched_priority; /* scheduling priority */