Commit Graph

2275 Commits

Author SHA1 Message Date
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
haad
f4b66b2506 Document kthread_join in kthread(9). 2010-05-12 15:54:47 +00:00
dholland
abd3e02364 Improve previous further. 2010-05-06 08:02:47 +00:00
wiz
2203063e19 Add "function" to make sentences easier to read. 2010-05-05 22:01:10 +00:00
jruoho
450d8f49d5 Clarify a sentence by removing a comma. 2010-05-05 06:19:15 +00:00
jruoho
50ad9a0506 Markup: .Fn instead of .Nm, .Tn, offset indent, newline for a new sentence. 2010-05-05 05:49:38 +00:00
jruoho
4a4dc62ed5 .Nm -> .Fn, and wrap the kernel config option so that it will fit into 80
columns.
2010-05-05 05:43:19 +00:00
jruoho
0802a57b2e Reference bswap(3). Improvements in the HISTORY section. Remove the AUTHORS
(of the man page) section, which does not appear in the original (FreeBSD)
manual page.
2010-05-04 05:49:12 +00:00
jruoho
9b64ec26b7 Update this, mechanically, to match the new functions and their prototypes.
XXX: Someone more familiar with the code should proofread the page and
     evaluate how well it reflects the reality in 2010.
2010-04-29 16:31:11 +00:00
jruoho
c9a477db24 Remove gsignal(9) and kgsignal(). Add links for kpgsignal(9) and kpsignal(9). 2010-04-29 15:57:18 +00:00
jruoho
34f98fcd60 Only use complete prototypes in the SYNOPSIS. 2010-04-29 14:57:55 +00:00
jruoho
3b3385bdaf Remove sched_psignal(9) and sigmasked(9). From Tetsuya Isaki in PR #40125. 2010-04-29 14:36:35 +00:00
dyoung
a5b1adfdda Document pci_chipset_tag_create(9) and pci_chipset_tag_destroy(9). 2010-04-28 21:15:47 +00:00
jruoho
20f7ac7fd9 Describe the struct iovec better. 2010-04-26 07:51:36 +00:00
jruoho
b8b5c1efc1 Small markup improvements. 2010-04-26 07:36:33 +00:00
rmind
2ddb8da453 Mention that kmem_free(9) may block, just in a case it is not clear. 2010-04-23 16:24:04 +00:00
jruoho
f683d4708d Use .Dv instead of .Va for #defined constants. 2010-04-18 15:19:17 +00:00
jruoho
86439b5e03 Add USENIX paper to SEE ALSO. 2010-04-17 06:38:13 +00:00
jruoho
3d285a9632 Correct the location of the header. 2010-04-17 06:24:05 +00:00
dyoung
9cd65b11c5 Add a link, bus_space_is_equal.9 -> bus_space.9. 2010-04-16 20:08:51 +00:00
dyoung
1640d389d9 Describe bus_space_is_equal(9). 2010-04-16 20:05:37 +00:00
jruoho
97cfc6c7ac Remove references to the deprecated powerhook_establish(9). 2010-04-15 08:40:46 +00:00
wiz
c8a3c41126 Join URL. 2010-04-14 13:05:43 +00:00
jruoho
594dcd23c7 Add the USENIX paper of the author to SEE ALSO. 2010-04-14 11:33:59 +00:00
jruoho
ec115686bd Now that all USENIX papers are available online, add URL to SEE ALSO. 2010-04-14 11:11:29 +00:00
jruoho
f429102086 Add the USENIX paper of Gregory McGarry to SEE ALSO. 2010-04-14 09:43:54 +00:00
jruoho
0cb92fb7f2 Refer to cpu_switchto(9) instead of nonexistent cpu_switch(9).
In addition, small markup changes.
2010-04-14 09:34:35 +00:00
jruoho
6d868497a0 Remove dead reference to scheduler(9). 2010-04-13 18:33:44 +00:00
jruoho
719e45f7e2 cpu_swapout(9) is no more. 2010-04-13 17:34:18 +00:00
jruoho
21f908ef6e Small changes to wording and markup. 2010-04-13 12:04:25 +00:00
jruoho
5548c53d9e Add HISTORY. 2010-04-13 11:01:22 +00:00
jruoho
d107f4f33b Minor markup nits. 2010-04-13 10:06:43 +00:00
jruoho
ac81adf1eb Fix roff warnings. Note btop() and btopr() on Solaris as an example. 2010-04-13 09:57:05 +00:00
jruoho
c23d982d62 Document the ctod-family of macros from <sys/param.h>.
XXX: Someone may want to check if there is anything to add or correct.
2010-04-13 08:40:19 +00:00
jruoho
b5156a256f Add a BUGS section. 2010-04-13 08:24:31 +00:00
jruoho
e0fa2da951 As the cited setroot(9) was nonexistent, briefly document it here. 2010-04-13 07:32:31 +00:00
jruoho
39b9362274 Bump date for previous. 2010-04-13 07:16:31 +00:00
jruoho
34aa6cb261 Provide prototypes in SYNOPSIS; use only parameter names in FUNCTIONS. 2010-04-13 07:14:45 +00:00
jruoho
5151444312 Cosmetics. 2010-04-13 06:21:40 +00:00
jruoho
60f41fb8c3 Improvements to wording and markup. 2010-04-13 06:05:56 +00:00
jruoho
a8e44989a9 Refer to cpu_switchto(9) instead of nonexistent cpu_switch(x). 2010-04-13 05:41:53 +00:00
jruoho
daf86c0ae0 Briefly note also curlwp. 2010-04-13 05:40:12 +00:00
jruoho
ee515c2a1b Add a FUNCTIONS section.
In addition, small improvements to wording and markup.
2010-04-12 21:28:55 +00:00
wiz
64ce15555f Make ready for HTML output.
Add RCS Id.
2010-04-11 21:32:10 +00:00
jruoho
b8e3089560 Document the CTLTYPEs. In addition, split some paragraphs to make the page
less exhaustive to read.
2010-04-11 06:50:30 +00:00
jruoho
d9e2b65012 Use .Nm. 2010-04-11 05:40:16 +00:00
pgoyette
730da12998 Use a typedef to define the prototype of the per-sensor callback.
Update manpage for the prototype, and fix a fubar'd Cross-reference.
2010-04-11 01:12:28 +00:00
wiz
8936a2b72c Mark up NULL with Dv. 2010-04-10 21:10:10 +00:00
pgoyette
fd12662344 Update for recent changes. 2010-04-10 19:03:56 +00:00
joerg
4f69f7fc94 No trailing whitespace 2010-04-05 19:36:29 +00:00
joerg
c028b86dc1 \\ -> \e 2010-04-05 19:34:28 +00:00
joerg
9b58421eae Drop redundant macros. Drop incorrect , 2010-04-05 19:32:55 +00:00
joerg
33b407486f Drop incorrect , 2010-04-05 19:31:29 +00:00
joerg
e026e4ad4b Drop redundant macros. 2010-04-05 19:29:32 +00:00
joerg
bc84af88e0 \\ -> \e 2010-04-05 19:26:27 +00:00
joerg
d262adc4a9 Canonical prolog order 2010-04-05 19:18:45 +00:00
dyoung
f358f659f6 Change some references to <machine/bus.h> to <sys/bus.h>. MI drivers
should #include <sys/bus.h>. <sys/bus.h> #includes <machine/bus.h> for
the MD implementation details.
2010-04-05 18:24:24 +00:00
wiz
4013e73f8c Uppercase Dt argument. Fix a typo. Improve wording in one sentence. 2010-03-26 19:43:04 +00:00
wiz
dcfc2c5bc2 Split Nm argument in NAME section on multiple lines, like usual. 2010-03-26 19:40:41 +00:00
jruoho
c6f31e5d95 Vaguely describe the frame-parameter. Beautify. 2010-03-25 15:17:38 +00:00
jruoho
cbdab0119f In addition to 'hz', document also 'tick', 'tickadj', 'stathz', and 'profhz'.
The idea comes from OpenBSD, but this was written largely based on the
comments in kern_clock.c. XXX: schedhz?
2010-03-25 14:59:36 +00:00
jruoho
c7e9fc77aa Document p_find(), pfind(), pg_find(), and pgfind().
XXX: Needs a quick proofread.
2010-03-25 10:09:54 +00:00
joerg
5e015e5e29 Use .In instead of .Aq Pa for header files. 2010-03-22 18:58:31 +00:00
jruoho
d1a604fd21 Document the questionable ISSET/SET/CLR macros. 2010-03-22 10:32:48 +00:00
wiz
598aaef034 Remove trailing whitespace. Use Nm instead of Xr to itself. 2010-03-19 08:37:16 +00:00
pgoyette
03645b1cba Document the new sysmon_envsys_sensor_event() function. 2010-03-19 02:20:44 +00:00
pgoyette
0dfc14482d Update to reflect recent removal of monitor member from envsys_data_t
structure.
2010-03-18 22:11:48 +00:00
jruoho
3897bd77a0 Add also the SMBus specification. 2010-03-17 18:55:13 +00:00
jruoho
4bd1df86d8 Add the specification from NXP to SEE ALSO. 2010-03-17 18:45:19 +00:00
jruoho
90d0830c17 Some minor improvements to wording, grammar, and markup. 2010-03-17 07:31:14 +00:00
jruoho
547239adc3 Use .Bx to write 4.4BSD. 2010-03-07 05:37:25 +00:00
wiz
bee10f32c6 Fix typos and sort SEE ALSO. 2010-03-06 22:02:31 +00:00
wiz
3978d01fed Fix Xr and sort SEE ALSO. 2010-03-06 22:02:15 +00:00
dsieger
9347a4aa25 Since someone (hi ahoka) added a reference to non-existant sched_m2(9),
add at least a stub now.
2010-03-06 16:42:55 +00:00
dsieger
f9c180d112 Minor wording correction. 2010-03-05 23:08:18 +00:00
jruoho
703b195ed6 Instead of "int hz", use "extern int hz". 2010-03-04 09:57:12 +00:00
jruoho
2e35a3d99f Document the counting and rounding macros from <sys/param.h>. 2010-03-04 08:09:51 +00:00
pooka
8a20bde1e6 update description of deffs 2010-03-03 13:57:35 +00:00
jruoho
bb3d11e472 Reference bitstring(3). 2010-03-02 06:37:11 +00:00
jruoho
8e87fd3e95 Document the bitmap related macros in <sys/param.h>. 2010-03-01 19:09:41 +00:00
jruoho
a866b2a004 In addition to mstohz(9), document also hztoms. 2010-03-01 17:21:02 +00:00
wiz
d2a81ca5b2 Uncomment crash(8) reference. 2010-02-25 17:15:55 +00:00
wiz
0b21d3cb0d Avoid marking up punctuation. 2010-02-25 12:58:18 +00:00
wiz
0db48f7ae6 Bump date. 2010-02-25 12:56:37 +00:00
pgoyette
534b080729 Update for recent changes to data structures. 2010-02-25 03:11:25 +00:00
dyoung
36a12fdb8f Don't mention cardbus_free_tag() and Cardbus_free_tag(), they are no
more.
2010-02-25 00:50:52 +00:00
dyoung
7fbd1e3f5b Update the doco, just in case somebody adds a new CardBus driver
before I've finished tucking CardBus under the PCI abstraction,
unlikely though that is.
2010-02-24 23:49:34 +00:00
dyoung
c1b390d493 A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
2010-02-24 22:37:54 +00:00
wiz
95c5212343 Consistently call the file system "ext2". 2010-02-21 13:28:12 +00:00
cnst
a64a3071ec grammar in kprintf.9 (s/or/and/ and add some commas); ok wiz, pgoyette 2010-02-17 22:04:14 +00:00
wiz
0e14adec54 Remove trailing whitespace. 2010-02-16 19:59:31 +00:00
rmind
2ef24fabcc kpreempt(9): add a note when kernel preemption is disabled/deferred.
Sprinkle cross-links, bump dates.
2010-02-16 19:21:30 +00:00
wiz
6cad968a08 Bump date for vrele_async.
Reword slightly and put it outside the vget description.
2010-02-13 07:48:01 +00:00
wiz
c4dead9fc6 Bump date for new kmem_asprintf. 2010-02-13 07:44:11 +00:00
dyoung
69429c8e59 Start a new paragraph before describing kmem_asprintf(). 2010-02-12 01:04:05 +00:00
dyoung
4f24123d8f Fix a typo in the MLINKS line for kmem.9. 2010-02-12 01:00:22 +00:00
dyoung
d3057cdd9e Add nmi(9), a manual page for the x86-only
nmi_establish(9)/nmi_disestablish(9) routines.
2010-02-12 00:45:37 +00:00
haad
1527fc9caf Hook kmem_asprintf and vrele_async manpages to the build. 2010-02-11 23:28:53 +00:00
haad
aa8090778a Add vrele_async routine which asynchronously release vnodes in different contex
and in some time in the future.

