Commit Graph

61876 Commits

Author SHA1 Message Date
Ian Dowse
9b5ad47fb7 Bring in dirhash, a simple hash-based lookup optimisation for large
directories. When enabled via "options UFS_DIRHASH", in-core hash
arrays are maintained for large directories. These allow all
directory operations to take place quickly instead of requiring
long linear searches. For now anyway, dirhash is not enabled by
default.

The in-core hash arrays have a memory requirement that is approximately
half the size of the size of the on-disk directory file. A number
of new sysctl variables allow control over which directories get
hashed and over the maximum amount of memory that dirhash will use:

  vfs.ufs.dirhash_minsize
    The minimum on-disk directory size for which hashing should be
    used. The default is 2560 (2.5k).

  vfs.ufs.dirhash_maxmem
    The system-wide maximum total memory to be used by dirhash data
    structures. The default is 2097152 (2MB).

The current amount of memory being used by dirhash is visible
through the read-only sysctl variable vfs.ufs.dirhash_maxmem.
Finally, some extra sanity checks that are enabled by default, but
which may have an impact on performance, can be disabled by setting
vfs.ufs.dirhash_docheck to 0.

Discussed on: -fs, -hackers
2001-07-10 21:21:29 +00:00
Ruslan Ermilov
63b2f7728a mdoc(7) police: eliminate warnings. 2001-07-10 18:43:07 +00:00
Ruslan Ermilov
eb89426722 mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
Ruslan Ermilov
0c93b033d5 mdoc(7) police: sort SEE ALSO xrefs. 2001-07-10 17:52:29 +00:00
David E. O'Brien
115fef5637 VCS ID fixup 2001-07-10 17:50:46 +00:00
David E. O'Brien
c34d5912ba style nits 2001-07-10 17:48:07 +00:00
Ruslan Ermilov
83f96682da Add $FreeBSD$ CVS tag. 2001-07-10 17:23:07 +00:00
Ruslan Ermilov
edfa7141c3 Upgrade to Groff 1.17.2. 2001-07-10 17:15:52 +00:00
Ruslan Ermilov
0fb3975219 Merge Groff 1.17.2 changes. 2001-07-10 17:15:31 +00:00
Ruslan Ermilov
a972cdc741 Use stock (FSF) version of this file. 2001-07-10 17:14:46 +00:00
Mark Murray
b4248e7919 Provide a hint for the OPIE 'insecure' mode. 2001-07-10 17:11:02 +00:00
Ruslan Ermilov
1e98c32d1b This commit was generated by cvs2svn to compensate for changes in r79546,
which included commits to RCS files with non-trunk default branches.
2001-07-10 17:10:51 +00:00
Ruslan Ermilov
66d14a309a This commit was generated by cvs2svn to compensate for changes in r79543,
which included commits to RCS files with non-trunk default branches.
2001-07-10 17:09:00 +00:00
Ruslan Ermilov
5ecb0ad24f Virgin import of FSF groff v1.17.2 2001-07-10 17:09:00 +00:00
Mark Murray
84f39079c5 Fix a horrible bug introduced by myself where the options collection
keeps on growing as the module stack is parsed.
2001-07-10 16:59:30 +00:00
Doug Rabson
ecab3d453e Make this build again after breakage from previous commits. 2001-07-10 16:18:20 +00:00
Ruslan Ermilov
3d45e180f4 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:31:11 +00:00
Ruslan Ermilov
a4c37c816b mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
Maxim Sobolev
0add99417d bzip2(1) is in the base system - we don't need /usr/local/bin in the PATH
anymore.
2001-07-10 15:10:47 +00:00
Ruslan Ermilov
625003720a mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
Kazutaka YOKOTA
44b37d9627 Fix dependencies between kernel options:
- When both SC_PIXEL_MODE and SC_NO_FONT_LOADING are defined,
  quietly drop SC_NO_FONT_LOADING, because the pixel(raster)
  console requires font.
- When SC_NO_FONT_LOADING is defined, force SC_ALT_MOUSE_IMAGE.
  Without font, the arrow-shaped mouse cursor cannot be drawn.
