Commit graph

71595 commits

Author SHA1 Message Date
Jeff Roberson 46d0abf370 Remove references to vm_zone.h and switch over to the new uma API. 2002-03-21 00:48:25 +00:00
Bruce Evans fef402be9d Removed all files in libm except README-FREEBSD and files needed to
implement tgamma().
2002-03-21 00:42:48 +00:00
Alfred Perlstein 91f5bcb812 Remove __P.
profile.h and bus.h were excluded because there is currently WIP.

Reviewed by: tmm
2002-03-21 00:06:55 +00:00
Alfred Perlstein e41ed5da90 Remove __P.
Reviewd by: peter
2002-03-20 23:30:31 +00:00
Alfred Perlstein 812344bc0b Remove __P.
Reveiwed by: benno
2002-03-20 23:17:50 +00:00
David E. O'Brien 701de7a951 Manpages moved into doc/ for 2.12. 2002-03-20 23:13:45 +00:00
David E. O'Brien 615836eeac Update to Binutils 2.12.0 release. 2002-03-20 23:05:19 +00:00
Warner Losh b70cd7ee68 o __P removed
o ansi function prototypes
o unifdef -D__STDC__
o __dead2 on usage prototype
o remove now-bogus main prototype
2002-03-20 22:57:10 +00:00
Warner Losh 73bf18edb8 o remove __P
o Use ansi function definitions
o unifdef -D__STDC__
2002-03-20 22:53:13 +00:00
Warner Losh 2db673ab00 o remove __P
o Use ANSI function definitions
o unifdef -D__STDC__
2002-03-20 22:49:40 +00:00
Dag-Erling Smørgrav 97ec1da11a Note that portions of this software were
Sponsored by:	DARPA, NAI Labs
2002-03-20 22:10:10 +00:00
David E. O'Brien 694ba608d4 Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.12.0.
2002-03-20 22:04:42 +00:00
David E. O'Brien 0b17d82867 Use the stock version of this. 2002-03-20 22:03:53 +00:00
David E. O'Brien 76d0de241e Bring the 2.12.0 release version of this to the HEAD branch. 2002-03-20 22:02:35 +00:00
Dag-Erling Smørgrav 3a17de1501 - Change the prompt from "S/Key Password: " to "OPIE Password: "
- If the user doesn't have an OPIE key, don't challenge him.  This is
   a workaround until I get PAM to work properly with ssh2.

Sponsored by:	DARPA, NAI Labs
2002-03-20 22:02:02 +00:00
David E. O'Brien 1a00a2a761 Commit the stock 2.12.0 release version. 2002-03-20 21:59:13 +00:00
David E. O'Brien 771ecfb273 This commit was generated by cvs2svn to compensate for changes in r92828,
which included commits to RCS files with non-trunk default branches.
2002-03-20 21:37:13 +00:00
David E. O'Brien 55ba99bb8d Import of Binutils from the FSF 2.12 branch (just post-.0 release).
These bits are taken from the FSF anoncvs repo on 20-March-2002 13:33:33 PST.
2002-03-20 21:37:13 +00:00
Jeff Roberson 59295dba57 UMA permited us to utilize the 'waitok' flag to soalloc. 2002-03-20 21:23:26 +00:00
Thomas Moestl df9ee370ed Add 6 models which have been successfully booted into multi-user mode
(Ultra 1, Ultra 30, Netra t1, Enterprise 220R, Enterprise 250 and
Enterprise 450R).

Thanks go to the following people for giving us access to their machines
or repeatedly testing kernels (in alphabetical order): Tim G. Børresen,
Jan Chrillesen, mux, phk and Tomi Vainio.

Reviewed by:	bmah (slightly different version)
2002-03-20 21:14:00 +00:00
John Baldwin 01c04d2de9 Change the way we ensure td_ucred is NULL if DIAGNOSTIC is defined.
Instead of caching the ucred reference, just go ahead and eat the
decerement and increment of the refcount.  Now that Giant is pushed down
into crfree(), we no longer have to get Giant in the common case.  In the
case when we are actually free'ing the ucred, we would normally free it on
the next kernel entry, so the cost there is not new, just in a different
place.  This also removse td_cache_ucred from struct thread.  This is
still only done #ifdef DIAGNOSTIC.

[ missed this file in the previous commit ]

Tested on:	i386, alpha
2002-03-20 21:12:04 +00:00
John Baldwin f25fcd64b8 Change the way we ensure td_ucred is NULL if DIAGNOSTIC is defined.
Instead of caching the ucred reference, just go ahead and eat the
decerement and increment of the refcount.  Now that Giant is pushed down
into crfree(), we no longer have to get Giant in the common case.  In the
case when we are actually free'ing the ucred, we would normally free it on
the next kernel entry, so the cost there is not new, just in a different
place.  This also removse td_cache_ucred from struct thread.  This is
still only done #ifdef DIAGNOSTIC.

Tested on:	i386, alpha
2002-03-20 21:09:09 +00:00
John Baldwin c1a513c951 - Push down Giant into crfree() in the case that we actually free a ucred.
- Add a cred_free_thread() function (conditional on DIAGNOSTICS) that drops
  a per-thread ucred reference to be used in debugging code when leaving
  the kernel.
2002-03-20 21:00:50 +00:00
John Baldwin 565f27f116 Add PCI ID for the SeaLevel Ultra 530.PCI single port card.
Sponsored by:	The Weather Channel
2002-03-20 19:38:26 +00:00
Warner Losh d82f87481f Minor cleanups to post.mk from bde. Mostly ordering 2002-03-20 19:18:42 +00:00
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