Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
John Baldwin
ab7e1991c0
Beef up the description of the kernel thread API.
...
Reviewed by: sheldonh, jasone
2000-11-13 20:34:20 +00:00
John Baldwin
dc4e9f1a03
Describe the new software interrupt thread functionality.
...
Reviewed by: sheldonh, jasone
2000-11-13 20:18:42 +00:00
John Baldwin
eaca618337
Add a manpage to document the atomic operations including a quick treatment
...
of memory barriers and the newish atomic variants that include them.
Reviewed by: sheldonh
2000-11-13 20:08:17 +00:00
David Malone
9704bfcdfb
Change a "xlint(1)" to a ".Xr lint 1" and add a reference in the see also
...
section.
2000-11-13 16:18:46 +00:00
Sheldon Hearn
6cfaa4a7de
Sort NAMES section and separate Nm arguments from trailing punctuation.
2000-11-13 13:12:44 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Sheldon Hearn
25f1a2e9f9
Miscellaneous content fixes:
...
* xref sysctl
* do not mark kern.ipc.mbuf_wait up as a function argument.
* do not mix case of function argument names
* a mbuf -> an mbuf
* if -> whether
* typos
2000-11-10 10:22:49 +00:00
Sheldon Hearn
e73145f651
Whitespace only: fix hard sentence breaks now, before people really
...
get stuck into this page.
2000-11-10 10:08:34 +00:00
John Baldwin
c5f3b30e68
Replace non-existent 'mtx_t' typedef'd type with 'struct mtx'.
2000-11-10 01:51:55 +00:00
Bosko Milekic
bfd597212a
Fixup some wrong statements in the new mbuf(9) man page.
...
Also introduce a bunch of (missed?) macros and functions.
This man page still needs a lot of work, most likely a re-ordering
of the macros/functions, and a more complete, more accurate, listing of
available routines.
A good and worthy start nonetheless.
2000-11-01 23:02:19 +00:00
John Baldwin
7e56ee52c8
Catch up to mutexes becoming MI: machine/mutex.h -> sys/mutex.h
2000-11-01 00:39:27 +00:00
Jeroen Ruigrok van der Werven
29c9277956
Fix a fundamental error. The device is not owned by the parent
...
bus before allocation. The resource is.
Asked about by: julian on -current
Verified by: msmith
2000-10-31 13:16:47 +00:00
Sheldon Hearn
6296795713
Whitespace only:
...
* Remove hard sentence breaks.
* Remove trailing whitespace.
* Separate macro arguments from trailing punctuation with whitespace.
2000-10-30 19:49:26 +00:00
Ruslan Ermilov
dc5a40409d
Add pfil.9 manpage to build after a repository copy.
2000-10-30 09:16:18 +00:00
Poul-Henning Kamp
cf9fa8e725
Move suser() and suser_xxx() prototypes and a related #define from
...
<sys/proc.h> to <sys/systm.h>.
Correctly document the #includes needed in the manpage.
Add one now needed #include of <sys/systm.h>.
Remove the consequent 48 unused #includes of <sys/proc.h>.
2000-10-29 16:06:56 +00:00
Alexander Langer
b7f4c6bf0e
Use EX_USAGE in an example, as the SAME manual page describes a
...
few lines higher.
PR: 22371
Submitted by: andrew@ugh.net.au
2000-10-28 10:02:23 +00:00
Mike Pritchard
096ed6644a
Typo fix.
2000-10-27 20:55:15 +00:00
Jeroen Ruigrok van der Werven
e87b9f2824
Use FreeBSD.org, not freebsd.org, as has been the precedent.
2000-10-27 16:05:39 +00:00
John Baldwin
7dbdc1bff4
Add in MLINKS for all of the various mutex functions to mutex.9
2000-10-26 23:54:10 +00:00
John Baldwin
2c3d0ee6f4
- Document MUTEX_DECLARE and MTX_COLD
...
- Clean up some minor nits
2000-10-26 23:53:12 +00:00
John Baldwin
26fdc7e05b
Add a note that the spl() API is deprecated in favor of mutexes.
2000-10-26 23:30:01 +00:00
Nik Clayton
de06f907d1
Add a prototype mbuf.9 man page. Probably needs work, but it's a good
...
start.
PR: docs/22053
Submitted by: Yar Tikhiy <yar@comp.chem.msu.su>
2000-10-26 23:15:47 +00:00
Mark Murray
e5e600c900
Add some very crude man pages to try to induce folk to work on them.
...
Agreed to work on them: jasone
2000-10-24 03:33:24 +00:00
Poul-Henning Kamp
1921a06d6a
Introduce the M_ZERO flag to malloc(9)
...
Instead of:
foo = malloc(sizeof(foo), M_WAIT);
bzero(foo, sizeof(foo));
You can now (and please do) use:
foo = malloc(sizeof(foo), M_WAIT | M_ZERO);
In the future this will enable us to do idle-time pre-zeroing of
malloc-space.
2000-10-20 17:54:55 +00:00
Mark Murray
67297998c8
Add a man page for part of the PRNG API.
2000-10-14 16:16:42 +00:00
Brian Somers
e6e7337683
Index: Makefile
...
===================================================================
RCS file: /home/ncvs/src/share/man/man9/Makefile,v
retrieving revision 1.75
diff -u -r1.75 Makefile
--- Makefile 2000/09/17 12:15:12 1.75
+++ Makefile 2000/10/06 23:24:26
@@ -69,6 +69,8 @@
MLINKS+=make_dev.9 destroy_dev.9
MLINKS+=malloc.9 FREE.9 malloc.9 MALLOC.9 malloc.9 free.9
MLINKS+=mi_switch.9 cpu_switch.9
+MLINKS+=namei.9 NDINIT.9
+MLINKS+=namei.9 NDFREE.9
MLINKS+=posix4.9 p1003_1b.9
MLINKS+=psignal.9 gsignal.9 psignal.9 pgsignal.9
MLINKS+=rtalloc.9 rtalloc1.9 rtalloc.9 rtalloc_ign.9
2000-10-06 23:29:11 +00:00
Paul Saab
e8af5965e2
Correct who pioneered the accept filters and Yahoo!'s company name.
2000-10-06 10:51:24 +00:00
Mark Murray
4f1249a812
Huge improvement to the mutex man page.
...
o Document all the mutex calls, not just the entry and exit.
o Fix the mtx_t typedef (now is struct mtx).
2000-09-25 11:21:49 +00:00
Mark Murray
16aa79c236
Remove references to the defunct kern.timecounter.method sysctl variable.
2000-09-25 11:18:51 +00:00
Robert Watson
28994ea06f
o Bring VOP_GETACL(9) and VOP_GETEXTATTR(9) man page "LOCKS" sections in
...
sync with the implementation. Vnode locks *are* required for these
operations, as some underlying implementations will require them.
Obtained from: TrustedBSD Project
2000-09-21 18:51:48 +00:00
Alexander Langer
77f3abec92
Reference DRIVER_MODULE.9
2000-09-17 12:20:08 +00:00
Alexander Langer
72f8c78baf
Add DRIVER_MODULE.9, the manual page describing the kernel driver
...
declaration macro.
Thanks to Sheldon for a big patch with language/mdoc fixes.
Reviewed by: asmodai, sheldonh
2000-09-17 12:15:12 +00:00
Poul-Henning Kamp
0aa16c1a77
Fix a cut&paste mistake.
2000-09-16 14:37:41 +00:00
Jake Burkholder
e66ccea4a1
Add scant documentation for msleep.
2000-09-11 00:52:31 +00:00
Jason Evans
0384fff8c5
Major update to the way synchronization is done in the kernel. Highlights
...
include:
* Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The
alpha port is still in transition and currently uses both.)
* Per-CPU idle processes.
* Interrupts are run in their own separate kernel threads and can be
preempted (i386 only).
Partially contributed by: BSDi (BSD/OS)
Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh
2000-09-07 01:33:02 +00:00
Doug Rabson
21c58b8d40
Document kobj_class_compile_static().
2000-08-28 21:17:46 +00:00
Sheldon Hearn
a948e10a1c
Clear extraneous arguments to the name (Nm) macro.
...
Mark PRISON_ROOT and EPERM as defined values (Dv).
2000-08-17 08:17:16 +00:00
Mark Murray
58ea82758e
Mention more functions in the headers so whatis(1) can find them, and
...
create links to functions so added found.
2000-08-16 19:53:38 +00:00
Mark Murray
dfea8241e6
Grammar police; make the English style more consistent throughout,
...
and give suser_xxx some more airtime.
2000-08-16 19:52:03 +00:00
Mark Murray
38bd736e76
Grammar police; "has been written by" --> "was written by".
2000-08-15 15:23:46 +00:00
Mark Murray
4fea914dda
Improve the cross-references.
2000-08-15 15:14:13 +00:00
Mark Murray
3e36b6ef41
Fix grammar and a function name.
2000-08-15 15:09:13 +00:00
Sheldon Hearn
f0cddd5353
Clarify the guidelines surrounding the use of macros. The patch is
...
mostly unrelated to the attributed PR, and the attributed submitter
wasn't so much suggesting the patch for inclusion as providing it
for clarity.
PR: 9869
Submitted by: bde
2000-08-08 09:54:57 +00:00
Mark Murray
1e42415db0
Remove references to the (removed) kern.timecounter.method sysctl.
2000-07-23 11:12:59 +00:00
Sheldon Hearn
785c4f1a3d
Clean up this new manual page. This delta includes content and
...
whitespace changes, which should not be a problem because this
is only the second revision of the file and translators are
unlikely to have gotten started yet.
Reviewed by: abial
2000-07-19 06:33:34 +00:00
Ben Smithurst
dff9235e4a
Define what is meant by brackets' and
braces'.
...
Suggested by: grog
2000-07-18 14:41:01 +00:00
Sheldon Hearn
9400b2896e
Order the cross-references in the SEE ALSO section correctly.
2000-07-18 13:03:09 +00:00
Sheldon Hearn
3ae5a45440
Clean up this new manual page. This delta includes content and
...
whitespace changes, which should not be a problem because this
is only the second revision of the file and translators are
unlikely to have gotten started yet.
Reviewed by: abial
2000-07-18 07:46:14 +00:00
Ben Smithurst
de9bd90aa8
Remove some whitespace so the line with "brackets" changed to "angle
...
brackets" no longer touches the right edge of an 80 column display.
2000-07-17 19:05:57 +00:00