Commit Graph

2436 Commits

Author SHA1 Message Date
yamt a22529c8e8 document ucas 2011-10-24 07:31:31 +00:00
yamt f2ae74d707 - document RESCHED_KPREEMPT
- "Specifically" -> "Typically" in the paragraph which says what this
  function can do, because they are merely examples.
2011-10-24 07:30:29 +00:00
yamt fe2648528f update the description of the priority argument. 2011-10-24 07:27:09 +00:00
yamt 60b270881f - document XC_HIGHPRI
- explicitly note that xc_wait requires thread context.
2011-10-24 07:25:51 +00:00
njoly c7188eceb8 Use .In macro. 2011-10-20 12:14:12 +00:00
wiz 9ec9f2859c Use Aq instead of \*[Lt]...\*[Gt] 2011-10-20 10:36:42 +00:00
jruoho 1e1471bd00 Xref mstohz(9) and tvtohz(9) with each other. 2011-10-20 09:31:00 +00:00
jruoho 5d9e77ad94 Do not use xcall(9) in cpufreq_register(9), as it requires kthreads to be
running and may impose hacks like config_interrupts(9) in the backend.
2011-10-20 06:48:24 +00:00
jruoho 288ab9d2db Note that manually loaded modules are not auto-unloaded. 2011-10-18 14:12:04 +00:00
jruoho 987b86de6d Xref i2cscan(8). 2011-10-15 16:35:45 +00:00
wiz 6df1df0810 Remove superfluous Pp. 2011-10-06 08:59:01 +00:00
jruoho 6f8d5ab1c7 Add kcpuset(9). Ok rmind@. 2011-10-06 05:23:39 +00:00
njoly 3a909f7545 There's no stand alone vpanic.9 man page. 2011-09-30 15:47:20 +00:00
jruoho 5647e2ae42 Note the order of the dummy boolean states. 2011-09-30 04:21:17 +00:00
christos ce9eaca580 add vpanic 2011-09-29 20:55:49 +00:00
wiz 702b53cc2e Add missing comma. 2011-09-28 11:50:42 +00:00
jruoho 0e33087b6d Bump date and add one missing note. 2011-09-28 11:42:00 +00:00
jruoho a179648071 Add a simple cpufreq(9).
This is slightly improved version presented on tech-kern@ with proper
locking and few additional functions, mainly required for ioctl(9)/cpuctl(8).
2011-09-28 10:55:46 +00:00
jym 586001f7c7 Document new *ASSERTMSG() prototype, and update KASSERT(9).
See also
http://mail-index.netbsd.org/tech-kern/2011/09/07/msg011427.html
2011-09-27 00:36:49 +00:00
jym b8647b8e93 Update list of algorithm identifiers available in opencrypto(9). 2011-09-16 22:27:36 +00:00
wiz 7915776d56 Remove trailing whitespace. 2011-09-05 18:21:29 +00:00
dyoung 7add4c1ae4 Update vmem(9). Changes to the implementation and usage are following,
soon.
2011-09-02 22:07:33 +00:00
dyoung 7d12941ccd Describe pci_bus_devorder(9).
TBD: symbolic link pci_bus_devorder.9 -> pci.9.
2011-08-25 02:01:32 +00:00
wiz 098681c432 Bump date for previous. 2011-08-23 22:14:51 +00:00
dyoung 64311e1f9d Introduce a couple of new constants, VMEM_ADDR_MIN (the least possible
address in a vmem(9) arena, 0) and VMEM_ADDR_MAX (the maximum possible
address, currently 0xFFFFFFFF).  Modify several boundary conditions so
that a vmem(9) arena can allocate ranges including VMEM_ADDR_MAX.
Update documentation and tests.

