Commit Graph

1675 Commits

Author SHA1 Message Date
attilio
037f2dd065 Update lockmgr manpage with last lockmgr modifies:
- Remove LK_SLEEPFAIL and LK_NOWAIT for lockinit() and add LK_QUIET and
  LK_NOPROFILE
- Include sys/lock.h as mandatory for the lockmgr support
2008-03-01 20:05:20 +00:00
brueffer
d314215169 Spell out the name of the month, normalize copyright layout. 2008-02-26 23:16:23 +00:00
davidc
a189eb7974 Add vfs_mountedfrom.9 to the build. 2008-02-26 21:40:30 +00:00
davidc
b867098437 Add new man page. 2008-02-26 21:39:59 +00:00
davidc
ccf58ad341 Add insmntque.9 to the build. 2008-02-26 21:11:05 +00:00
davidc
0de564a2fb Add new man page. 2008-02-26 21:09:54 +00:00
davidc
080543cd36 Link vholdl.9 to vhold.9 2008-02-26 21:03:20 +00:00
davidc
8f9a5ef13f Document vholdl(9)
No longer refer to vbusy(9) or vfree(9)
2008-02-26 20:25:01 +00:00
davidc
69ceadd39f Refer to vrefcnt(9) 2008-02-26 20:13:08 +00:00
davidc
f92e7d5b6c Minor grammar fixup. 2008-02-26 20:11:37 +00:00
davidc
3d2443d125 Add vrefcnt.9 to the build. 2008-02-26 20:10:32 +00:00
davidc
73d397d60a Add new man page. 2008-02-26 20:10:05 +00:00
attilio
98b1ca63ed Modify VOP_ISLOCKED() and lockstatus() prototypes in order to reflect
'thread' argument axing.
2008-02-25 19:12:01 +00:00
danger
0841980fe6 - fix typo
Submitted by:	Constantine A. Murenin <cnst@FreeBSD.org>
MFC after:	3 days
2008-02-15 23:56:33 +00:00
brueffer
ecd7efd241 Some language and mdoc style improvements. 2008-02-14 19:39:09 +00:00
attilio
588d2ab6cc Update manpage with lockmgr_assert() description. 2008-02-13 21:54:16 +00:00
brueffer
cafbfde84b Remove dublicate MLINK.
Submitted by:	David Naylor <blackdragon@highveldmail.co.za>
2008-02-13 09:50:37 +00:00
attilio
2656e4d699 Update manpage in order to reflect LK_NODUP and LK_NOWITNESS options
introduction.
2008-02-06 00:50:51 +00:00
phk
df9c99b9c2 Give MEXTADD() another argument to make both void pointers to the
free function controlable, instead of passing the KVA of the buffer
storage as the first argument.

Fix all conventional users of the API to pass the KVA of the buffer
as the first argument, to make this a no-op commit.

Likely break the only non-convetional user of the API, after informing
the relevant committer.

Update the mbuf(9) manual page, which was already out of sync on
this point.

Bump __FreeBSD_version to 800016 as there is no way to tell how
many arguments a CPP macro needs any other way.

This paves the way for giving sendfile(9) a way to wait for the
passed storage to have been accessed before returning.

This does not affect the memory layout or size of mbufs.

Parental oversight by:	sam and rwatson.

No MFC is anticipated.
2008-02-01 19:36:27 +00:00
obrien
d325c7e921 Add to the history section. 2008-01-27 03:58:22 +00:00
attilio
0db277677c Reflect lockcount() axing and lockmgr() prototype changing. 2008-01-24 14:17:52 +00:00
attilio
a0619f9b6e Add manpages for BUF_RECURSED(9) and BUF_ISLOCKED(9) and connect them to
the build.

Reviewed by: brueffer
2008-01-22 21:26:35 +00:00
attilio
32e7c5ef2f Add the newly added function lockmgr_recursed() to the manpages. 2008-01-22 20:16:09 +00:00
attilio
0aea123e54 BUF_REFCNT(9) function no more exists, so just axe out the manpage. 2008-01-22 20:02:24 +00:00
attilio
6fb7e0c2bd Fix lock.9 manpage in order to recall lockmgr_disown() with 'man' command. 2008-01-22 19:58:30 +00:00
attilio
11e3c3ef90 Update VOP_LOCK() and VOP_UNLOCK() prototypes.
Leave 'td' argument description as it is used by VOP_ISLOCKED(). It will
be axed in further commit.
2008-01-18 22:09:29 +00:00
maxim
def8091f39 o .Dd.year++. 2008-01-12 21:07:03 +00:00
maxim
25ee59b777 o Do not claim vlan(4) uses mbuf_tags(9).
PR:		docs/11959
Submitted by:	Alexander Chernikov
MFC after:	1 week
2008-01-12 19:37:18 +00:00
brueffer
7acb3fd07e Removed a contraction. 2008-01-10 19:11:37 +00:00
attilio
73bfa7b891 Update vn_lock() prototype accordingly with the 'thread' argument removal. 2008-01-10 01:23:59 +00:00
brueffer
bf42a73d64 Fix typos. 2008-01-09 08:08:56 +00:00
attilio
bb203b2edf Add lockmgr_disown() and relative explanation. 2008-01-09 02:10:32 +00:00
grog
237cf99d30 "redacted" replaced for clarity. 2008-01-05 21:39:21 +00:00
attilio
c720b77ca9 Trimm out now unused option LK_EXCLUPGRADE from the lockmgr namespace.
This option just adds complexity and the new implementation no longer
will support it, so axing it now that it is unused is probabilly the
better idea.