- Fiddle and simplify some internal macros.
MFC after:	2 weeks
2001-07-10 14:13:34 +00:00
Sheldon Hearn
d193eadbdf Fix typo: "fending of" -> "fending off" 2001-07-10 14:09:37 +00:00
Ruslan Ermilov
a307d59838 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 13:41:46 +00:00
Ruslan Ermilov
9fe48c6e8d mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
Ruslan Ermilov
0efe23d669 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:49:54 +00:00
Ruslan Ermilov
63919764c2 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:42:19 +00:00
Ruslan Ermilov
caa2db3be9 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:04:09 +00:00
Yoshihiro Takahashi
214de8c67f Added #include <sys/proc.h>
Submitted by:	Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
2001-07-10 09:59:52 +00:00
Ruslan Ermilov
5bfebe7bec mdoc(7) police: minor markup tweaks. 2001-07-10 09:37:53 +00:00
Ruslan Ermilov
448087ae70 mdoc(7) police:
Restored .Pa for ``dumpdates'' (it's still a file).
Also, removed duplicate ``file'' words.
2001-07-10 09:34:55 +00:00
Ruslan Ermilov
189f28a091 mdoc(7) police: eliminate warnings, fix markup. 2001-07-10 08:04:09 +00:00
Alfred Perlstein
d248afb3b2 Sort MAN= section. 2001-07-10 07:42:35 +00:00
Jun-ichiro itojun Hagino
497397af65 netbsd 1.5.1 is in jul 2001 (available via ftp already, but we need a concrete
date of the announcement)

couple of URL fixes.  From: Petri Koistinen <pkoistin@cs.stadia.fi>
(http://www.byte.com/art/9410/sec8/art3.htm is now a dangling link.
any alternative URL?)
2001-07-10 07:29:11 +00:00
Alfred Perlstein
8adb2d7b0e Install:
cdevsw_add.9 cdevsw_remove.9 devsw.9
major.9 minor.9 umajor.9 uminor.9 vn_isdisk.9
2001-07-10 07:28:11 +00:00
Alfred Perlstein
f1ccaa63b8 Document some of the dev_t related APIs.
Submitted by: Chad David <davidc@acns.ab.ca>
2001-07-10 07:25:18 +00:00
Crist J. Clark
9dbb5e6869 Fix rule parsing breakage introduced in 1.103 cleanup. 'tcp' and
'icmp' rules could drop into infinite loops when given bad arguments.

Reviewed by:	ru, des
Approved by:	ru
2001-07-10 05:44:51 +00:00
Warner Losh
f939cab371 Use INTR_TYPE_AV rather than INTR_TYPE_MISC for the interrupt for
pci interrupts for the bridge.
2001-07-10 04:43:21 +00:00
Alfred Perlstein
5c5e4328d3 Link in new manpages:
BUF_LOCK.9 BUF_LOCKFREE.9 BUF_LOCKINIT.9
BUF_REFCNT.9 BUF_TIMELOCK.9 BUF_UNLOCK.9
lockcount.9 lockdestroy.9 lockmgr.9 lockmgr_printinfo.9 lockstatus.9
2001-07-10 04:35:22 +00:00
Alfred Perlstein
983bb14077 Note that this function is for debugging purposes. 2001-07-10 04:31:33 +00:00
Alfred Perlstein
275a0fac29 Fix explanation of LK_SLEEPFAIL option.
Remove extra period from end of sentance.
2001-07-10 04:29:24 +00:00
Alfred Perlstein
ec12cfb58b fix typos: s/BUF_LOCK/BUF_TIMELOCK, order xrefs. 2001-07-10 04:27:03 +00:00
Alfred Perlstein
82ed18ac0c Document some of the kernel API dealing with locks used primarily by VFS.
Submitted by: Chad David <davidc@acns.ab.ca>
2001-07-10 04:22:14 +00:00
David E. O'Brien
8dfd7bcddf MFS: add the FreeBSD history. 2001-07-10 00:12:50 +00:00
David E. O'Brien
6e6c8a08c8 Give the FreeBSD history also. 2001-07-10 00:11:00 +00:00
Peter Wemm
57385865a9 Somehow I missed this. Use INTR_TYPE_AV (high priority) instead of
INTR_TYPE_TTY (lowest priority).
2001-07-09 23:44:54 +00:00
David E. O'Brien
fb8d590c0e style nit 2001-07-09 23:12:23 +00:00
David E. O'Brien
ae394d3ffc Add LIBBZ2. 2001-07-09 22:00:32 +00:00
Mike Smith
dfcd35dd08 Whoops; we get an ACPI_OBJECT back from evaluating a method, not
an ACPI_OPERAND_OBJECT.  Fix this so that the power resource type
can be properly checked, and we can get the system level and
resource order.
2001-07-09 21:24:59 +00:00
Bruce A. Mah
20dc1576ee New release notes: sysctl for TCP ISN fix, fsck_msdosfs(8), dump(8) -D,
OPIE replaced S/Key.
2001-07-09 21:21:38 +00:00
Joerg Wunsch
0e17a5bcdb Log when the user is turning debugging on/off.
Also sanitize the TRACE* macros a bit so they syntactically behave like
single C statements (even inside in `if' statement).

Submitted by:	des
2001-07-09 21:11:10 +00:00