These changes pass the tests in sys/kern/subr_vmem.c.  To compile the
and run the test program, run "cd sys/kern/ && gcc -DVMEM_SANITY -o
subr_vmem ./subr_vmem.c && ./subr_vmem".
2011-08-23 22:00:57 +00:00
rmind a0ffc02ab8 Rename slightly misleading KTHREAD_JOINABLE to KTHREAD_MUSTJOIN. 2011-08-07 14:03:15 +00:00
rmind 83fa217ed7 Fix .Xr to membar_ops(3), not membar(9). Spotted by wiz@. 2011-08-07 12:29:24 +00:00
wiz 5303ff6102 Whitespace nits. 2011-08-02 10:17:35 +00:00
rmind d06d3e7845 Add pserialize(9) manual page. 2011-07-30 18:19:04 +00:00
jym 175b1728c7 And struct cfdata => cfdata_t too... 2011-07-23 16:04:35 +00:00
jym c3f2a905be struct device => device_t. Bump date. 2011-07-23 16:02:15 +00:00
jruoho 0ead7c269a Xref delay(9) and kpause(9) with each other. 2011-07-20 05:20:54 +00:00
dholland 6afd4e5087 typo 2011-07-18 04:39:28 +00:00
joerg 3eb244d801 Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
hannken 49511bba25 Change VOP_BWRITE() to take a vnode as its first argument like all other
VOPs do.  Layered file systems no longer have to modify bp->b_vp and run
into trouble when an async VOP_BWRITE() uses the wrong vnode.

- change all occurences of VOP_BWRITE(bp) to VOP_BWRITE(bp->b_vp, bp).
- remove layer_bwrite().
- welcome to 5.99.55

Adresses PR kern/38762 panic: vwakeup: neg numoutput

No objections from tech-kern@.
2011-07-11 08:27:37 +00:00
wiz 5002f12c95 Sort error descriptions. 2011-07-09 07:57:53 +00:00
dyoung acbb3ce8b3 Describe some of the expected return codes from bus_dmamap_load(9). 2011-07-08 22:38:08 +00:00
wiz 837dee575f Remove trailing whitespace, use Er for errors, break some lines to avoid
unintended markup.
2011-07-08 19:40:24 +00:00
dyoung 5fc6496c2d Describe bus_space_tag_create(9) and bus_space_tag_destroy(9) for
implementing bus spaces in MI code.

(This documentation may be several hours ahead of the implementation,
sorry.)
2011-07-06 21:36:16 +00:00
dyoung 9063212b84 Document bus_space_reserve(9), bus_space_reserve_subregion(9),
bus_space_release(9), bus_space_reservation_map(9),
bus_space_reservation_unmap(9), bus_space_reservation_addr(9),
bus_space_reservation_size(9), bus_space_handle_is_equal(9).
2011-07-06 18:27:31 +00:00
dyoung 92f34ea0d6 Bump date. 2011-07-01 22:06:19 +00:00
dyoung 1832697851 Switch machine/bus.h references to machine/bus_defs.h and
machine/bus_funcs.h references.
2011-07-01 22:05:28 +00:00
dyoung 5c997b3e12 Reference <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 17:34:44 +00:00
wiz 4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
wiz 8e12ffad8d Mark up NULL. 2011-06-14 07:49:09 +00:00
rmind 3f1c6aa712 Update getnewvnode(9) description. 2011-06-14 00:56:02 +00:00
rmind 60e221031b VOP_LEASE(9) was removed long ago. Misc improvement. 2011-06-14 00:22:45 +00:00
rmind 1d2a79ab46 Describe ubc_purge(9). 2011-06-14 00:19:20 +00:00
rmind 15de01ccb7 Xr uvm_km(9) 2011-06-14 00:18:00 +00:00
nonaka a5706f7ee2 Removed non-existent wsfont_getflg() functions.
Const'fy name in struct wsdisplay_font.
Fixed some typo.
2011-06-13 15:24:21 +00:00
rmind 3b0ab829be Sync (mostly, not fully) uvm_km(9) and uvm_map(9) man pages with reality. 2011-06-03 18:43:38 +00:00
wiz 203a6ec972 Sort SEE ALSO. 2011-06-03 08:06:54 +00:00
yamt ea2d998dd1 correct the section number of membar_producer. noted by wiz@ 2011-06-03 04:33:31 +00:00
yamt 82bfd3cade mention memory barriers necessary for non-interlocked adaptive mutex release. 2011-06-02 00:58:26 +00:00
dyoung bc07e228a2 Describe the arguments to ctor and dtor. 2011-06-01 20:49:22 +00:00
jruoho 29ca3fb160 Fix a typo. 2011-06-01 11:19:19 +00:00
rmind 7524727f91 Split parts of uvm(9) into uvm_km(9) and uvm_map(9) man pages.
OK mrg@
2011-06-01 02:22:18 +00:00
dyoung 9a37c59cd7 MI drivers should #include <sys/bus.h> not <machine/bus.h>. 2011-05-30 01:48:40 +00:00
drochner 5fafa9c424 -in the descriptor for encryption xforms, split the "blocksize" field
into "blocksize" and "IV size"
-add an "reinit" function pointer which, if set, means that the xform
 does its IV handling itself and doesn't want the default CBC handling
 by the framework (poor name, but left that way to avoid unecessary
 differences)
