]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoThis commit was generated by cvs2svn to compensate for changes in r156678,
harti [Mon, 13 Mar 2006 09:37:22 +0000 (09:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r156678,
which included commits to RCS files with non-trunk default branches.

18 years agoVendor fix: small man fixes, fix type names u_int8_t -> uint8_t.
harti [Mon, 13 Mar 2006 09:37:22 +0000 (09:37 +0000)]
Vendor fix: small man fixes, fix type names u_int8_t -> uint8_t.

18 years agoDon't import tree.h from the distribution - we have our own one in sys.
harti [Mon, 13 Mar 2006 09:30:26 +0000 (09:30 +0000)]
Don't import tree.h from the distribution - we have our own one in sys.

18 years agoThere has been a shared libdisk for a couple of days until it was reverted
harti [Mon, 13 Mar 2006 09:28:46 +0000 (09:28 +0000)]
There has been a shared libdisk for a couple of days until it was reverted
back to be static-only in january. For this period libdisk was used by
the HOSTRES module for bsnmp which was then rewritten to use libgeom. The
only other consumer of libdisk is sysinstall so removing the shared library
should be safe.

18 years agoSilence some warnings by defining configuration preprocessor symbols.
harti [Mon, 13 Mar 2006 09:23:51 +0000 (09:23 +0000)]
Silence some warnings by defining configuration preprocessor symbols.

18 years agoFix the format/display descriptor of vm.kmem_size and vm.kmem_free
ps [Mon, 13 Mar 2006 08:13:37 +0000 (08:13 +0000)]
Fix the format/display descriptor of vm.kmem_size and vm.kmem_free
to be 'long' instead of 'int' so that sysctl(8) correctly displays
the 8 returned bytes as a single 'long' instead of two 'int' values.

Submitted by: peter

18 years agoQuote ${CC} when passing it in environment.
ru [Mon, 13 Mar 2006 06:38:22 +0000 (06:38 +0000)]
Quote ${CC} when passing it in environment.

Submitted by: bde

18 years agons_name_skip was recently redefined to __ns_name_skip
deischen [Mon, 13 Mar 2006 04:49:40 +0000 (04:49 +0000)]
ns_name_skip was recently redefined to __ns_name_skip
like the others in <include/arpa/nameser.h>.

Submitted by: ume

18 years agoMake _spinunlock() point to the spinunlock stub, not the
deischen [Mon, 13 Mar 2006 01:17:39 +0000 (01:17 +0000)]
Make _spinunlock() point to the spinunlock stub, not the
spinlock stub.

18 years agoAdd each directory's symbol map file to SYM_MAPS.
deischen [Mon, 13 Mar 2006 01:15:01 +0000 (01:15 +0000)]
Add each directory's symbol map file to SYM_MAPS.

18 years ago- Reimplement I/O data allocation to prevent deadlocks.
pjd [Mon, 13 Mar 2006 01:03:18 +0000 (01:03 +0000)]
- Reimplement I/O data allocation to prevent deadlocks.

Submitted by: green

- Speed up synchronization process by using configurable number of I/O
  requests in parallel.
  + Add kern.geom.raid3.sync_requests tunable which defines how many parallel
    I/O requests should be used.
  + Retire kern.geom.raid3.reqs_per_sync and kern.geom.raid3.syncs_per_sec
    sysctls.
- Fix race between regular and synchronization requests.
- Reimplement raid3's data synchronization - do not use the topology lock
  for this purpose, as it may case deadlocks.
- Stop synchronization from pre-sync hook.
- Fix some other minor issues.

Tested by: Mike Tancsa <mike@sentex.net>
MFC after: 3 days

18 years agoAdd compatibility symbol maps. libpthread (.so.1 and .so.2)
deischen [Mon, 13 Mar 2006 00:59:51 +0000 (00:59 +0000)]
Add compatibility symbol maps.  libpthread (.so.1 and .so.2)
used LIBTHREAD_1_0 as its version definition, but now needs
to define its symbols in the same namespace used by libc.
The compatibility hooks allows you to use libraries and
binaries built and linked to libpthread before libc was
built with symbol versioning.  The shims can be removed if
libpthread is given a version bump.

Reviewed by: davidxu

18 years ago- Speed up synchronization process by using configurable number of I/O
pjd [Mon, 13 Mar 2006 00:58:41 +0000 (00:58 +0000)]
- Speed up synchronization process by using configurable number of I/O
  requests in parallel.
  + Add kern.geom.mirror.sync_requests tunable which defines how many parallel
    I/O requests should be used.
  + Retire kern.geom.mirror.reqs_per_sync and kern.geom.mirror.syncs_per_sec
    sysctls.
- Fix race between regular and synchronization requests.
- Reimplement mirror's data synchronization - do not use the topology lock
  for this purpose, as it may case deadlocks.
- Stop synchronization from pre-sync hook.
- Fix some other minor issues.

MFC after: 3 days

18 years agoAdd hooks to build libc with symbol versioning. This is
deischen [Mon, 13 Mar 2006 00:56:02 +0000 (00:56 +0000)]
Add hooks to build libc with symbol versioning.  This is
disabled by default; add SYMVER_ENABLED=true to /etc/make.conf
to enable it.  libc should get a version bump before this is
enabled by default.

Reviewed by: davidxu

18 years agoAdd symbol maps and initial symbol version definitions to libc.
deischen [Mon, 13 Mar 2006 00:53:21 +0000 (00:53 +0000)]
Add symbol maps and initial symbol version definitions to libc.

Reviewed by: davidxu

18 years agoAdd macros for generating symbol version assembler opcodes.
deischen [Mon, 13 Mar 2006 00:49:28 +0000 (00:49 +0000)]
Add macros for generating symbol version assembler opcodes.

18 years agoRemove non-FreeBSD source from FreeBSD repository.
kientzle [Sun, 12 Mar 2006 19:55:02 +0000 (19:55 +0000)]
Remove non-FreeBSD source from FreeBSD repository.

18 years agoRemove automake source from FreeBSD tree.
kientzle [Sun, 12 Mar 2006 19:54:34 +0000 (19:54 +0000)]
Remove automake source from FreeBSD tree.

18 years agoremove depedancy with vnode_if.h.
damien [Sun, 12 Mar 2006 19:06:06 +0000 (19:06 +0000)]
remove depedancy with vnode_if.h.
it is no longer needed.

18 years agosync w/ iwi:
damien [Sun, 12 Mar 2006 19:01:00 +0000 (19:01 +0000)]
sync w/ iwi:
o fix locking
o use firmware(9)
o cosmetic

18 years agoo don't use '-' characters in firmware names
damien [Sun, 12 Mar 2006 18:54:40 +0000 (18:54 +0000)]
o don't use '-' characters in firmware names
o call firmware_put() early to release the firmware module
o on firmware panics or watchdog timeouts, schedule a task to reinitialize
  the interface (we may sleep in iwi_init())
o discard oversized rx frames

18 years agoRemove comment that does not appy to FreeBSD.
andre [Sun, 12 Mar 2006 15:34:33 +0000 (15:34 +0000)]
Remove comment that does not appy to FreeBSD.

18 years agoImport of OpenBSD's sys/sys/hash.h providing generic 32bit hash functions.
andre [Sun, 12 Mar 2006 15:33:19 +0000 (15:33 +0000)]
Import of OpenBSD's sys/sys/hash.h providing generic 32bit hash functions.

Requested by: flz (to port Open[BGP|OSPF]D)
MFC after: 3 days

18 years agoThere is no IFF_POLLING flag anymore.
glebius [Sun, 12 Mar 2006 14:00:15 +0000 (14:00 +0000)]
There is no IFF_POLLING flag anymore.

18 years agoFlush stdout after printing name of created device, so it can be properly
pjd [Sun, 12 Mar 2006 09:27:51 +0000 (09:27 +0000)]
Flush stdout after printing name of created device, so it can be properly
read when 'ggatec create' is used in backticks or its output is piped to
another command.

Submitted by: Paul Schenkeveld
MFC after: 3 days

18 years ago - Remove the call to softdep_waitidle after suspending the filesystem.
jeff [Sun, 12 Mar 2006 05:26:12 +0000 (05:26 +0000)]
 - Remove the call to softdep_waitidle after suspending the filesystem.
   This does not do what I wanted as all dirty buffers must be flushed
   by the call to ffs_sync and any remaining dependency work would mean
   that this failed.

Pointed out by: tegge

18 years ago - Force commit to give this the correct message; Lock giant when required
jeff [Sun, 12 Mar 2006 05:25:16 +0000 (05:25 +0000)]
 - Force commit to give this the correct message;  Lock giant when required
   in softdep_flush().

Found by: kris
Sponsored by: Isilon Systems, Inc.

18 years ago - Remove the call to softdep_waitidle after suspending the filesystem.
jeff [Sun, 12 Mar 2006 05:24:14 +0000 (05:24 +0000)]
 - Remove the call to softdep_waitidle after suspending the filesystem.
   This does not do what I wanted as all dirty buffers must be flushed
   by the call to ffs_sync and any remaining dependency work would mean
   that this failed.

Pointed out by: tegge

18 years ago - Reorder vrele calls after vput calls to prevent lock order reversals
jeff [Sun, 12 Mar 2006 04:59:04 +0000 (04:59 +0000)]
 - Reorder vrele calls after vput calls to prevent lock order reversals
   between leaf and directory locks.

Found by: kris
Sponsored by: Isilon Systems, Inc.

18 years ago - Define a null_getwritemount to get the mount-point for the lower
jeff [Sun, 12 Mar 2006 04:58:18 +0000 (04:58 +0000)]
 - Define a null_getwritemount to get the mount-point for the lower
   filesystem so that nullfs doesn't permit you to circumvent snapshots.

Discussed with: tegge
Sponsored by: Isilon Systems, Inc.

18 years agoThe idea of supporting 'tp' was a fun one, but it is
kientzle [Sat, 11 Mar 2006 23:59:44 +0000 (23:59 +0000)]
The idea of supporting 'tp' was a fun one, but it is
really not worth the effort to develop and maintain
support for a format that hasn't been used for 30 years. ;-/

18 years agouse the same test as release/Makefile to select WITH_SMP
sam [Sat, 11 Mar 2006 19:00:05 +0000 (19:00 +0000)]
use the same test as release/Makefile to select WITH_SMP

Reviewed by: ru

18 years agofix handling of default kernels
sam [Sat, 11 Mar 2006 18:59:16 +0000 (18:59 +0000)]
fix handling of default kernels

Reviewed by: ru

18 years agoMake sure that we are adding a path token to the audit record in open(2).
csjp [Sat, 11 Mar 2006 17:14:05 +0000 (17:14 +0000)]
Make sure that we are adding a path token to the audit record in open(2).
Do this by making sure we are using the AUDITVNODE1 mask in the namei flags.

Obtained from: TrustedBSD Project

18 years agoDon't be noisy in case of shared interrupts.
phk [Sat, 11 Mar 2006 15:39:22 +0000 (15:39 +0000)]
Don't be noisy in case of shared interrupts.

18 years agoadd dependency with firmware module.
damien [Sat, 11 Mar 2006 13:30:21 +0000 (13:30 +0000)]
add dependency with firmware module.
pointed out by Martin Wilke.

18 years agoGo over calcru and friends once more.
phk [Sat, 11 Mar 2006 10:48:19 +0000 (10:48 +0000)]
Go over calcru and friends once more.

Reintroduce the monotonicity for the normal case and make the two
special cases behave in what is belived to be the most sensible fasion.

18 years agoRemove last traces of disk_enumerate()
phk [Sat, 11 Mar 2006 10:24:50 +0000 (10:24 +0000)]
Remove last traces of disk_enumerate()

18 years agoFix "make distribution" when just NO_CRYPT is defined.
ru [Sat, 11 Mar 2006 08:51:16 +0000 (08:51 +0000)]
Fix "make distribution" when just NO_CRYPT is defined.

PR: misc/94309
Submitted by: Matthias Lederhofer
MFC after: 3 days

18 years agoRemove debug flag.
sos [Sat, 11 Mar 2006 08:42:08 +0000 (08:42 +0000)]
Remove debug flag.

Spotted by: ru@

18 years agoFix build.
ru [Sat, 11 Mar 2006 08:36:15 +0000 (08:36 +0000)]
Fix build.

18 years agoBlock secondary writes while expunging active unlinked files.
tegge [Sat, 11 Mar 2006 01:08:37 +0000 (01:08 +0000)]
Block secondary writes while expunging active unlinked files.

Fix detection of active unlinked files by checking VI_OWEINACT and
VI_DOINGINACT in addition to v_usecount.

Defer inactive handling for unlinked files if the file system is mostly
suspended (secondary writes being blocked).

Perform deferred inactive handling after the file system is resumed.

18 years agoFix multicast support for cs89x0 chips. Just setting the RX_MULTCAST_ACCEPT
philip [Fri, 10 Mar 2006 23:50:53 +0000 (23:50 +0000)]
Fix multicast support for cs89x0 chips.  Just setting the RX_MULTCAST_ACCEPT
flag isn't enough - the filter needs to be set up too, or no multicast frames
are accepted.

Sponsored by: Philips Industrial Applications (indirectly)
MFC after: 3 days

18 years agoMicro-optimize invalid UUID check.
jkim [Fri, 10 Mar 2006 23:33:27 +0000 (23:33 +0000)]
Micro-optimize invalid UUID check.

18 years agoo acknowledge interrupts early in the interrupt handler
damien [Fri, 10 Mar 2006 20:35:09 +0000 (20:35 +0000)]
o acknowledge interrupts early in the interrupt handler
o stop processing interrupts after a firmware fatal error or a radio kill
o clarify the possible values for the 'antenna' sysctl.
o by default, let the firmware do antenna diversity.
  the  firmware will periodically switch to another antenna to evaluate the
  signal quality.

18 years agomake use of the firmware(9) subsystem.
damien [Fri, 10 Mar 2006 19:59:09 +0000 (19:59 +0000)]
make use of the firmware(9) subsystem.
use intel's firmware version 3.0 layout.

18 years agoAdd atausb module
sos [Fri, 10 Mar 2006 19:15:20 +0000 (19:15 +0000)]
Add atausb module

18 years agoAdd "device atausb"
sos [Fri, 10 Mar 2006 19:10:05 +0000 (19:10 +0000)]
Add "device atausb"

18 years agoModule that adds support for using USB storage devices through the
sos [Fri, 10 Mar 2006 19:08:52 +0000 (19:08 +0000)]
Module that adds support for using USB storage devices through the
ATA framework. Mainly written to be able to use USB Flash keys.
This is work in progress so use with care :)
Doesn't need CAM and cannot coexist with umass.c

18 years agofix the locking.
damien [Fri, 10 Mar 2006 18:55:30 +0000 (18:55 +0000)]
fix the locking.

18 years agoAdd note about 'audit' group.
imp [Fri, 10 Mar 2006 18:40:31 +0000 (18:40 +0000)]
Add note about 'audit' group.
Add note about the '_dhcp' user.

While one is expected to run mergemaster -p before installworld, make
a note of the points where this will actively fail due to the addition of
users/groups.

18 years agoUse .Cm for all key words, not just the ones I added. More in line with
trhodes [Fri, 10 Mar 2006 12:37:19 +0000 (12:37 +0000)]
Use .Cm for all key words, not just the ones I added.  More in line with
mdoc(7) according to ru.

Requested by: ru

18 years agowrite the right unit # on verbose output.
sos [Fri, 10 Mar 2006 12:20:53 +0000 (12:20 +0000)]
write the right unit # on verbose output.

18 years agoDisable an SMP detection on pc98.
nyan [Fri, 10 Mar 2006 12:18:41 +0000 (12:18 +0000)]
Disable an SMP detection on pc98.

18 years agoHopefully fix all nearby style bugs that Bruce has mentioned.
ru [Fri, 10 Mar 2006 11:07:39 +0000 (11:07 +0000)]
Hopefully fix all nearby style bugs that Bruce has mentioned.

18 years ago- Fix variable assignment to be portable.
ru [Fri, 10 Mar 2006 11:00:11 +0000 (11:00 +0000)]
- Fix variable assignment to be portable.
- "Line up" continuations.

Submitted by: bde

18 years agoAdd entries for new pthread stubs.
davidxu [Fri, 10 Mar 2006 09:58:18 +0000 (09:58 +0000)]
Add entries for new pthread stubs.

18 years agoBlock all signals in helper threads except those should not be blocked.
davidxu [Fri, 10 Mar 2006 08:01:23 +0000 (08:01 +0000)]
Block all signals in helper threads except those should not be blocked.

18 years agoRemove including of libc sources. All the required functions
deischen [Fri, 10 Mar 2006 07:58:02 +0000 (07:58 +0000)]
Remove including of libc sources.  All the required functions
are exported by libc with prototypes in our standard headers.
I guess at one time this was necessary, but not any longer.

18 years agoWhen inserting a new component md_provsize metadata field wasn't set, which
pjd [Fri, 10 Mar 2006 07:41:31 +0000 (07:41 +0000)]
When inserting a new component md_provsize metadata field wasn't set, which
means that old problem was triggered (when two providers end at the same
offset, eg. ad0 and ad0s1 and the wrong was is picked up by gmirror/graid3).

Reported by: Michal Suszko <dry@dry.pl>
MFC after: 3 days

18 years agofix switching between agressive and non-agressive wmm modes
sam [Fri, 10 Mar 2006 06:18:03 +0000 (06:18 +0000)]
fix switching between agressive and non-agressive wmm modes

Obtained from: atheros
MFC after: 3 days

18 years agoIt is not necessary to read %gs twice.
davidxu [Fri, 10 Mar 2006 05:55:26 +0000 (05:55 +0000)]
It is not necessary to read %gs twice.

18 years agoFix stack offset to allow gcc's stack aligment code to work correctly.
davidxu [Fri, 10 Mar 2006 02:54:45 +0000 (02:54 +0000)]
Fix stack offset to allow gcc's stack aligment code to work correctly.

MFC after: 3 days

18 years agoRemove unneeded (and broken) usage of MNT_REF()/MNT_REL().
tegge [Fri, 10 Mar 2006 02:31:12 +0000 (02:31 +0000)]
Remove unneeded (and broken) usage of MNT_REF()/MNT_REL().

18 years agoMFp4: Forget the asm inlined version of in_cksum_hdr(). It doesn't work if
cognet [Thu, 9 Mar 2006 23:33:59 +0000 (23:33 +0000)]
MFp4: Forget the asm inlined version of in_cksum_hdr(). It doesn't work if
the pointer is unaligned, and it just doesn't worth it.

18 years ago- Implement serial numbers, UUID, and asset tag (turned off by default).
jkim [Thu, 9 Mar 2006 22:49:44 +0000 (22:49 +0000)]
- Implement serial numbers, UUID, and asset tag (turned off by default).
Use 'BOOT_SENSITIVE_INFO=YES' variable to turn them on.
- Use 'uint*_t' instead of 'u_int*_t', correct compilation warnings, and
update copyright while I am here.

18 years agoImplement printf 'X' conversion for both libstand and kernel.
jkim [Thu, 9 Mar 2006 22:37:34 +0000 (22:37 +0000)]
Implement printf 'X' conversion for both libstand and kernel.

18 years agomissed a case that needs WITH_SMP
sam [Thu, 9 Mar 2006 21:54:32 +0000 (21:54 +0000)]
missed a case that needs WITH_SMP

Noticed by: kensmith

18 years agoRever the previous changes. It turns out that it perfectly correct
gad [Thu, 9 Mar 2006 19:52:44 +0000 (19:52 +0000)]
Rever the previous changes.  It turns out that it perfectly correct
for a makefile to set 'NO_MAN=' when the makefile is for a program
that will not create a man page.

Based on reaction from: ru bde

18 years agoFix this to what I've actually submitted.
ru [Thu, 9 Mar 2006 17:55:08 +0000 (17:55 +0000)]
Fix this to what I've actually submitted.

18 years agoRevise the names of modules in the recent note on tdfx_linux.
yar [Thu, 9 Mar 2006 17:50:01 +0000 (17:50 +0000)]
Revise the names of modules in the recent note on tdfx_linux.

18 years agohandle KERNELS as before
sam [Thu, 9 Mar 2006 17:11:17 +0000 (17:11 +0000)]
handle KERNELS as before

Submitted by: ru, andrew

18 years agoFlip the switch and don't route interrupts to hyperthreads in a HT system.
jhb [Thu, 9 Mar 2006 16:38:52 +0000 (16:38 +0000)]
Flip the switch and don't route interrupts to hyperthreads in a HT system.
In at least one benchmark this showed around a 20% performance increase.
If other workloads do benefit from having hyperthreads service interrupts,
we can always make this a loader tunable.

MFC after: 3 days
Tested by: ps

18 years agoDon't dereference an uninitialized pointer.
imp [Thu, 9 Mar 2006 16:28:24 +0000 (16:28 +0000)]
Don't dereference an uninitialized pointer.

18 years agoRevert last change, per ru@'s objection. I misunderstood consensus
imp [Thu, 9 Mar 2006 16:24:58 +0000 (16:24 +0000)]
Revert last change, per ru@'s objection.  I misunderstood consensus

18 years agoAvoid pulling in the whole <net/pfvar.h> by opaquely declaring
yar [Thu, 9 Mar 2006 15:54:01 +0000 (15:54 +0000)]
Avoid pulling in the whole <net/pfvar.h> by opaquely declaring
the structs pflog_packet() takes pointers to.

Approved by: mlaier
MFC after: 3 days

18 years agoThe `pf' and `pflog' sources do not depend on DEV_PF or DEV_PFLOG,
yar [Thu, 9 Mar 2006 15:48:45 +0000 (15:48 +0000)]
The `pf' and `pflog' sources do not depend on DEV_PF or DEV_PFLOG,
which is normal for own files of a device driver.

DEV_FOO should be used if an unrelated kernel file needs to know of
the `foo' driver's static presence.  Obviously, module source files
should never use DEV_*.

18 years agoRevert to setting vlan and vlandev parametes synchronously, as soon
yar [Thu, 9 Mar 2006 14:58:09 +0000 (14:58 +0000)]
Revert to setting vlan and vlandev parametes synchronously, as soon
as both have been read from the command line.  Still use the callback,
but this time only to verify that both vlan and vlandev have been
found on the command line.

This should allow for control over the relative order of processing
parameters, which is needed to satisfy some caveats of the if_vlan
driver.  E.g., MTU cannot be changed on a vlan interface until it's
attached to its parent.

PR:             bin/94028
Reviewed by:    ru
MFC after:      3 days

18 years agoAdd -F option to not fail on already installed packages.
phk [Thu, 9 Mar 2006 14:49:19 +0000 (14:49 +0000)]
Add -F option to not fail on already installed packages.

Submitted by:   Eugene Grosbein <eugen@grosbein.pp.ru>

18 years agoIn addition to -b (suppress builds) add -k (suppress kernel build) and
phk [Thu, 9 Mar 2006 14:43:07 +0000 (14:43 +0000)]
In addition to -b (suppress builds) add -k (suppress kernel build) and
-w (suppress world).

18 years agoDon't acquire a lock before calling vlan_unconfig().
ru [Thu, 9 Mar 2006 14:42:51 +0000 (14:42 +0000)]
Don't acquire a lock before calling vlan_unconfig().
This fixes a panic when doing "ifconfig ... -vlandev".

OK'ed by: glebius

18 years agoAfter revision 1.4 of `src/usr.sbin/bsnmpd/bsnmpd/Makefile' the
keramida [Thu, 9 Mar 2006 12:55:02 +0000 (12:55 +0000)]
After revision 1.4 of `src/usr.sbin/bsnmpd/bsnmpd/Makefile' the
gensnmptree utility is required at "make depend" time, because it
is used to generate `oid.h' for bsnmpd.

This means that all versions of HEAD before 2004/01/23 16:22:49 need
gensnmptree as a bootstrap util when it's not already installed as
part of the base system.  The first __FreeBSD_version that we can
assume this can work is 700014 which happened after the gensnmptree
change (in -r 1.263 of `src/sys/sys/param.h', at 2006/02/17 14:14:15).

For __FreeBSD_version values before 700014 add gensnmptree to the
bootstrap tools, to allow upgrades from versions of FreeBSD before
that date.

Approved by: ru, harti

18 years agoOnly use the channel in the request given to ata_completed if its
sos [Thu, 9 Mar 2006 10:25:35 +0000 (10:25 +0000)]
Only use the channel in the request given to ata_completed if its
still present.

18 years agotypo.
sos [Thu, 9 Mar 2006 10:24:03 +0000 (10:24 +0000)]
typo.

18 years agoOops, forgot newline.
phk [Thu, 9 Mar 2006 09:44:10 +0000 (09:44 +0000)]
Oops, forgot newline.

18 years agoAdd slop to "backwards" cpu accounting messages, 3 usec or 1% whichever
phk [Thu, 9 Mar 2006 09:33:17 +0000 (09:33 +0000)]
Add slop to "backwards" cpu accounting messages, 3 usec or 1% whichever
triggers.

This should eliminate all the trivial messages which result from minor
increases in cpu_tick frequency.

Machines which don't du cpu clock fiddling shouldn't issue "backwards"
messages now.

Laptops and other machines where the initial estimate of cputicks may be
waaaay off will still issue warnings.

18 years agosilence cpu_tick calibration and notice only (under bootverbose)
phk [Thu, 9 Mar 2006 09:30:33 +0000 (09:30 +0000)]
silence cpu_tick calibration and notice only (under bootverbose)
when the frequency increases.

18 years agoIgnore kenv strings which overflow the room we have, rather than pretend
phk [Thu, 9 Mar 2006 09:29:41 +0000 (09:29 +0000)]
Ignore kenv strings which overflow the room we have, rather than pretend
we have room for them.

18 years agoGet rid of all the "long long"/"maxint" casting around in printf's.
sos [Thu, 9 Mar 2006 08:34:44 +0000 (08:34 +0000)]
Get rid of all the "long long"/"maxint" casting around in printf's.
On all our platforms intmax == int64_t so simply using %j to print
int64_t's is safe all over, and doesn't pullute the code.

18 years agoRemove _STOPEVENT call, it is already called in issignal, simplify
davidxu [Thu, 9 Mar 2006 08:31:51 +0000 (08:31 +0000)]
Remove _STOPEVENT call, it is already called in issignal, simplify
code for SIGKILL signal.

18 years agons_name_skip was not prefixed by `__'.
ume [Thu, 9 Mar 2006 03:47:11 +0000 (03:47 +0000)]
ns_name_skip was not prefixed by `__'.

Obtained from: BIND9

18 years agoWhen a process is de-configuring a log file, also stop all of its
jkoshy [Thu, 9 Mar 2006 02:08:12 +0000 (02:08 +0000)]
When a process is de-configuring a log file, also stop all of its
PMCs that require a log file to operate.  This change should fix
PR 90269.

PR: kern/90269
MFC after: 1 week

18 years agoNow that we now spell NO_MAN=xxx MAN=, update the docs.
imp [Thu, 9 Mar 2006 01:33:38 +0000 (01:33 +0000)]
Now that we now spell NO_MAN=xxx MAN=, update the docs.

Submitted by: John Hein

18 years agoConnect librt to buildworld.
davidxu [Thu, 9 Mar 2006 01:03:58 +0000 (01:03 +0000)]
Connect librt to buildworld.

18 years agocorrect ni_txrate when using a fixed rate; fixes current rate reporting
sam [Thu, 9 Mar 2006 00:28:44 +0000 (00:28 +0000)]
correct ni_txrate when using a fixed rate; fixes current rate reporting

MFC after: 3 days

18 years agoRemove mqueue and timer, now they are in librt.
davidxu [Wed, 8 Mar 2006 23:47:04 +0000 (23:47 +0000)]
Remove mqueue and timer, now they are in librt.

18 years agoUse vn_start_secondary_write() and vn_finished_secondary_write() as a
tegge [Wed, 8 Mar 2006 23:43:39 +0000 (23:43 +0000)]
Use vn_start_secondary_write() and vn_finished_secondary_write() as a
replacement for vn_write_suspend_wait() to better account for secondary write
processing.

Close race where secondary writes could be started after ffs_sync() returned
but before the file system was marked as suspended.

Detect if secondary writes or softdep processing occurred during vnode sync
loop in ffs_sync() and retry the loop if needed.

18 years agoRemove mq.c, the POSIX mqueue is implemented in librt.
davidxu [Wed, 8 Mar 2006 23:42:41 +0000 (23:42 +0000)]
Remove mq.c, the POSIX mqueue is implemented in librt.

Suggested by: deischen

18 years agoSwitch these makefiles to use 'MAN=' to indicate they will not generate
gad [Wed, 8 Mar 2006 22:28:12 +0000 (22:28 +0000)]
Switch these makefiles to use 'MAN=' to indicate they will not generate
a man page, instead of 'NO_MAN='.  'NO_MAN=' is something users would
set, not something a makefile should be using.

Based on comments by: des

18 years agoFix overriding jail_list from command line.
fjoe [Wed, 8 Mar 2006 20:40:37 +0000 (20:40 +0000)]
Fix overriding jail_list from command line.

MFC after: 3 days