1302 Commits

Author SHA1 Message Date
ru
1541af42f1 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
rwatson
b9befdc94b Add a bit more caveat text about MUTEX_PROFILING -- try to avoid using it
with other profiling and debugging options, such as INVARIANTS, WITNESS,
kernel profiling, etc.  They all interfere with each other nastily and
will generate fairly useless results.
2005-02-11 15:17:57 +00:00
ru
114ea39c76 Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
njl
21180427d3 Update device_find_child(9) to return the first matching child if unit
is set to -1.

Reviewed by:	dfr, imp
2005-02-08 18:00:29 +00:00
iedowse
885a9694bc Add a mechanism for associating a mutex with a callout when the
callout is first initialised, using a new function callout_init_mtx().
The callout system will acquire this mutex before calling the callout
function and release it on return.

In addition, the callout system uses the mutex to avoid most of the
complications and race conditions inherent in asynchronous timer
facilities, so mutex-protected callouts have much simpler semantics.
As long as the mutex is held when invoking callout_stop() or
callout_reset(), then these functions will guarantee that the callout
will be stopped, even if softclock() had already begun to process
the callout.

Existing Giant-locked callouts will automatically pick up the new
race-free semantics. This should close a number of race conditions
in the USB code and probably other areas of the kernel too.

There should be no change in behaviour for "MP-safe" callouts; these
still need to use the techniques mentioned in timeout(9) to avoid
race conditions.
2005-02-07 02:47:33 +00:00
brueffer
6a6bfa9dfa Remove Xref to nonexistant cap.3
Ok'ed by:	rwatson
MFC after:	3 days
2005-02-05 14:16:35 +00:00
brueffer
d0d7ed3880 Xref mac_lomac.4 instead of lomac.4
MFC after:	3 days
2005-02-05 13:36:33 +00:00
jkoshy
b0f32c379f Note that functions alq_flush() and alq_post() should not be called in
contexts where sleeping is disallowed.

Pointed out by:	ru
2005-02-05 02:39:07 +00:00
pjd
03d733ba6a Improve EIO error description and mention that it can also occur while
writting.

MFC after:	3 days
2005-02-04 11:18:46 +00:00
jkoshy
a37be2d715 Bring the prototype for alq_open() in line with the code.
Add a section on locking.
2005-01-30 10:21:04 +00:00
ru
e1559d6a6e Start sentences from a capital letter.
Submitted by:	Joel Dahl
2005-01-29 20:05:07 +00:00
ru
1c19ffd486 Fixed whitespace at EOL and double word.
Uncompact enumaration to make it look better.
2005-01-28 21:18:14 +00:00
ru
85b6200242 Mark lists as in the rest of section 9 manpages. 2005-01-28 10:48:52 +00:00
ru
2e89798459 Mark lists as in the rest of section 9 manpages.
Submitted by:	Joel Dahl (mostly)
2005-01-28 10:43:05 +00:00
ru
5391cb9508 Add a few colons.
Submitted by:	Joel Dahl
2005-01-26 20:50:52 +00:00
iedowse
29a34551e1 Attempt to describe the race conditions that must be considered
when using the callout subsystem. Show how the callout_pending(),
callout_active() and callout_deactivate() macros can be used to
achieve simpler race-free callout semantics in many situations.
2005-01-23 17:42:48 +00:00
bms
40a1c8b345 Fix markup.
Submitted by:	ru
2005-01-22 21:54:29 +00:00
bms
86980c5775 Add a note about the slot number not necessarily indicating the physical
location of a PCI device in the system chassis.
Remove the note about PAE.
Update document date.
Update my email address.
Update copyright.