Ok: ad@.
2010-02-11 23:16:35 +00:00
haad
a23681588b Add kmem_asprintf rotuine which allocates string accordingly to format
string from kmem pool. Allocated string is string length + 1 char for ending
zero.

Ok: ad@.
2010-02-11 23:13:46 +00:00
dyoung
187677b054 Do not mention shutdownhook_establish(9) and doshutdownhooks(9), but
mention pmf(9) and pmf_system_shutdown(9), instead.
2010-02-11 18:23:32 +00:00
dyoung
7f002bf60c Change mentions of doshutdownhooks(9) to pmf_system_shutdown(9). 2010-02-11 18:22:26 +00:00
dyoung
7ee20bbe58 Mention that dopowerhooks(9) is deprecated. Suggest to use
pmf_system_suspend(9), instead.
2010-02-11 18:20:38 +00:00
dyoung
36df9c03c8 Mention that doshutdownhooks(9) is deprecated. Suggest to use
pmf_system_shutdown(9), instead.
2010-02-11 18:17:43 +00:00
dyoung
6cf928b20c Do not reference deprecated API shutdownhook_establish(9), but reference
pmf(9), instead.
2010-02-11 18:11:37 +00:00
wiz
e9ce9a115f Xref i386/splraise.9 and bump date for previous. 2010-02-07 10:49:35 +00:00
dyoung
31c659dfea Move MD spllower(9) and splraise(9) doco from the MI spl(9) to an i386
manual page.
2010-02-06 22:32:07 +00:00
wiz
4acfa334d0 Bump date for SEE ALSO change. 2010-01-31 21:25:51 +00:00
jruoho
eb534fdc5d Do not advertise deprecated APIs in an important introductory manual page. 2010-01-31 21:21:13 +00:00
jruoho
58bcffdb05 Add couple instances of .Pp. 2010-01-29 11:24:31 +00:00
wiz
e0df74826a Bump date for reorg. 2010-01-27 06:50:40 +00:00
jruoho
72c95671ed Revert previous. 2010-01-26 22:35:11 +00:00
jruoho
be22957280 Give it a single name; it is sufficient to list the functions in the SYNOPSIS. 2010-01-26 21:50:57 +00:00
jruoho
9bca5c6314 Capitalize one more title. Use a complete sentence in CODE REFERENCES. 2010-01-26 21:40:34 +00:00
jruoho
c67fb61a01 Move the complete prototypes to the SYNOPSIS. Also capitalize the titles. 2010-01-26 21:37:02 +00:00
pgoyette
5bbbb70cb0 Fix .Bl markup - s/-compat/-compact/ 2010-01-26 18:08:24 +00:00
jruoho
951041f5f8 Document also the sysmon power switches; sysmon_pswitch(9). 2010-01-26 14:00:38 +00:00
jruoho
4bd7b88b38 Mention that all tasks are executed before the halt. 2010-01-26 08:48:39 +00:00
jruoho
a1ce08be6b Build links for rest of the sysmon_taskq(9) functions. 2010-01-26 08:14:09 +00:00
jruoho
4e017432fa Clarify that sysmon_task_queue_init() should be called from arch-specific
routine.
2010-01-26 07:58:16 +00:00
jruoho
5f432f93a1 Document also rest of the functions. 2010-01-26 07:53:25 +00:00
jruoho
1555fa1c4f Instead of "general purpose task queue", call it "general purpose system
monitoring task queue". Also include a paragraph about the intended usage.
2010-01-26 07:12:06 +00:00
jruoho
c6660bc8ea Improve wording. 2010-01-25 20:09:15 +00:00
jruoho
7f23851633 Add the names of the parameters to the section describing the functions. 2010-01-25 19:58:46 +00:00
jruoho
a86c90369f Do not list complete prototypes in the sections describing the functions. 2010-01-25 19:34:37 +00:00
jruoho
af55ae111c Add a RETURN VALUES section. 2010-01-25 18:25:08 +00:00
jruoho
2e3ba4a495 Remove two consecutive commas in the SEE ALSO section. 2010-01-25 17:27:41 +00:00
jruoho
fe5633bcc1 Add a simple manual page for the simple sysmon task queue.
ok wiz@
2010-01-25 16:16:33 +00:00
jruoho
3b7a2db110 Add CTASSERT(9). From FreeBSD.
ok @wiz
2010-01-25 07:51:17 +00:00
jruoho
0b84726dd6 Provide a FUNCTIONS section and remove the types from the functions therein. 2010-01-24 14:14:55 +00:00
wiz
f376c25ee8 Remove xref to itself from SEE ALSO. 2010-01-23 10:38:17 +00:00
wiz
3404992663 Remove trailing whitespace, fix xref to xcall. 2010-01-23 10:37:21 +00:00
wiz
5362627462 Whitespace fix. 2010-01-23 10:37:01 +00:00
wiz
23a66a2d20 Fix Dt, remove trailing whitespace, sort SEE ALSO. 2010-01-23 10:36:42 +00:00
rmind
5f2a9469d1 Cross-link a little. 2010-01-23 00:54:43 +00:00
rmind
3de1bc0741 xcall(9): correct the point about preemption, add NOTES, do not mentioned
some implementation details.
2010-01-23 00:47:03 +00:00
rmind
48290c7a18 Remove xc_init_cpu(), percpu_init(), percpu_init_cpu() - they are part
of implementation, not public API.  OK dyoung@.
2010-01-23 00:17:07 +00:00
rmind
ea2aef81a8 Rename xc(9) to xcall(9). OK dyoung@. 2010-01-23 00:03:38 +00:00
dyoung
5efa5cba1b Per rmind@'s suggestion, describe the cross-call implementation in more
detail (by pulling more text from sys/kern/subr_xcall.c).

