Add claraifications to the kproc and kthread manpages and link

the kthread_create(9) man page to the kproc(9) page as it had migrated and
people looking for it may need a hand to find its new name.

MFC after:	1 week
This commit is contained in:
Julian Elischer 2009-08-23 07:48:11 +00:00
parent ef58215868
commit 58cf5c84e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196450
3 changed files with 44 additions and 0 deletions

View File

@ -713,6 +713,7 @@ MLINKS+=kobj.9 DEFINE_CLASS.9 \
kobj.9 kobj_delete.9 \
kobj.9 kobj_init.9
MLINKS+=kproc.9 kproc_create.9 \
kproc.9 kthread_create.9 \
kproc.9 kproc_exit.9 \
kproc.9 kproc_resume.9 \
kproc.9 kproc_shutdown.9 \

View File

@ -64,6 +64,28 @@
.Fa "int flags" "int pages" "char * procname" "const char *fmt" "..."
.Fc
.Sh DESCRIPTION
In
.Fx 8.0 ,
the
.Fn kthread* 9
family of functions was renamed to be the
.Fn kproc* 9
family of functions, as they were misnamed
and actually produced kernel processes.
A new family of
.Em different
.Fn kthread_* 9
functions was added to produce
.Em real
kernel
.Em threads .
See the
.Xr kthread 9
man page for more information on those calls.
Also note that the
.Fn kproc_kthread_add 9
function appears in both pages as its functionality is split.
.Pp
The function
.Fn kproc_start
is used to start

View File

@ -65,6 +65,27 @@
.Fa "int flags" "int pages" "char * procname" "const char *fmt" "..."
.Fc
.Sh DESCRIPTION
In
.Fx 8.0 ,
the older family of
.Fn kthread_* 9
functions was renamed to be the
.Fn kproc_* 9
family of functions,
as they were previously misnamed
and actually produced kernel processes.
This new family of
.Fn kthread_* 9
functions was added to produce
.Em real
kernel threads.
See the
.Xr kproc 9
man page for more information on the renamed calls.
Also note that the
.Fn kproc_kthread_add 9
function appears in both pages as its functionality is split.
.Pp
The function
.Fn kthread_start
is used to start