2098 Commits

Author SHA1 Message Date
pgoyette
01a1e3e5d6 Unimplemented modcmd() routines should return ENOTTY, not zero. 2010-07-31 13:27:29 +00:00
pgoyette
fb03fbed90 Improve markup, add documentation for the module's modcmd() interface 2010-07-31 13:20:08 +00:00
pgoyette
4d71a95956 Crap - another typo. 2010-07-31 03:44:33 +00:00
pgoyette
44b6cc4347 Minor grammar nits. 2010-07-31 03:43:00 +00:00
pgoyette
31f0dbbb9e Make a first pass at documenting the module(9) subsystem.
XXX This is by no means complete, but it is a beginning.
2010-07-31 03:14:05 +00:00
jruoho
80ac55757e Remove EXAMPLES-title (the example was not really an example). Use .Xr for
cpu_idle(9) instead of .Fn.
2010-07-31 02:12:20 +00:00
jruoho
1a6962b48f Document the stack macros from <sys/param.h>. 2010-07-30 09:12:58 +00:00
jruoho
e31d462f48 Document the fine nullop() family of dummy functions. 2010-07-25 21:05:13 +00:00
hannken
1664eae7f3 Using vfinddev() leads to vnode races as it returns an unreferenced
vnode that may disappear before the caller has a chance to reference it.

Reference the vnode while the specfs cache is locked.

Welcome to 5.99.37.

No objections on tech-kern.
2010-07-21 09:06:37 +00:00
hannken
e698a5d246 Using cache_revlookup() leads to vnode races as it returns an unreferenced
vnode that may disappear before the caller has a chance to reference it.

Reference the vnode while the name cache is locked.

No objections on tech-kern.
2010-07-21 09:01:35 +00:00
jruoho
02b671da36 Use .Xr for Xrefs. 2010-07-06 22:29:29 +00:00
cegger
a63798ea7c Turn PMAP_NOCACHE into MI flag.
Add MI flags PMAP_WRITE_COMBINE, PMAP_WRITE_BACK, PMAP_NOCACHE_OVR.
Update pmap(9) manpage.

hppa: Remove MD PMAP_NOCACHE flag as it exists as MI flag
mips: Rename MD PMAP_NOCACHE to PGC_NOCACHE.

x86: Implement new MI flags using Page-Attribute Tables.
x86: Implement BUS_SPACE_MAP_PREFETCHABLE.

Patch presented on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2010/06/30/msg008458.html

No comments on this last version.
2010-07-06 20:50:33 +00:00
wiz
58c4d50e83 Change xref from pfind(9) to proc_find(9). Bump date. 2010-07-01 15:12:31 +00:00
jruoho
a94ff8e22c Use .Fn instead of .Nm. 2010-07-01 15:06:55 +00:00
jruoho
7965193037 Briefly document proc_find() and pgrp_find(). 2010-07-01 14:54:44 +00:00
jruoho
3cb6211465 Remove the now obsolete pfind(9). 2010-07-01 14:22:12 +00:00
tsutsui
cd9494c03d Add config_mountroot(9) in autoconf(9) man page and LINKS for it. 2010-06-25 15:16:13 +00:00
hannken
1423e65b26 Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.
2010-06-24 12:58:48 +00:00
hannken
f6c438ba23 Clean up vnode lock operations:
- VOP_LOCK(vp, flags): Limit the set of allowed flags to LK_EXCLUSIVE,
   LK_SHARED and LK_NOWAIT.  LK_INTERLOCK is no longer allowed as it
   makes no sense here.

- VOP_ISLOCKED(vp): Remove the for some time unused return value
  LK_EXCLOTHER.  Mark this operation as "diagnostic only".
  Making a lock decision based on this operation is no longer allowed.

Discussed on tech-kern.
2010-06-24 07:54:46 +00:00
hannken
2c090918c7 Remove the concept of recursive vnode locks by eliminating
vn_setrecurse(), vn_restorerecurse() and LK_CANRECURSE.
Welcome to 5.99.31

