summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ea31281..4f141e3 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 31480a2..81bb8eb 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 9610c01..b8be523 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 */
OpenPOWER on IntegriCloud