From owner-freebsd-doc Fri Mar 15 19:40:46 2002 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 764B937B405 for ; Fri, 15 Mar 2002 19:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2G3e1p10516; Fri, 15 Mar 2002 19:40:01 -0800 (PST) (envelope-from gnats) Received: from hpdi.ath.cx (pc2-nthf5-0-cust237.not.cable.ntl.com [80.4.35.237]) by hub.freebsd.org (Postfix) with ESMTP id 4754B37B402 for ; Fri, 15 Mar 2002 19:30:29 -0800 (PST) Received: (from hitenp@hpdi.ath.cx) by hpdi.ath.cx (8.11.6/8.11.6) id g2G3RTO81130; Sat, 16 Mar 2002 03:27:29 GMT (envelope-from hitenp@hpdi.ath.cx) Message-Id: <200203160327.g2G3RTO81130@hpdi.ath.cx> Date: Sat, 16 Mar 2002 03:27:29 GMT From: Hiten Pandya Reply-To: Hiten Pandya To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/35949: [PATCH] rtprio(1) man page uses incorrect english Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35949 >Category: docs >Synopsis: [PATCH] rtprio(1) man page uses incorrect english >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 15 19:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hiten Pandya >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD hpdi.ath.cx 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Wed Mar 13 23:44:48 GMT 2002 hitenp@hpdi.ath.cx:/c1/obj/data/dev/src/sys/CURRENT5 i386 >Description: The rtprio(1) uses incorrect english in the BUGS section. The provided patch will fix that, and also _boldface_ the "root" user in the man page (mdoc(1) change). Also, instead of: "system calls are currently never preempted" It will substitute it with: "system calls are currently not preempted" Thanks, -- Hiten Pandya -- >How-To-Repeat: visit the rtprio(1) manual page. >Fix: The following patch should be applied to src/usr.sbin/rtprio/rtprio.1 --- rtprio.1.old Sat Mar 16 02:22:41 2002 +++ rtprio.1 Sat Mar 16 03:03:58 2002 @@ -108,7 +108,9 @@ .Ar Pid of 0 means "the current process". .Pp -Only root is allowed to set realtime or idle priority for a process. +Only +.Sy root +is allowed to set realtime or idle priority for a process. .Sh DIAGNOSTICS If .Nm @@ -184,16 +186,16 @@ (swapper) (see .Xr ps 1 ) . .Pp -There is in -.Fx -no way to ensure that a process page is present in memory therefore +There is no way in +.Fx , +to ensure that a process page is present in memory therefore the process may be stopped for pagein (see .Xr mprotect 2 , .Xr madvise 2 ) . .Pp Under -.Fx -system calls are currently never preempted, therefore non-realtime +.Fx , +system calls are currently not preempted, therefore non-realtime processes can starve realtime processes, or idletime processes can starve normal priority processes. .Sh AUTHORS >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message