Commit Graph

71570 Commits

Author SHA1 Message Date
Warner Losh c38b6719e5 No need to conditionalize on pci being in the kernel for this 2002-03-20 19:13:13 +00:00
Warner Losh e7b110dcf7 Fix minor style(9) violation in de__Ping 2002-03-20 19:04:56 +00:00
Warner Losh 91f60fd74f Better power code and better power diagnostics 2002-03-20 19:02:08 +00:00
Warner Losh 285ed29005 Define masks for the VCC an VPP voltages 2002-03-20 19:01:16 +00:00
David E. O'Brien d0ce7d0078 Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
Dag-Erling Smørgrav 8aa556efab Add www category 2002-03-20 18:40:40 +00:00
Ruslan Ermilov bd42830f0f Make lint(1) a cross-tool.
(See commit log for usr.bin/xlint/Makefile,v 1.11 for what was wrong
with enabling build of lint libraries in rev. 1.12.)

This fixes cross-arch compiles (running binaries for a different arch
when generating lint.7 and lint libraries) and cross-branch compiles
(4.x -> 5.0 buildworld should be working again).
2002-03-20 18:25:50 +00:00
Alfred Perlstein 51dbee9db1 Remove __P. 2002-03-20 18:22:19 +00:00
Archie Cobbs b051f61562 Document support for 56-bit keys. 2002-03-20 18:16:18 +00:00
David E. O'Brien 06989891ed Fix warnings on 64-bit hosts. 2002-03-20 18:04:11 +00:00
John Baldwin 8d0747c9c8 Document that MD pcpu fields are defined in PCPU_MD_FIELDS in
machine/pcpu.h.

Requested by:	dillon
2002-03-20 18:01:52 +00:00
David Malone 527f5ce021 Two minor changes to dirhash, which result in some marginal benchmark
improvements.

1) If deleting an entry results in a chain of deleted slots ending in an
   empty slot, then we can be a bit more aggressive about marking slots as
   empty.

2) The last stage of the FNV hash is to xor the last byte of data
   into the hash. This means that filenames which differ only in
   the last byte will be placed close to one another in the hash
   table, which forms longer chains. To work around this common
   case, we also hash in the address of the dirhash structure.

     news/cancel = news/articles/control/cancel for a tradspool inn server
     squid2 = squid level 2 directory (dirs called 00->FF)
     squid3 = squid level 3 directory (files called 00001F00->00001FFF)

                             mean #probes for
                  home dir  mh inbox  news/cancel  tmp    squid2  squid3
old   successful  1.02      3.19      4.07         1.10    7.85   2.06
new   successful  1.04      1.32      1.27         1.04    1.93   1.17

old unsuccessful  1.08      4.50      5.37         1.17   10.76   2.69
new unsuccessful  1.08      1.73      1.64         1.17    2.89   1.37

Reviewed by:	iedowse
MFC after:	2 weeks
2002-03-20 17:58:02 +00:00
David E. O'Brien 3d438ad61f Remove 'register' keyword.
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
 "register" -- just how many free registers do people think machines have?)
2002-03-20 17:55:10 +00:00
Doug Rabson a2763677ec Change intr_enable to intr_restore for consistency with sparc64. 2002-03-20 17:28:40 +00:00
Ruslan Ermilov ebba8a0edc Install manpage for old -me macro package.
(me.7 has been repo-copied to orig_me.7.)
2002-03-20 16:26:35 +00:00
Andrew R. Reiter c457a4403a - Change a check of securelevel to securelevel_gt() call in order to help
against users within a jail attempting to load kernel modules.
- Add a check of securelevel_gt() to vfs_mount() in order to chop some
  low hanging fruit for the repair of securelevel checking of linking and
  unlinking files from within jails.  There is more to be done here.

Reviewed by: rwatson
2002-03-20 16:03:42 +00:00
Orion Hodson f0f3379ed5 Send periodic ARP requests when ARP entries for hosts we are sending
to are about to expire.  This prevents high packet rate flows from
experiencing packet drops at the sender following ARP cache entry
timeout.