Mention that a cross-call can be preempted, and xref kpreempt(9).
2010-01-22 23:27:01 +00:00
dyoung
e54b20a385 Install manual pages for cross-calls and per-CPU storage. 2010-01-22 23:14:28 +00:00
dyoung
045697a27b Add a manual page for cross-calls. Somebody should read this to
make sure I've described it correctly and intelligibly.

TBD: hook this up in the Makefile and in the set lists.
2010-01-22 20:43:48 +00:00
dyoung
a4693cbb4b Cross-reference xc(9) instead of queue(9). 2010-01-22 20:41:50 +00:00
dyoung
aa310e1ddd Add missing .El. 2010-01-22 20:40:36 +00:00
dyoung
cd1709255c Move a start of sentence to the first column. 2010-01-22 20:27:57 +00:00
dyoung
3246497ec1 Mention all of the API routines in the NAME section, and capitalize
'percpu'.  Also in the NAME section, call it a "Per-CPU storage
allocator."
2010-01-22 20:18:46 +00:00
dyoung
6a3223be07 Add a manual page for per-CPU storage. Somebody should read this to
make sure I've described it correctly and intelligibly.

TBD: hook this up in the Makefile and in the set lists.
2010-01-22 20:11:16 +00:00
wiz
e19b1da713 Fix typo. Make HTML-ready. Remove trailing whitespace. Add dot in
abbreviation.
2010-01-22 10:28:08 +00:00
hubertf
4be2fea5d0 Document sysctls 2010-01-22 09:18:07 +00:00
pooka
1ca57fc3a6 add short description for bpf.9 2010-01-20 12:09:39 +00:00
wiz
341409ee85 Bump date for previous. 2010-01-20 07:27:21 +00:00
dyoung
b042b809d6 Update PMF documentation: rename pmf_device_resume_subtree to
pmf_device_subtree_resume.  Briefly describe pmf_qual_t and add it to
the PMF function signatures.