FreeBSD version is bumped in order to reflect the KPI breakage introduced
by this patch.

In the ports tree, kris found that only old OSKit code uses it, but as
it is thought to work only on 2.x kernels serie, version bumping will
solve any problem.
2007-12-28 00:38:13 +00:00
attilio
4ab9fbda4e Garbage-collect following nomore existing options:
- LK_REENABLE
- LK_NOPAUSE
- LK_NOOBJ
2007-12-27 22:33:30 +00:00
rwatson
5aac9e4cdb Use .An -nosplit in the AUTHORS section of sf_buf(9) to avoid an undesired
line break.

MFC after:	3 days
2007-12-19 20:34:09 +00:00
brueffer
a9274fa45d Add missing section number. 2007-12-19 08:01:24 +00:00
imp
5dbc9c7397 Add verbage on some of the rules for a 'filter' vs an 'ithread'
interrupt handler.
2007-12-19 01:26:34 +00:00
rwatson
99285f7544 Break out stack(9) from ddb(4):
- Introduce per-architecture stack_machdep.c to hold stack_save(9).
- Introduce per-architecture machine/stack.h to capture any common
  definitions required between db_trace.c and stack_machdep.c.
- Add new kernel option "options STACK"; we will build in stack(9) if it is
  defined, or also if "options DDB" is defined to provide compatibility
  with existing users of stack(9).

Add new stack_save_td(9) function, which allows the capture of a stacktrace
of another thread rather than the current thread, which the existing
stack_save(9) was limited to.  It requires that the thread be neither
swapped out nor running, which is the responsibility of the consumer to
enforce.

Update stack(9) man page.

Build tested:	amd64, arm, i386, ia64, powerpc, sparc64, sun4v
Runtime tested:	amd64 (rwatson), arm (cognet), i386 (rwatson)
2007-12-02 20:40:35 +00:00
rwatson
090235e567 Modify stack(9) stack_print() and stack_sbuf_print() routines to use new
linker interfaces for looking up function names and offsets from
instruction pointers.  Create two variants of each call: one that is
"DDB-safe" and avoids locking in the linker, and one that is safe for
use in live kernels, by virtue of observing locking, and in particular
safe when kernel modules are being loaded and unloaded simultaneous to
their use.  This will allow them to be used outside of debugging
contexts.

Modify two of three current stack(9) consumers to use the DDB-safe
interfaces, as they run in low-level debugging contexts, such as inside
lockmgr(9) and the kernel memory allocator.

Update man page.
2007-12-01 22:04:16 +00:00
rwatson
e1786b6798 Add description of stack_print() and MLINK. 2007-11-29 17:16:55 +00:00
rwatson
df59374ff1 Fix spelling of stack_capture() to stack_save(). 2007-11-28 12:04:08 +00:00
rwatson
c103c92c27 Add a man page for stack(9).
MFC after:	1 week
2007-11-27 11:02:41 +00:00
brueffer
d09a872f93 Bump .Dd for previous revision. 2007-11-26 15:21:21 +00:00
brueffer
fe29db8e3b Clean up after previous revision. 2007-11-25 16:14:32 +00:00
attilio
9dbbf0c556 Update sx(9) lock manpage in order to add missing prototypes for function
sx_slock_sig() and sx_xlock_sig() and their respective explanation.
2007-11-25 01:55:53 +00:00
attilio
eda62b5e41 Update rwlock(9) manpage adding missing bits about the rw_init_flags()
function, its options and explaining that recursion for writers can be
selectively enabled.

Reported by: rwatson, Skip Ford <skip at menantico dot com>
2007-11-25 01:53:58 +00:00
gabor
076ec4e674 - Add callout_init_rw.9 to MLINKS of timeout.9
Forgotten by:	gabor
Reminded by:	ru
2007-11-20 14:13:49 +00:00
gabor
84ff46e888 - Document newly added callout_init_rw function
Requested by:	attilio
Reviewed by:	attilio
2007-11-20 12:21:36 +00:00
ru
0e0d2af7e9 Sort. 2007-11-13 20:26:27 +00:00