This syncs with Open/FreeBSD, purpose is to allow non-CBC transforms.
Refer to ivsize instead of blocksize where appropriate.
(At this point, blocksize and ivsize are identical.)
2011-05-23 13:46:54 +00:00
wiz ee4a63b058 Improve wording. 2011-05-19 08:55:01 +00:00
rmind 95ea6d26ab Re-implement kthread_join(9), so that it actually works (hi haad@). 2011-05-19 03:07:29 +00:00
wiz 5f70e190b1 Improve wording. 2011-04-28 17:09:19 +00:00
wiz bd723a1420 New sentence, new line. 2011-04-28 17:08:29 +00:00
wiz 901cdb562b Typo fix. 2011-04-28 12:22:35 +00:00
wiz eafacad922 Bump date for uvm_swap_stats() removal; remove superfluous Pp. 2011-04-27 06:02:03 +00:00
rmind fe41737f5c Remove public uvm_swap_stats() routine, keep it internal. 2011-04-27 00:35:52 +00:00
hannken 87522af425 Change vflushbuf() to return an error if a synchronous write fails.
Welcome to 5.99.51.
2011-04-26 11:32:38 +00:00
wiz d154cf1438 Add missing word. 2011-04-25 22:31:12 +00:00
wiz 235dacfc64 Sort SEE ALSO, sort errors. 2011-04-25 22:08:18 +00:00
wiz 3d72e50534 Sort SEE ALSO. 2011-04-08 08:49:19 +00:00
jruoho bacb261ac9 Xref param(3). 2011-04-08 07:55:04 +00:00
jruoho d21d7bda46 Put back the example (removed in the revision 1.3). 2011-04-08 06:55:14 +00:00
jruoho 789c04236c Note also KASSERTMSG(). Small markup changes. 2011-04-06 05:40:18 +00:00
dyoung 38c5ac17f7 Update manual page for constification of pci_attach_args. 2011-04-05 14:57:33 +00:00
jruoho bb2c5893fc Remove a duplicate word, .Fn for functions, .Vt. 2011-03-30 21:40:01 +00:00
jruoho 5fe4360942 Fix xref; security(8) -> security(7). 2011-03-18 16:18:45 +00:00
jruoho 231352d485 Remove the bulk "this section describes places within [...]" -paragraph. 2011-03-17 10:02:54 +00:00
jruoho f5d26066d3 Tidy up the SEE ALSO section. Namely, do not duplicate a big list of xrefs
that are already used in the body of the text.
2011-03-13 05:03:21 +00:00
jruoho 66853c1034 Xref hpet(4) and hz(9). 2011-03-13 04:57:21 +00:00
wiz d377a246ac Fix typos. 2011-03-12 13:25:41 +00:00
jruoho 077cbf0f3c Add x86/tsc(9). 2011-03-11 19:50:33 +00:00
wiz 839b4739f5 Add comma in enumeration. 2011-02-27 06:25:07 +00:00
ahoka 2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
jym b7e3c0fc0b Notify that the file system has to be mounted first before modules can
be loaded from it.

