From nobody@FreeBSD.org  Thu Aug 12 08:49:32 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A85BD106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Aug 2010 08:37:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 97C878FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Aug 2010 08:37:10 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7C8bAqq006173
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Aug 2010 08:37:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o7C8bAcL006172;
	Thu, 12 Aug 2010 08:37:10 GMT
	(envelope-from nobody)
Message-Id: <201008120837.o7C8bAcL006172@www.freebsd.org>
Date: Thu, 12 Aug 2010 08:37:10 GMT
From: pluknet <pluknet@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] MLINK choosethread.9 to runqueue.9
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149560
>Category:       kern
>Synopsis:       [patch] MLINK choosethread.9 to runqueue.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 12 09:03:20 UTC 2010
>Closed-Date:    Thu Aug 12 09:14:17 UTC 2010
>Last-Modified:  Thu Aug 12 09:40:01 UTC 2010
>Originator:     pluknet
>Release:        9-CURRENT as of August '10
>Organization:
>Environment:
>Description:
The runqueue(9) manpage references and describes choosethread() as part of itself.
So, FreeBSD Kernel Developer's Manual should (m)link choosethread(9) to runqueue(9).

Btw, it already links (non-existent) chooseproc(9) to runqueue(9).
The chooseproc(9) routine is replaced with choosethread(9) circa 2001.
The chooseproc mlink should probably be de-attached as well.
>How-To-Repeat:
Try to `man choosethread`.
No manual entry for choosethread
>Fix:


Patch attached with submission follows:

Index: share/man/man9/Makefile
===================================================================
--- share/man/man9/Makefile	(revision 209664)
+++ share/man/man9/Makefile	(working copy)
@@ -988,7 +988,7 @@
 	rtalloc.9 rtalloc_ign.9 \
 	rtalloc.9 RTFREE.9 \
 	rtalloc.9 rtfree.9
-MLINKS+=runqueue.9 chooseproc.9 \
+MLINKS+=runqueue.9 choosethread.9 \
 	runqueue.9 procrunnable.9 \
 	runqueue.9 remrunqueue.9 \
 	runqueue.9 setrunqueue.9


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Aug 12 09:13:40 UTC 2010 
State-Changed-Why:  
Duplicate of kern/149549. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149560 

From: pluknet <pluknet@gmail.com>
To: bug-followup@FreeBSD.org, pluknet@gmail.com
Cc:  
Subject: Re: kern/149560: [patch] MLINK choosethread.9 to runqueue.9
Date: Thu, 12 Aug 2010 13:14:15 +0400

 Please, close this PR as it duplicates kern/149549.
>Unformatted:
