Julian Elischer
f0017f3321
Whitespace nit.
2004-08-14 07:21:20 +00:00
Jens Schweikhardt
29cf807a18
Correct grammo.
2004-08-14 06:29:17 +00:00
Marcel Moolenaar
c66fdb617d
Allocate memory in the unwinder with M_NOWAIT. We may need to provide
...
backtraces with locks held.
2004-08-14 05:00:37 +00:00
Tim Kientzle
57b665990a
Eliminate reliance on non-portable <err.h> by implementing a very
...
simple errx() function.
Improve behavior when bzlib/zlib are missing by detecting and
issuing an error message on attempts to read gzip/bzip2 compressed
archives.
2004-08-14 03:45:45 +00:00
Robert Watson
b295bdcded
After completing a name lookup for a target UNIX domain socket to
...
connect to, re-check that the local UNIX domain socket hasn't been
closed while we slept, and if so, return EINVAL. This affects the
system running both with and without Giant over the network stack,
and recent ULE changes appear to cause it to trigger more
frequently than previously under load. While here, improve catching
of possibly closed UNIX domain sockets in one or two additional
circumstances. I have a much larger set of related changes in
Perforce, but they require more testing before they can be merged.
One debugging printf is left in place to indicate when such a race
takes place: this is typically triggered by a buggy application
that simultaenously connect()'s and close()'s a UNIX domain socket
file descriptor. I'll remove this at some point in the future, but
am interested in seeing how frequently this is reported. In the
case of Martin's reported problem, it appears to be a result of a
non-thread safe syslog() implementation in the C library, which
does not synchronize access to its logging file descriptor.
Reported by: mbr
2004-08-14 03:43:49 +00:00
Tim Kientzle
6a0724a89e
We don't need <paths.h>, so don't bother including it.
2004-08-14 03:43:35 +00:00
Alexander Kabaev
0d7a4fdf65
Add libgcov, a runtime support library for binaries compiled for basic
...
block profiling.
2004-08-14 03:23:24 +00:00
Doug Ambrisko
386aa69b89
Add new PCI device ID for PERC4/DI.
2004-08-14 02:48:13 +00:00
Robert Watson
9baf5f2da1
Since if_oltr doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-14 00:19:07 +00:00
Robert Watson
f92e0b28a4
Since if_ixgb doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-14 00:17:04 +00:00
Robert Watson
7e3a88ea3c
Since if_xe doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-14 00:15:26 +00:00
Robert Watson
7eadb7d5e9
Since if_vx doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-14 00:12:42 +00:00
Robert Watson
095f2ac443
Since if_txp doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
Note: mutexes are initialized in the softc for this driver, but the
locking appears inadequate to allow Giant-free operation.
2004-08-13 23:53:36 +00:00
Robert Watson
85d5028a78
Since if_tx doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:52:33 +00:00
Robert Watson
d87e67338d
Since if_sr doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:49:48 +00:00
Robert Watson
5ce832e127
Since if_snc doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:47:01 +00:00
Robert Watson
ae9be8d3bb
Since if_sbni doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:41:00 +00:00
Robert Watson
1d6aa1687f
Since if_ray doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:39:07 +00:00
Robert Watson
68c7bc6de8
Since if_plip doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:32:17 +00:00
Robert Watson
fc4af83ae9
Since if_nge doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
Note: this driver does declare and occasionally reference mutexes,
but I believe not nearly enough to provide safety.
2004-08-13 23:22:53 +00:00
Stefan Farfeleder
361de173a5
Avoid using void pointers in additive expressions.
...
PR: 56653 (libc/rpc bits)
Approved by: alfred
2004-08-13 23:22:38 +00:00
Robert Watson
26ec2d74aa
Since if_lnc doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:20:50 +00:00
Robert Watson
b095765df6
Since if_lge doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:18:01 +00:00
Robert Watson
9c7d53aa85
Since if_ic doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:16:44 +00:00
Robert Watson
be0fd0eb55
Since if_ie doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:15:44 +00:00
Robert Watson
3acd3b73c5
Since if_hme doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:14:50 +00:00
Robert Watson
268f132afc
Since if_gem doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:11:24 +00:00
Robert Watson
a1755216cf
Since if_fwip doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
Approved by: dfr
2004-08-13 23:09:41 +00:00
Robert Watson
65da4658f0
Since if_fe doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:08:08 +00:00
Robert Watson
54c32b7d98
Since if_ex doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
Note: there are locking macros in if_exreg.h, but they appear to be
unused.
2004-08-13 23:06:55 +00:00
Robert Watson
463d14faf8
Since if_ed doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:04:23 +00:00
Bruce A. Mah
666530312f
Wordsmithing on the GEOM_STRIPE, MSDOSFS_LARGE, and portaudit notes.
2004-08-13 23:04:14 +00:00
Robert Watson
de1af409d2
Since if_cs doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:03:11 +00:00
Robert Watson
c84843f1e5
Since if_cp doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:02:17 +00:00
Marcel Moolenaar
bfa3f012cd
Add support for SSDT tables. Dumping or disassembling the DSDT will
...
now include the contents if any SSDT table as well. This makes use
of the property that one can concatenate the body of SSDT tables to
the DSDT, updating the DSDT header (length and checksum) and end up
with a larger and valid DSDT table. Hence, this also works with -f.
Reviewed by: njl@
2004-08-13 22:59:09 +00:00
Robert Watson
07f3ffc4fe
Since if_cm doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 22:57:44 +00:00
Robert Watson
ec722f0875
Since if_awi doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 22:55:25 +00:00
Robert Watson
ea69bf33ec
Since if_arl doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 22:54:19 +00:00
Robert Watson
b68828c941
As the if_ar driver doesn't contain locking or run its interrupt
...
MPSAFE, mark it as IFF_NEEDSGIANT so that its if_start routine is
run holding Giant.
2004-08-13 22:52:11 +00:00
Robert Watson
09e54b95d3
Since the if_de driver doesn't contain locking, mark it as
...
IFF_NEEDSGIANT so that ifp->if_start won't be called without Giant
when running debug.mpsafenet=1.
2004-08-13 22:48:05 +00:00
Stefan Farfeleder
fd51ce66aa
Add a man page for tgmath.h.
...
Reviewed by: keramida
2004-08-13 22:43:12 +00:00
Doug Ambrisko
4f1132a88a
Fix the memory scaling bug when basemem was converted to Kbytes from
...
bytes for AMD64. Otherwise the AP will be started at 640K which
won't work. Bug found on a Xeon 64bit system.
2004-08-13 22:30:55 +00:00
Robert Watson
3b7d076fe7
Use IFQ_SET_MAXLEN() to set the maximum queue depth of the routing
...
socket netisr queue.
Pointed out by: winter
2004-08-13 22:23:21 +00:00
Justin T. Gibbs
39250c18b8
Extend critical section protection around portions of selection processing
...
that cannot tolerate changes to the waiting for selection queue by the
host or the host canceling an active selection.
2004-08-13 21:41:23 +00:00
Justin T. Gibbs
31d80b6045
Fix an off by one in the critical section clearing code. The
...
code was adjusting twice for the instruction pointer indicating
the *next* instruction to execute. The aic79xx driver had a similar
bug, but was fixed some time ago.
2004-08-13 21:39:14 +00:00
Robert Watson
d990378077
Commit a work-around for a more general bug involving process state:
...
check whether p_ucred is NULL or not in pfs_getattr() before
dereferencing the credential, and return ENOENT if there wasn't one.
This is a symptom of a larger problem, wherein pfind() can return
references to incompletely initialized processes, and we instead ought
to not return them, or check the process state before acting on the
process.
Reported by: kris
Discussed with: tjr, others
2004-08-13 20:27:56 +00:00
Mark Murray
19ef43daef
This commit was generated by cvs2svn to compensate for changes in r133665,
...
which included commits to RCS files with non-trunk default branches.
2004-08-13 19:37:23 +00:00
Mark Murray
eaeb68fe23
Bring in support for VIA C3 Nehemiah Padlock crypto support (AES).
...
This is from the upcoming OpenSSL 0.9.8 release.
2004-08-13 19:37:23 +00:00
Nate Lawson
c2c373f9a0
Fix building for the ACPI_DEBUG case.
2004-08-13 19:27:21 +00:00
Alan Cox
edf181d07e
Add pmap locking to pmap_remove_all().
2004-08-13 18:54:21 +00:00