From owner-freebsd-current Fri Oct 18 2:38:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB84337B401 for ; Fri, 18 Oct 2002 02:38:28 -0700 (PDT) Received: from mail.jeamland.net (rafe.jeamland.net [203.18.243.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 113FB43E4A for ; Fri, 18 Oct 2002 02:38:28 -0700 (PDT) (envelope-from benno@FreeBSD.org) Received: from ratchet.int.jeamland.net (ratchet.jeamland.net [210.15.217.227]) by mail.jeamland.net (Postfix) with ESMTP id C72B27060A for ; Fri, 18 Oct 2002 19:38:15 +1000 (EST) Subject: kthread.9 out of date From: Benno Rice To: current@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-TGGSwhVnjOINR+w12jqg" X-Mailer: Ximian Evolution 1.0.8 Date: 18 Oct 2002 19:38:13 +1000 Message-Id: <1034933896.638.1.camel@ratchet.jeamland.net> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-TGGSwhVnjOINR+w12jqg Content-Type: multipart/mixed; boundary="=-47TIfHf0s19dAkptsVS0" --=-47TIfHf0s19dAkptsVS0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I have just discovered the hard way that the kthread.9 manual page is slightly out of date. Having never done man page work before, I've attached a diff of the proposed change and if someone could give this a once-over and fix and/or commit it, that'd rock. Thanks. =3D) --=20 Benno Rice benno@FreeBSD.org --=-47TIfHf0s19dAkptsVS0 Content-Disposition: attachment; filename=kthread-man.diff Content-Type: text/x-patch; name=kthread-man.diff; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Index: kthread.9 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/share/man/man9/kthread.9,v retrieving revision 1.11 diff -u -r1.11 kthread.9 --- kthread.9 10 Oct 2002 00:29:22 -0000 1.11 +++ kthread.9 18 Oct 2002 09:36:21 -0000 @@ -44,7 +44,7 @@ .Ft void .Fn kproc_shutdown "void *arg" "int howto" .Ft int -.Fn kthread_create "void (*func)(void *)" "void *arg" "struct proc **newpp= " "int flags" "const char *fmt" "..." +.Fn kthread_create "void (*func)(void *)" "void *arg" "struct proc **newpp= " "int flags" "int pages" "const char *fmt" "..." .Ft void .Fn kthread_exit "int ecode" .Ft int @@ -121,6 +121,10 @@ .Fa flags argument specifies a set of flags as described in .Xr rfork 2 . +The +.Fa pages +argument specifies the size of the new kthread's kernel stack in pages. +If 0 is used, the default kernel stack size is allocated. The rest of the arguments form a .Xr printf 9 argument list that is used to build the name of the new thread and is stor= ed --=-47TIfHf0s19dAkptsVS0-- --=-TGGSwhVnjOINR+w12jqg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQA9r9aFXjRwWofFmQkRApRdAJ4vh9NlzyW/kuGpRjv7DEw4fBBMXQCfYGe8 NXPRA9HT+9PhNqN8pUsJ8lA= =LTyV -----END PGP SIGNATURE----- --=-TGGSwhVnjOINR+w12jqg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message