ok pgoyette@
2011-02-13 16:50:16 +00:00
rmind f79a70df93 vn_lock: describe flags, remove reference to lockmgr. 2011-01-30 07:04:48 +00:00
rmind e5f51d8e44 Sync man page with reality. 2011-01-30 07:02:23 +00:00
wiz 16f356de90 Link kprintf(9) to device_printf(9). For David. 2011-01-27 14:48:36 +00:00
wiz 17d601176d Fix typo. 2011-01-26 09:53:20 +00:00
yamt b5ca7f5a5b - add some random notes
Basically, KASSERT() should be used for light-weight checks and
     KDASSERT() should be used for heavier ones.

     Callers should not rely on the side effects of expression because,
     depending on the kernel compile options mentioned above, expression might
     not be evaluated at all.

- Xr options(4)
- bump date
2011-01-25 23:46:48 +00:00
enami c25b258560 roundup2(x, y) does not assume that x is power of 2, but y is. 2011-01-24 10:22:15 +00:00
dyoung 609720ff85 Describe device_printf(9).
XXX Need symbolic link device_printf.9 -> kprintf.9.
2011-01-21 17:51:19 +00:00
dyoung 979fccad2b In the EXAMPLES section, use device_t and accessors instead of struct
device.
2011-01-14 18:34:44 +00:00
jnemeth 20fdec7661 Update module_autoload to say that a .plist file will be loaded, and if
that .plist contains noautoload=true then the system will refuse to load
the module.
2011-01-09 05:05:10 +00:00
jym 883680496d CONSIDERATION => CONSIDERATIONS, to be on par with the rest of man pages. 2011-01-08 18:07:14 +00:00
jmcneill 2295a2cf7a cdevsw/bdevsw d_type is now d_flag 2011-01-05 17:02:03 +00:00
jruoho 70a8aa1e92 Xref __insn_barrier(3) and mb(9) with each other. 2011-01-02 07:14:02 +00:00
wiz 06fb101b70 Improve wording. 2010-12-22 09:08:09 +00:00
jruoho dafc3c9d20 Note vm.user_va0_disable. 2010-12-21 08:53:25 +00:00
jruoho 91e230c6b8 Fix xref; module(4) -> module(7). 2010-12-14 16:23:59 +00:00
jruoho 4cda92a2b7 Note specifically that kernel modules can be loaded at securelevel 0.
In addition, some markup improvements.
2010-12-14 09:09:52 +00:00
jruoho 05a9f55544 Xref module(4). 2010-12-13 10:07:46 +00:00
cegger e758ac3c49 ossaudio(3) -> compat/ossaudio and soundcard.h
suggested by Ian Hibbert
2010-12-11 17:32:14 +00:00
cegger 7e86c61f2b add pci(4) and ossaudio(3)
yes, be careful. They can easily conflict. Actually when this happens kdump
fails compiling due to 'duplicate case value'
2010-12-11 17:15:03 +00:00
wiz 05859157e6 Remove boilerplate in CODE REFERENCES on file paths.
Describe in intro(9) how to read paths in the CODE REFERENCES section.
2010-12-02 12:54:13 +00:00
dholland fab6ef2374 Document pathbuf_assimilate, used by nfsd to move pathnames from mbufs to
pathbufs. It is like pathbuf_create but takes responsibility for the path
buffer passed in. (Because this is asymmetric, it carries an extra risk
of error and therefore shouldn't be used except where it's really needed.)
2010-11-30 10:32:46 +00:00
jnemeth 22405528a4 Rename the autoloaded property list from <module>.prop to <module>.plist
as discussed on tech-kern.
2010-11-28 00:26:38 +00:00
dholland 4756f11bab bump date for previous (thanks jnemeth) 2010-11-19 07:44:00 +00:00
dholland 8f6ed30d57 Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.
2010-11-19 06:44:33 +00:00
dholland 4bdbe49cd3 The "active" and "inactive" members of struct uvmexp were removed in
rev. 1.118 of uvm_extern.h with the merge of yamt-pdpolicy in 2006. So
they shouldn't still be documented as part of the structure. Bump date.
2010-11-08 02:56:12 +00:00
wiz 775a0dd1d6 Sort SEE ALSO. 2010-10-29 09:34:03 +00:00
jruoho dc49246760 Xref CTASSERT(9). 2010-10-28 09:48:11 +00:00
rmind 63012b51f1 NPF checkpoint:
- Add support for bi-directional NAT and redirection / port forwarding.
- Finish filtering on ICMP type/code and add filtering on TCP flags.
- Add support for TCP reset (RST) or ICMP destination unreachable on block.
- Fix a bunch of bugs; misc cleanup.
2010-09-16 04:53:27 +00:00
ahoka 812c293086 add a note on IPL and spinning mutexes
TODO: explain when the IPL will be restored
2010-09-14 21:35:53 +00:00
jnemeth 3a12eae410 note that MODULE_CLASS_SECMODEL is also automatically deregistered when being unloaded 2010-08-25 06:45:35 +00:00
rmind 3b6fdb92e5 Move npf.conf(5-8) into the correct section, hence npf.conf(5). 2010-08-24 23:55:04 +00:00
jruoho dfca43fdb9 Few small nits. 2010-08-24 05:34:15 +00:00
wiz 578d32c924 Add more articles and more formatting. 2010-08-22 20:36:09 +00:00
rmind 2e6f2099c6 Import NPF - a packet filter. Some features:
- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
pgoyette 7626bd9b32 Put a valid date here - no more placeholder. 2010-08-21 13:34:43 +00:00
pgoyette 4a743ad47d Define a set of new kernel locking primitives to implement the recursive
kernconfig_mutex.  Update module subsystem to use this mutex rather than
its own internal (non-recursive) mutex.  Make module_autoload() do its
own locking to be consistent with the rest of the module_xxx() calls.
Update module(9) man page appropriately.

