summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Costello <chris@FreeBSD.org>2000-06-23 20:35:45 +0000
committerChris Costello <chris@FreeBSD.org>2000-06-23 20:35:45 +0000
commit1c67d6c53967c20ed4ed155ed0e38c63b9d2150d (patch)
tree7b2f1c89efd517b19660129115cf4a29e13e04ba /lib
parent4f18b87801dc5865f8dfba4df68aa860239ac84e (diff)
Notes
Diffstat (limited to 'lib')
-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 ea312818369d..4f141e3b3c90 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 31480a26603f..81bb8ebc709c 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 9610c01eb493..b8be52325929 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 */