Bug 149549

Summary: [patch] MLINK choosethread.9 to runqueue.9
Product: Documentation Reporter: pluknet <pluknet>
Component: Books & ArticlesAssignee: Christian Brueffer <brueffer>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
m.9.choosethread2.txt none

Description pluknet 2010-08-12 10:02:58 UTC
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.

Fix: Patch attached with submission follows:
How-To-Repeat: Try to `man choosethread`.
No manual entry for choosethread
Comment 1 pluknet 2010-08-12 10:18:11 UTC
The patch in PR is incomplete if decided to *replace* chooseproc with
choosethread.
A missing part in that case is attached.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-08-12 17:18:39 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-doc

Reclassify.
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-08-15 22:26:02 UTC
Author: brueffer
Date: Sun Aug 15 21:25:52 2010
New Revision: 211353
URL: http://svn.freebsd.org/changeset/base/211353

Log:
  Tie up some loose ends r88509 left behind:
  
  - chooseproc() is long gone, MLINK choosethread instead
  - Update NAME section for choosethread
  - Mark chooseproc.9 for removal
  
  PR:             149549
  Submitted by:   pluknet
  MFC after:	1 week

Modified:
  head/ObsoleteFiles.inc
  head/share/man/man9/Makefile
  head/share/man/man9/runqueue.9

Modified: head/ObsoleteFiles.inc
==============================================================================
--- head/ObsoleteFiles.inc	Sun Aug 15 21:24:17 2010	(r211352)
+++ head/ObsoleteFiles.inc	Sun Aug 15 21:25:52 2010	(r211353)
@@ -14,6 +14,8 @@
 # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last.
 #
 
+# 20100815: retired last traces of chooseproc(9)
+OLD_FILES+=usr/share/man/man9/chooseproc.9.gz
 # 20100806: removal of unused libcompat routines
 OLD_FILES+=usr/share/man/man3/ascftime.3.gz
 OLD_FILES+=usr/share/man/man3/cfree.3.gz

Modified: head/share/man/man9/Makefile
==============================================================================
--- head/share/man/man9/Makefile	Sun Aug 15 21:24:17 2010	(r211352)
+++ head/share/man/man9/Makefile	Sun Aug 15 21:25:52 2010	(r211353)
@@ -994,7 +994,7 @@ MLINKS+=rtalloc.9 rtalloc1.9 \
 	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

Modified: head/share/man/man9/runqueue.9
==============================================================================
--- head/share/man/man9/runqueue.9	Sun Aug 15 21:24:17 2010	(r211352)
+++ head/share/man/man9/runqueue.9	Sun Aug 15 21:25:52 2010	(r211353)
@@ -23,11 +23,11 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd November 3, 2000
+.Dd August 15, 2010
 .Dt RUNQUEUE 9
 .Os
 .Sh NAME
-.Nm chooseproc ,
+.Nm choosethread ,
 .Nm procrunnable ,
 .Nm remrunqueue ,
 .Nm setrunqueue
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 4 Christian Brueffer freebsd_committer freebsd_triage 2010-08-15 22:26:12 UTC
State Changed
From-To: open->patched

Committed, thanks!
Comment 5 Christian Brueffer freebsd_committer freebsd_triage 2010-08-15 22:38:32 UTC
Responsible Changed
From-To: freebsd-doc->brueffer

Take this over.
Comment 6 Christian Brueffer freebsd_committer freebsd_triage 2012-06-24 19:38:41 UTC
State Changed
From-To: patched->closed

MFCs done.