Discussed on tech-kern.
2010-06-18 16:29:01 +00:00
jruoho
2ef5124af4 Add FUNCTIONS. List only complete prototypes in SYNOPSIS. Sort SYNOPSIS
according to the appearance in FUNCTIONS. Fix typo; cnm_trap() -> cn_trap().
Remove the .Va typedef struct cnm_state cnm_state_t; in SYNOPSIS. And some
miscellaneous markup improvements.
2010-06-08 19:44:28 +00:00
jruoho
74f7e1dfe4 Offset indent the example. 2010-06-08 19:28:56 +00:00
jruoho
c99ce241db Remove the unnecessary example. 2010-06-08 09:02:55 +00:00
jruoho
b052be6bc7 Xref ilog2(3) and imax(9). 2010-06-08 09:00:22 +00:00
jruoho
0e7140d8d0 Xref ilog2(3). 2010-06-08 08:55:46 +00:00
jruoho
015c6ebc3b Three small markup improvements. 2010-06-08 08:20:37 +00:00
wiz
ae0570abb9 Fix xref. 2010-06-08 07:20:20 +00:00
jruoho
0b44becf58 Ups. Fix wrong filename suffix. 2010-06-08 05:56:58 +00:00
jruoho
b2a0054edc Xref bintime_add(9). 2010-06-08 05:50:01 +00:00
jruoho
6d00e6b5dc Briefly document the bintime_add() family of static inline functions. 2010-06-08 05:40:26 +00:00
jruoho
eb3f5b5845 Don't unnecessarily clutter the SEE ALSO. 2010-06-08 05:20:35 +00:00
jruoho
e5f1d72bb7 Grammar, markup. 2010-06-08 04:08:37 +00:00
hannken
62bfdd2b21 Change layered file systems to always pass the locking VOP's down to the
leaf file system.  Remove now unused member v_vnlock from struct vnode.
Welcome to 5.99.30

Discussed on tech-kern.
2010-06-06 08:01:30 +00:00
ahoka
0249dc4ed6 Sync struct vnode with reality. 2010-05-30 13:50:16 +00:00
pooka
a2afe0a788 * document VOP_DELETEEXTATTR
* remove "vector element" from summary table:
   1) deleteextattr caused problems for 80col rendering
   2) it's not correct on NetBSD, we use the VOFFSET instead (!)
2010-05-19 13:20:32 +00:00
jruoho
b01de5affa Note timeval(9). Add %D to the .Rs/.Re. 2010-05-18 06:05:08 +00:00
jruoho
ccf0fdd5d1 Briefly describe and note also struct bintime. 2010-05-17 20:25:19 +00:00
jruoho
aac39b04a5 Xref timeval(3). 2010-05-17 20:18:30 +00:00
jruoho
4dc3500d9a IMPLEMENTATION NOTES back to NOTES. 2010-05-16 05:18:35 +00:00
joerg
2f27e1cc22 Reorder sections to canonical order. 2010-05-14 18:54:01 +00:00
joerg
b0b827a2a4 Resort sections to canonical order 2010-05-14 18:52:53 +00:00
jruoho
6234ed1429 Use standard section headers. 2010-05-14 18:52:46 +00:00
joerg
3148417211 Reorder sections to canonical order 2010-05-14 18:39:05 +00:00
joerg
409b5b81db Reorder sections to canonical order. 2010-05-14 18:37:43 +00:00
joerg
fbdbf2dfc6 \\ -> \e 2010-05-14 18:28:40 +00:00
dholland
46117aaddb fix previous again, hopefully ok this time 2010-05-14 05:23:35 +00:00
wiz
6f1249aa8e Join %U. 2010-05-13 23:30:52 +00:00
jruoho
a903bfbf13 Hook kthread_join(9) to the build. 2010-05-13 13:08:08 +00:00
jruoho
a5d24f20a8 In order to widen the paragraphs, move the newly added list of flags below
the list of function parameters. Add two small sentences to give few more
clues about KTHREAD_JOINABLE. Add a missing prototype for kthread_join().
Also: newpl -> newlp.
2010-05-13 13:04:56 +00:00
wiz
cf025cace8 Put flags into a list. Bug fixes to kthread_join docs. 2010-05-13 09:56:12 +00:00