MFC after:	1 week
2005-01-22 21:14:46 +00:00
ru
b8a9faaaa3 Fixed punctuation in xrefs. 2005-01-21 20:48:00 +00:00
ru
3732ee2c4e Fixed xref. 2005-01-21 10:17:17 +00:00
ru
7a3e657c56 Sort sections. 2005-01-21 08:36:40 +00:00
glebius
d4d1359bb9 log(9) requires sys/syslog.h.
MFC after:	3 days
2005-01-20 10:26:42 +00:00
ru
c047ae5475 Use the standard section name. 2005-01-18 20:54:50 +00:00
ru
d2fbbfa446 The rest of manpages spell this "PSEUDOCODE". 2005-01-18 20:37:11 +00:00
brueffer
fcec19ccf2 Typo fixes.
MFC after:	3 days
2005-01-18 18:13:03 +00:00
ru
ffafa9a9bb Folded two SEE ALSO sections into one. 2005-01-18 09:13:42 +00:00
scottl
69d36fcdfb Document bus_dmamap_load_mbuf_sg() 2005-01-15 20:50:52 +00:00
ru
d26afd541d Eliminate macro calls inside literal displays. 2005-01-15 12:28:01 +00:00
ru
94126d00b4 Markup fixes. 2005-01-14 20:23:58 +00:00
ru
e7cc3fe6d8 Markup fixes. 2005-01-14 17:22:51 +00:00
ru
2d56795677 Markup and grammar fixes. 2005-01-14 10:53:55 +00:00
ru
55782966df Markup nit. 2005-01-14 10:49:09 +00:00
ru
007d29aae3 Nits. 2005-01-13 09:33:06 +00:00
ru
024faad271 Scheduled mdoc(7) sweep. 2005-01-12 21:48:25 +00:00
simon
1084f4d9ac Document that MODULE_DEPEND does not change runtime initialization
order.

Mostly submitted by:	scottl
Discussed on:		cvs-src/src-committers
2005-01-11 20:56:03 +00:00
keramida
587dd95b4b Fix typos and add .Pp after the end of a display to separate the
displayed text from the paragraph right after it.
2005-01-09 22:49:24 +00:00
keramida
60b48ba413 Reorganize the DESCRIPTION section, using .Bl lists to separate the
descriptions of items from each other and have related things appear
in the same nesting 'level'.

The .Fn function/macro, and bump document date.

Reviewed by:	jkoshy
2005-01-07 19:41:00 +00:00
maxim
f966b643b6 Finish src part VFS_INIT.9 removal. Need to check www/. 2005-01-07 15:38:21 +00:00
keramida
d0c8626d65 The .Fn macro. 2005-01-07 14:10:59 +00:00
keramida
070993d17f The .Fn macro and addition of .Fa in the tag width of the
argument description list.
2005-01-07 14:01:08 +00:00
keramida
ae38ead4b8 - The .Fn macro and description of the struct statfs' type of sbp'.
- List of struct statfs fields that are related to file systems, much
  like the list in stat.2 for the userlevel `struct stat'.
- Bump document date.
2005-01-07 12:56:04 +00:00
keramida
96e30a8273 The .Fn macro, document `flags' argument & bump document date. 2005-01-07 12:14:43 +00:00
keramida
a0afb54e76 Trim excessively verbose sentence. 2005-01-07 12:01:11 +00:00
keramida
80e53c87a6 The .Fn macro 2005-01-07 11:45:59 +00:00
keramida
f1fcad746f Move the description of MNT_FORCE closer to mntflags and use a .Bl
list for the valid flag values.  This way, if VFS_UNMOUNT(9) supports
more flags in the future, adding a single list item is going to be
easy and all the flags are going to be in one place.
2005-01-07 11:45:11 +00:00
keramida
f0899638ba The .Fn macro. 2005-01-07 11:39:36 +00:00
keramida
d09528619a There is no VFS_INIT(9).
Approved by:	phk
2005-01-07 11:34:05 +00:00
keramida
16244e418e The VFS_MOUNT() macro expects only 2 arguments in the nmount world
(since revision 1.173 of src/sys/sys/mount.h).

Update its prototype, the argument list description and bump the date.
2005-01-07 10:57:33 +00:00
keramida
e5f635beeb Use a .Bl -tag list instead of plain .Pp paragraphs for describing the
macro arguments expected by SYSCALL_MODULE().

MFC after:	3 days
2005-01-07 09:02:40 +00:00
keramida
d79468da20 Fix time-travel bug.
Noticed by:	krion
2005-01-07 09:00:19 +00:00