There's still a lot left to document.
2010-01-20 00:39:30 +00:00
pooka
f7353c3dbb Remove MKLINKS for VATTR_NULL, so that the obsolete lists don't
have to do the work every build.
2010-01-20 00:35:05 +00:00
wiz
a9c45a9667 Remove empty line. Bump date for previous. 2010-01-08 13:57:29 +00:00
pooka
4b8d8af4b8 Undocument checkalias() -- it was removed two years ago. 2010-01-08 13:15:45 +00:00
pooka
648b32e7e0 vcount() was removed 2010-01-08 13:10:48 +00:00
pooka
1e2c1aedaf Remove documentation for removed macros. 2010-01-08 12:41:33 +00:00
rmind
adff6195d5 pcq(9): use more accurate wording, do not expose implementation details. 2010-01-08 12:12:49 +00:00
dyoung
0109fc751f Install pcq.9 and links. Update set list accordingly. 2010-01-08 06:25:14 +00:00
pooka
711aa0a221 fix markup (this is how i have enough things to commit) 2010-01-08 00:45:50 +00:00
pooka
6f8c79f758 * update copypasted struct vattr (nobody wants manpages autogenerated
from interface descriptions because then we'd all be out of
  things to commit)
* make "CODE REFERENCES" make a little more sense
2010-01-08 00:43:57 +00:00
wiz
1f8dff0603 Sort NAME section and removing trailing dot; remove duplicate RCS Id. 2010-01-04 23:06:34 +00:00
dyoung
e3420c6750 Add a manual page for producer/consumer queues, pcq(9), that I derived
from some documentation written by Matt Thomas.
2010-01-04 18:00:26 +00:00
wiz
4a0fd88b26 Add missing dot. 2009-12-30 14:53:02 +00:00
jnemeth
7f88d89f59 mdoclint 2009-12-30 01:37:17 +00:00
haad
7d611c439e Mention problems which disk api have with concurrent usage remove splbio
line from man page because it is not true anymore, mention disk_isbusy and
add dm driver to references.
2009-12-30 00:08:01 +00:00
bad
be6a186a3c Fix argument names in description of pool_cache_init(). 2009-12-24 22:45:15 +00:00
wiz
7a07d59d7b Remove trailing whitespace, make HTML-ready, sort sections. 2009-12-22 11:56:14 +00:00
dyoung
956cd94758 Describe arguments "allocfn", "freefn", and "source" of vmem_create(9)
in more detail.  Describe vmem_add(9).  Write a new BUGS section that
warns about aspects of vmem(9) behavior that may surprise first-time
users.
2009-12-21 22:49:18 +00:00
matt
a0ead35a8e uvm_page_physload takes paddr_t's not vaddr_t's. 2009-12-21 20:57:31 +00:00
snj
946a137e1d A couple small grammar fixes. From Constantine Aleksandrovich Murenin. 2009-12-19 00:16:51 +00:00
mbalmer
ea9e4b3733 Fix typographics errors. 2009-12-08 09:23:06 +00:00
dyoung
8f3647df11 Don't mention the activate interface, since config_activate() has been
gone for a while, now.
2009-12-07 23:50:39 +00:00
pooka
4a2258a070 remove cv_wakeup.9 (it wasn't documented, just linked) 2009-12-05 22:43:34 +00:00
pooka
70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
explorer
7ba2798f6e Assign copyright to TNF 2009-12-01 01:33:25 +00:00
mbalmer
124961627e s/the the/the/ 2009-11-22 18:40:26 +00:00
wiz
0a08e1d808 Remove trailing space. Remove unnecessary Pp before Sh. 2009-11-17 19:34:29 +00:00
dyoung
de7882afa1 Describe spllower(9) and splraise(9). 2009-11-17 18:36:07 +00:00
rmind
66d36229df Sync declarations with reality, bump date. 2009-11-11 08:43:18 +00:00
wiz
b368ff1382 Remove leading zero from Dd. New sentence, new line. 2009-11-07 08:52:26 +00:00
cegger
7e7e0a568b Update pmap(9) manpage:
- Document new flags argument for pmap_kenter_pa
- Document new flags argument for pmap_enter as well
- Document the prot argument for pmap_kenter_pa. This is copy&pasted from
  pmap_enter.
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006436.html
Thanks to Martin Husemann for his comments to the original patch version.
2009-11-07 07:37:46 +00:00
wiz
23a6db9cd7 Drop trailing whitespace; use full month name in Dd. 2009-11-05 09:55:38 +00:00
dyoung
8f33cec11c Document the device iteration routines.
I derived this manual page from pmf(9), hence my retention of Jared's
copyright notice.
2009-11-05 00:20:24 +00:00
wiz
470b4b9167 Fix Dt, improve Nd, remove trailing whitespace. 2009-11-03 11:04:32 +00:00
dyoung
e5ffb6d32f Install the manual page return_address(9). 2009-11-03 05:12:10 +00:00
dyoung
3d5b001d3f Add return_address(9) for reading the Nth return address from the call
stack.
2009-11-03 05:08:18 +00:00
wiz
823d48dac8 Bump date for previous. 2009-10-29 01:52:39 +00:00
njoly
a53601df2e Remove callback_entry ce description which has nothing to do with
callback_run_roundrobin() function.
2009-10-28 18:20:41 +00:00
joerg
c943bacea0 Use .%U inside of .Rs/.Re. 2009-10-25 18:35:45 +00:00
rmind
12cd0447c5 pmap(9): G/C pmap_collect, bump date. 2009-10-21 23:33:32 +00:00
wiz
467a0fa1ae Bump date for uarea swap-out removal. 2009-10-21 22:18:37 +00:00
rmind
40cf6f3659 Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.
2009-10-21 21:11:57 +00:00
snj
176f5f951d Drop 3rd and 4th clauses. OK jmcneill (copyright holder). 2009-10-21 16:06:59 +00:00
rmind
993cb03302 Drop 3rd and 4th clauses from David Young's license.
Reviewed and approved by dyoung@ (copyright holder).
2009-10-19 23:19:37 +00:00
bouyer
6d07b400dc Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !
2009-10-19 18:41:07 +00:00
jym
6ddc6bb7bf Remove pool_cache_invalidate_local(9) from the sets, and mark the
entries as obsolete.

Noted by haad@. Thanks!
2009-10-15 22:59:12 +00:00
thorpej
1f59a448f4 - pool_cache_invalidate(): broadcast a cross-call to drain the per-CPU
caches before draining the global cache.
- pool_cache_invalidate_local(): remove.
2009-10-15 20:50:12 +00:00
joerg
59da3d1cf9 Fix markup. 2009-10-14 23:55:26 +00:00
wiz
6a3270412c Bump date for new pool_cache_invalidate_local(). 2009-10-08 23:15:26 +00:00
jym
31629a1342 Add pool_cache_invalidate_local() to the pool_cache(9) API, to permit
per-CPU objects invalidation when cached in the pool cache.

See http://mail-index.netbsd.org/tech-kern/2009/10/05/msg006206.html .

Reviewed by bouyer@. Thanks!
2009-10-08 21:54:45 +00:00
rmind
43533de20b Add callback(9) man page. Reviewed and improved by <wiz>, thanks! 2009-10-05 23:44:10 +00:00
wiz
0fe31f2e87 Drop trailing whitespace. 2009-10-03 07:37:01 +00:00
elad
1df9608023 Centralize documentation about exported sysctl variables in the relevant
secmodel's man-page.
2009-10-02 20:31:19 +00:00
elad
52734536eb Bump date to today's date (rather than when the changes were made). 2009-10-02 19:50:37 +00:00
elad
53ca19a3b3 First part of secmodel cleanup and other misc. changes:
- Separate the suser part of the bsd44 secmodel into its own secmodel
    and directory, pending even more cleanups. For revision history
    purposes, the original location of the files was

        src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
        src/sys/secmodel/bsd44/suser.h

  - Add a man-page for secmodel_suser(9) and update the one for
    secmodel_bsd44(9).

  - Add a "secmodel" module class and use it. Userland program and
    documentation updated.

  - Manage secmodel count (nsecmodels) through the module framework.
    This eliminates the need for secmodel_{,de}register() calls in
    secmodel code.

  - Prepare for secmodel modularization by adding relevant module bits.
    The secmodels don't allow auto unload. The bsd44 secmodel depends
    on the suser and securelevel secmodels. The overlay secmodel depends
    on the bsd44 secmodel. As the module class is only cosmetic, and to
    prevent ambiguity, the bsd44 and overlay secmodels are prefixed with
    "secmodel_".

  - Adapt the overlay secmodel to recent changes (mainly vnode scope).

  - Stop using link-sets for the sysctl node(s) creation.

  - Keep sysctl variables under nodes of their relevant secmodels. In
    other words, don't create duplicates for the suser/securelevel
    secmodels under the bsd44 secmodel, as the latter is merely used
    for "grouping".

  - For the suser and securelevel secmodels, "advertise presence" in
    relevant sysctl nodes (sysctl.security.models.{suser,securelevel}).

  - Get rid of the LKM preprocessor stuff.

  - As secmodels are now modules, there's no need for an explicit call
    to secmodel_start(); it's handled by the module framework. That
    said, the module framework was adjusted to properly load secmodels
    early during system startup.

  - Adapt rump to changes: Instead of using empty stubs for securelevel,
    simply use the suser secmodel. Also replace secmodel_start() with a
    call to secmodel_suser_start().

  - 5.99.20.

Testing was done on i386 ("release" build). Spearated module_init()
changes were tested on sparc and sparc64 as well by martin@ (thanks!).

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
2009-10-02 18:50:12 +00:00
cegger
c108d28f64 fix grammar: a -> an 2009-10-02 09:38:29 +00:00
apb
8e181d0741 .Xs -> .Dq.
There's no such thing as ".Xs"; it was a typo for ".Sx".  However,
.Sx is intended for references to another section of the same man page,
not for references to sections of a different man page.
2009-09-28 18:28:59 +00:00
joerg
e3d4da1b77 Do not use a list in the synopsis, groff doesn't like that. 2009-09-28 14:11:56 +00:00
wiz
91b16df666 Bump date for today's changes. 2009-09-27 21:05:55 +00:00
dholland
8d36057243 Move a big wodge of symlink-following code from nfsd to inside
lookup_for_nfsd(). This code is, or at least should be, the same as
the regular symlink-following code plus an extra flag nfsd needs.

The two lots of code can/will be merged in the future.
2009-09-27 17:23:53 +00:00
dholland
fb458255a3 Rename lookup() to lookup_for_nfsd(), to make it clear just whose
private backdoor entry point this is.

Also, clone the lookup_for_nfsd() entry point as
lookup_for_nfsd_index(), for use by a different call site in nfsd that
does different unclean things with nameidata.
2009-09-27 17:19:07 +00:00
dyoung
a823c63033 Don't install config_activate links such as config_activate.9 ->
autoconf.9.  In the set list, mark the config_activate links
obsolete.
2009-09-16 22:52:40 +00:00
dyoung
55270c28ac Delete documentation for config_activate(9), it does not exist any
more.
2009-09-16 22:47:29 +00:00
wiz
c384d22d4b Bump date for previous; add comma in enumeration. 2009-09-11 19:44:03 +00:00
apb
7ab65de0a9 Expose the kernel's boothowto(9) variable through the sysctl
kern.boothowto variable.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:14:58 +00:00
jym
1390556a02 Fix typo. 2009-09-06 19:46:24 +00:00
apb
ed9a80fd00 Sort bzero to the correct position 2009-09-05 16:13:21 +00:00
wiz
2f1a87b0ee Various fixes; be more kind to mdoclint. 2009-09-05 11:32:36 +00:00
apb
d0e6aa56a4 The man page should be BOOT_FLAG.9, not BOOT_FLAGS.9.
I am not marking the incorrect name as "obsolete" in the set lists
because it's been less than 12 hours.  If you have already installed the
incorrectly named file, you will have to delete it manually.
2009-09-05 08:55:40 +00:00
apb
a9dda51fb1 Add cross references to new boothowto(9) man page. 2009-09-04 23:29:02 +00:00
apb
6d833d69e5 Add a boothowto(9) man page, and link it to BOOT_FLAGS(9). 2009-09-04 23:23:04 +00:00
plunky
e28378f7d1 confusing pooka.
manpage improvements,
sunshine returns.
2009-09-04 11:34:38 +00:00
ahoka
b9e737479b Mention sched_m4. 2009-09-02 10:54:20 +00:00
wiz
7aaf57e150 Bump date for previous. 2009-08-10 22:36:37 +00:00