168864 Commits

Author SHA1 Message Date
dyoung
adc446d581 Cosmetic: delete dead code. 2008-04-14 15:57:15 +00:00
ad
acc82f8808 soreceive: dom_externalize/dom_dispose can block. If new messages are
appended while the receiver is blocked, the sockbuf will be corrupted.
Dequeue control messages from the sockbuf and sync its state in one
pass. Only then process the control messages. From FreeBSD.
2008-04-14 15:42:20 +00:00
sborrill
244791d8a2 Fix display of total number of sectors if > 2^32 on 32-bit machines 2008-04-14 14:53:52 +00:00
tsutsui
6dadfb80d4 Don't make linker warnings fatal on linking static libs since
there is no proper way to avoid "FOO is a patented algorithm" warnings.
Ok'ed by christos@ on tech-toolchain.
2008-04-14 13:41:43 +00:00
cegger
7f5c40b741 - use POSIX integer types
- ansify functions
2008-04-14 13:38:03 +00:00
cegger
3e3ad32c16 ansify 2008-04-14 10:54:21 +00:00
yamt
a180b7cf7e trap: ignore T_ASTFLT if KVM86MODE.
revealed by the recent per-cpu runqueue change.
2008-04-14 09:42:50 +00:00
yamt
7bf20daff6 remove unnecessary __MUTEX_PRIVATE. 2008-04-14 09:40:43 +00:00
yamt
e5c1081112 make decay_cpu static. 2008-04-14 09:39:31 +00:00
cegger
d6dfa07dd4 - u_int32_t -> uint32_t
- ansfiy
2008-04-14 05:52:34 +00:00
jmcneill
42ea6765b5 Update ACPICA changelog. 2008-04-14 00:56:37 +00:00
jmcneill
76fcb78d00 Compatibility with ACPICA 20080321; from the release notes:
All Reference Objects returned via the AcpiEvaluateObject interface are now
marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for
NULL objects - either NULL package elements or unresolved named references.
2008-04-14 00:30:30 +00:00
ad
fa71518fbc Fix comments. 2008-04-14 00:18:43 +00:00
yamt
7ab55e0ff2 sched_print_runqueue: add __printf__ attribute to the 'pr' argument. 2008-04-13 22:54:19 +00:00
yamt
3cd40e9f41 sched_print_runqueue: fix printf formats. 2008-04-13 22:53:31 +00:00
cegger
78ad08323e reduce diff to x86/x86/cpu.c 2008-04-13 22:29:38 +00:00
cegger
29ffadf779 use device accessors and other misc cleanups 2008-04-13 22:23:58 +00:00
cegger
f578477b0b - device_t/softc split
- ansify
2008-04-13 21:59:15 +00:00
christos
57a7ea54be for symmetry set controllen the same way we set it on the receiving side. 2008-04-13 21:45:19 +00:00
christos
03409c55d7 Don't use variable size allocation on the stack. 2008-04-13 21:44:14 +00:00
mlelstv
2d48227561 add generated file krb_err.h to cleanup list 2008-04-13 21:29:15 +00:00
mlelstv
61416e545f provide efunctions with libutil for builds without libnbcompat 2008-04-13 21:26:59 +00:00
mlelstv
810864c97f make clean target remove all generated files 2008-04-13 21:25:14 +00:00
dogcow
77c109342d Fix "symtable too small" error by removing smaller-than-default SYMTAB_SPACE. 2008-04-13 19:51:58 +00:00
dogcow
7bcb554c5f Since nobody else has fixed it yet: fix case of GDB && !MULTIPROCESSOR. 2008-04-13 16:22:14 +00:00
pooka
f9e09057b1 add "pseudo-device putter" to synopsis
(don't bump date since the rest of the doc is hideously out-of-date)
2008-04-13 16:02:33 +00:00
matt
e21c02e25f Put RCSIDs in section ".ident" 2008-04-13 15:07:39 +00:00
ad
8d19e50577 Don't allocate or free pv_entry_t with pmap_lock held. Requested by martin@.
Untested.
2008-04-13 15:01:55 +00:00
njoly
0f51b405b0 Fix infinite loop with AGP on Ali M1689 (from PR/38269 and PR/35416),
by disallowing aperture size values below 1MB.
2008-04-13 13:07:31 +00:00
tsutsui
4f55dadd88 Fix another typo. 2008-04-13 12:59:10 +00:00
mlelstv
941dd022e4 fix format strings for DIAGNOSTIC output 2008-04-13 12:22:13 +00:00
tsutsui
e549ff1e61 Add esp(4) at isa. (though I doubt it has ever worked) 2008-04-13 04:59:45 +00:00
tsutsui
78a1d236b6 Split device_t/softc for MI ncr53c9x and some related devices,
with various cleanup.
2008-04-13 04:55:52 +00:00
dholland
b8a5bc91d9 st(4) can attach to atapi(4).
PR kern/38320 from Sergey Svishchev.
2008-04-13 04:03:23 +00:00
dholland
420b514ac8 Remove insane centering code (that broke on strings of length 1) and
replace it with sane centering code. Fixes PR bin/38209, although with
a different patch.
2008-04-13 03:46:30 +00:00
dholland
6fc636d882 '_' is functionally alphanumeric in many contexts, including login names.
Since it doesn't have case, treat it like a digit. While here, avoid
setting the associated flag variable by incrementing it.
Fixes PR bin/33521; patch based on one from Dieter Roelants.
2008-04-13 02:38:01 +00:00
dholland
052fb4c32d Fix replicated typo 2008-04-13 02:04:31 +00:00
chris
d23686181e Fix device_t/softc split fallout.
A device_t should never be cast with void*.  This fixes reboot on acorn32.
I also suspect it'll fix a panic mjf was seeing due to corruption of the
alldevs list.
2008-04-13 01:14:26 +00:00
mlelstv
a2f053ec77 add cast to suit format string 2008-04-12 22:52:40 +00:00
mlelstv
0e937de3b0 add missing 'const' qualifiers and fix printf format strings in
debug code.
2008-04-12 22:38:20 +00:00
rmind
8d700f664c Fix shared memory code that it could handle > 4GB addresses correctly.
PR/38109, patch (a little bit modified) from Chris Brand.
2008-04-12 20:49:22 +00:00
cegger
2a02b38790 ansify 2008-04-12 19:49:54 +00:00
ad
d87d01d660 Fix typo. Spotted by kardel@. 2008-04-12 18:22:03 +00:00
ad
a78ad62cfb cache_enter: inline LIST_INSERT_HEAD so that the membar_producer() can be
put in the right spot. The 'next' link in the new entry must become globally
visible before the list head is updated. This could have affected systems
with weak memory ordering like the alpha.
2008-04-12 17:34:26 +00:00
ad
da60beabf5 softint_overlay: bind the stolen LWP to the current CPU while processing,
to prevent it blocking and migrating to another CPU.
2008-04-12 17:17:28 +00:00
ad
b60416c0e2 Move the LW_BOUND flag into the thread-private flag word. It can be tested
by other threads/CPUs but that is only done when the LWP is known to be in a
quiescent state (for example, on a run queue).
2008-04-12 17:16:09 +00:00
ad
06e0894e76 Take the run queue management code from the M2 scheduler, and make it
mandatory. Remove the 4BSD run queue code. Effects:

- Pluggable scheduler is only responsible for co-ordinating timeshared jobs.
- All systems run with per-CPU run queues.
- 4BSD scheduler gets processor sets / affinity.
- 4BSD scheduler gets a significant peformance boost on some workloads.

Discussed on tech-kern@.
2008-04-12 17:02:08 +00:00
jmcneill
53d1728b52 Note ACPICA update. 2008-04-12 16:18:06 +00:00
jmcneill
9babacccc0 We are now at ACPICA 20080321. 2008-04-12 16:16:57 +00:00
jmcneill
16917be1d9 Update to ACPI-CA 20080321. Thanks to George Michaelson for help with testing. 2008-04-12 16:16:06 +00:00