As discussed on tech-kern over the last few weeks.

Welcome to NetBSD 5.99.39 !
2010-08-21 13:17:31 +00:00
wiz 0bba56f8fb Add x86 to Dt. 2010-08-21 10:38:51 +00:00
jruoho f7b06c8780 Move nmi(9) to the correct category. 2010-08-21 10:32:35 +00:00
wiz e02e23b4b6 Uppercase Dt argument. 2010-08-21 10:13:33 +00:00
jruoho 07deeab629 Add x86_msr_xcall(9). 2010-08-21 10:11:34 +00:00
pgoyette c6f8bef851 Note that, for MODULE_CLASS_SECMODEL, the class is not ignored. Rather,
we will automatically call secmodel_register() for these modules.
2010-08-18 01:56:45 +00:00
wiz 3ed879f06c filesystem -> file system 2010-08-17 06:44:25 +00:00
jnemeth 4de9b94cfd A few corrections:
- the return value from modcmd(MODULE_CMD_FINI) is not ignored;
  the module is only unloaded if the return value is 0
- if loading a module fails, the dependents won't be unloaded until
  the auto_unload timer goes off
- clarify that <module>.prop is merged with the dictionary passed
  in by modctl()
- clarify that other parts of the kernel shouldn't normally call
  module_unload()
- add some more source references and mention routines expected to
  be supplied by architecture dependent code
2010-08-17 04:09:07 +00:00
wiz efa04f9763 Sort sections, remove trailing whitespace. 2010-08-14 17:49:12 +00:00
pgoyette f385c3dade Add an Authors section 2010-08-14 17:06:58 +00:00
wiz ffe6b7cdc1 We usually write "file system", so change it to this version here.
Also, fix a typo, and remove a line only consisting of ".Fn ".
2010-08-11 20:10:55 +00:00
pgoyette 7a8c7dc74a Add documentation for the various module system initialization routines. 2010-08-11 18:20:09 +00:00
wiz 032d0f9a13 Remove trailing whitespace, and mark up file name suffix. 2010-08-08 15:23:28 +00:00
pgoyette f792e9e485 Filling in a few more gaps. 2010-08-08 14:26:22 +00:00
pgoyette 6241e2c44e Add documentation for module_find_section() 2010-08-07 22:21:30 +00:00
jruoho 33d83c93fd Wording, markup. 2010-08-07 16:41:34 +00:00
jruoho 2016543bde Don't use complete prototypes in FUNCTIONS. But use standard section headers. 2010-08-07 16:15:47 +00:00
wiz fe39a07b5f Fix typo. 2010-08-04 18:52:49 +00:00
jruoho da5cba2978 Improvements to wording, grammar, and markup. 2010-08-04 05:51:20 +00:00
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
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