PR:		kern/25517
Reviewed by:	luigi
MFC after:	7 days
2002-03-20 15:56:36 +00:00
Ruslan Ermilov 50dce955e4 Grammar nits. 2002-03-20 15:09:32 +00:00
Ruslan Ermilov 60685ebe6d Fix a typo. 2002-03-20 14:47:36 +00:00
Andrew R. Reiter dca9d05526 - Remove a semi-colon from after SYSINIT that was introduced in rev. 1.163. 2002-03-20 14:46:38 +00:00
Ruslan Ermilov 1caae05702 mdoc(7) police: tidy up. 2002-03-20 14:33:37 +00:00
Ruslan Ermilov 6dd2704c7a mdoc(7) police: Fixed the spammage of this file with trailing whitespaces
in revisions 1.26-1.28.  Fixed two bugs in punctuation cleanup in rev. 1.27.
Removed hard sentence break not killed by rev. 1.26.
2002-03-20 13:40:08 +00:00
KATO Takenori 26b2476ba6 MFi386: revision 1.65. 2002-03-20 12:28:03 +00:00
KATO Takenori 68ee1c91c8 Remove __P. 2002-03-20 12:22:31 +00:00
KATO Takenori 237a429e22 Remove __P. 2002-03-20 11:52:56 +00:00
KATO Takenori a3535ef8a4 MFi386: revision 1.505 (remove __P.) 2002-03-20 11:31:17 +00:00
KATO Takenori eca3d78127 MFi386: revision 1.504. 2002-03-20 11:15:05 +00:00
KATO Takenori 881cfd8387 MFi386: revision 1.503. 2002-03-20 11:13:41 +00:00
Mark Murray a6565444bd For the sake of consistency, remove an include that is included in
a previous include. All other files in this app do this.
2002-03-20 10:35:51 +00:00
Jeff Roberson 851031501a Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 10:35:22 +00:00
Mark Murray ecca1f1c0a Remove __P(). 2002-03-20 10:32:05 +00:00
Jeff Roberson 2684b6af7a Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 10:17:00 +00:00
Jeff Roberson 070adb7022 Remove unused include. 2002-03-20 10:12:07 +00:00
Jeff Roberson ab426dc822 Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 10:07:52 +00:00
Doug Rabson c526161420 Replace calls to cpu_critical_enter/exit with appropriate calls to
either explicitly disable interrupts or use a real critical section,
as appropriate.
2002-03-20 10:04:08 +00:00
Doug Rabson 95f7adfa1a Recreate intr_disable/intr_enable and implement cpu_critical_enter/exit
in terms of that (for now).
2002-03-20 10:00:05 +00:00
Jeff Roberson 421e6a659e Remove unused include. 2002-03-20 09:55:07 +00:00
Jeff Roberson c186f9b280 Remove unused header. 2002-03-20 09:46:04 +00:00
Crist J. Clark 6ee2a895d6 Add a paragraph break I missed in my last update. 2002-03-20 09:39:37 +00:00
Ruslan Ermilov 7b7aae4225 Fixed the NO_PERL braino. 2002-03-20 09:39:16 +00:00
Darren Reed 266ef5ec2d * add extra -I path to get the "matching" header files. (and split the one
line up into three to make it more readable)
2002-03-20 09:04:34 +00:00
Darren Reed 1bdb47d692 * add extra -I path to get the "matching" header files. 2002-03-20 09:02:48 +00:00
Darren Reed b62a26b14e * need to compile printnat.c now that this function is in a separate .c file
* add extra -I path to get the "matching" header files.
2002-03-20 09:01:48 +00:00
Mike Barcroft d345176dc7 When invoked with no file arguments, display usage.
Submitted by:	Tim J. Robbins <tim@robbins.dropbear.id.au>
PR:		36074

Use new ID scheme.
2002-03-20 08:59:20 +00:00
Darren Reed 99a4a5a867 * ipftest now compiles with IPFILTER_LOG and needs ip_log.c to be able to
do the log regression test.
* dumping state/nat entries is also possible, outputting this information is
  in the print{state,nat}.c files.
2002-03-20 08:57:10 +00:00
Alfred Perlstein 15fe306743 Remove __P. 2002-03-20 08:56:31 +00:00
Poul-Henning Kamp c7ec79b076 Various style issues from a recent brucification:
use uint_%dt not u_int%dt
  Avoid LL suffixed intergers where we can by using explicit casts.
  (The last two I don't know how to avoid.)
  Add an explanation why truncation rather than rounding is used.

Inspired by:	bde
2002-03-20 08:48:21 +00:00
Jeff Roberson e2f8f8a6b6 Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 08:48:07 +00:00
Jeff Roberson 9454002711 Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 08:03:54 +00:00
Alfred Perlstein 03d1b8bc94 Remove __P. 2002-03-20 08:00:54 +00:00