168770 Commits

Author SHA1 Message Date
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
chris
2fb78588e4 Ignore size alignment issues, as we're never going to have a case where
copying a three extra bytes will cause an issue.
2008-04-12 16:10:46 +00:00
tnozaki
f026a78601 fix wrong SRC_ZONE. 2008-04-12 13:13:50 +00:00
tnozaki
2f44c5eedb update Unicode 5.1.0 and adding some missing HKSCS-2004 charaters. 2008-04-12 13:11:56 +00:00
cegger
856327cd56 make this build with BRIDGE_IPF and PFIL_HOOKS options 2008-04-12 09:26:45 +00:00
tsutsui
7b00ef7ec5 Split device_t/softc, with misc cosmetics. 2008-04-12 08:35:22 +00:00
tsutsui
11da9127f7 Split device_t/softc. 2008-04-12 08:21:19 +00:00
tsutsui
efec14320d Split device_t/softc for MI mb86960, with misc cosmetics. 2008-04-12 06:37:51 +00:00
tsutsui
7c06c0a3e8 Split device_t/softc for MI mb86960, with misc cosmetics. 2008-04-12 06:27:01 +00:00
thorpej
7ff8d08aae Make IP, TCP, UDP, and ICMP statistics per-CPU. The stats are collated
when the user requests them via sysctl.
2008-04-12 05:58:22 +00:00
tsutsui
bdd6dadf75 Fix a botch (inverted test) in rev 1.4. 2008-04-12 04:33:48 +00:00
jmcneill
e057298d38 ACPI-CA 20080321 is out. 2008-04-11 23:43:41 +00:00
cegger
c71642a72c remove extra blank.
before:
nxp0:  reported by CPUID; using exception 16

now:
npx0: reported by CPUID; using exception 16
2008-04-11 20:42:34 +00:00
cegger
09b1b08c50 make this build with FD_DEBUG 2008-04-11 19:16:44 +00:00
njoly
26457ccc1d Under NPTL emulation, do not reparent all members of a thread group,
but only the processes that emulate threads (with LINUX_CLONE_THREAD
set).

This fix a problem for child processes that share address space with
the parent. At exit, the child will die silently, leaving the parent
waiting indefinitely for its end ...
2008-04-11 16:47:50 +00:00
dyoung
9a6b7a1ccd Remove debug printf that snuck in with my commit. 2008-04-11 16:44:45 +00:00
nonaka
9f287f4baf increase bsdimage size. 2008-04-11 16:43:49 +00:00
ad
0701eb1ec7 newdirrem: if the number of deletes in progress is getting too high, start
pushing the syncer before considering rate limiting the deletes. We hold
vnodes locked and it's likely that the syncer will try to lock them while
flushing, leading to the syncer and remover proceeding in lockstep and
making very little forward progress. XXX this is not a solution.
2008-04-11 16:25:38 +00:00
ad
6aa98766aa Regen. 2008-04-11 15:51:38 +00:00
ad
f628a1e814 Only include sys/kauth.h if _KERNEL. 2008-04-11 15:51:25 +00:00
yamt
1d737efc42 fix the order of printf arguments. 2008-04-11 15:47:15 +00:00
christos
9741037836 - use uarea_swapin, rather than duplicating the code.
- use __func__ where appropriate.
2008-04-11 15:31:37 +00:00
ad
3f5f5fa2a4 Maintain a circular queue of cpu_info's. 2008-04-11 15:31:34 +00:00
ad
baba274422 mutex_vector_enter: reduce reads of mtx_owner slightly. 2008-04-11 15:28:34 +00:00
ad
2c81477eca 4.99.59 - struct cpu_data changed (namecache changes) 2008-04-11 15:26:24 +00:00
ad
5c720a3c67 Regen. 2008-04-11 15:25:41 +00:00
ad
1e11b07bfa Restructure the name cache code to eliminate most lock contention
resulting from forward lookups. Discussed on tech-kern@.
2008-04-11 15:25:24 +00:00
ad
1c3c41f771 +evcnt_attach_dynamic 2008-04-11 15:24:48 +00:00
ad
481e4d16cb More stubs. 2008-04-11 15:23:45 +00:00
phx
be7af1fd4f Define -DPCI_VIA_TTYE0 for SRCS.bus and not for SRCS.bsd (macppc and ofppc),
to ensure the option is generated when compiling netbsdPci.c.
2008-04-11 15:14:08 +00:00
ad
4598f15028 rwlock changes, discussed on tech-kern:
- Use atomic ops directly, since rwlocks work the same way on all platforms.
- Try to make it a bit more cache efficient, and use branch hints.
- Fix a bug in rw_downgrade() where the turnstile lock was not released.
- Remove a couple of redundant assertions.
- Use atomic_swap instead of atomic_cas where it's safe to do so.
- After acquiring the turnstile lock in rw_vector_enter, check if the
  owner is running again and spin if so.
- Introduce and use rw_onproc() instead of abusing mutex_onproc().
- Change the handoff/release algorithm to reduce the window when a rwlock
  can held, but the owner not on a CPU.
2008-04-11 14:55:51 +00:00
cegger
8a19ab6bca convert to pmf(9)
ok jmcneill
2008-04-11 13:00:47 +00:00
rafal
86e129f0e6 Add 'sunrpc' so mount_nfs from an install ramdisk works. Otherwise, you get
a silent failure from the ramdisk mount_nfs binary.
2008-04-11 12:54:35 +00:00
tsutsui
435efaffea If it's a high speed, trim the trigger level down to prevent overflows,
as comment says.  The piece of code was removed in rev 1.230,
but it looks an error on reverting of rev 1.228.
2008-04-11 12:45:08 +00:00
mjf
ff8a916efa Update urls for David Pilling's !SparkPlug and Sergio Monesi's fsck suite.
The old urls were dead.
2008-04-11 12:10:42 +00:00
tsutsui
af6fdc4488 Please don't leave a debug option in GENERIC. 2008-04-11 11:55:18 +00:00
jmcneill
3bc833ec73 Revert previous. 2008-04-11 11:24:41 +00:00
rmind
888190d519 Protect selrecord/selnotify calls with crypto_mtx; few misc changes. 2008-04-11 10:28:10 +00:00
agc
a769917eda Fix for "raid0 devices don't accept extents of different sizes" from
Jeff Rizzo
2008-04-11 08:22:37 +00:00
dogcow
28e06cc882 fix 64-bit b0rkenness. 2008-04-11 06:25:35 +00:00
he
04446152e8 Put back a %s so that the format matches again. Fixes build for evbppc. 2008-04-11 06:25:25 +00:00
jmcneill
8715af2617 Remove code erroneously copied from i386 ACPI_ACQUIRE_GLOBAL_LOCK. 2008-04-11 02:30:05 +00:00
jmcneill
b66550c825 Remove a nasty hack that slipped in during the ACPICA update that should
never have made it in-tree. How ACPI has ever worked since 4.99.42 is
beyond me.
2008-04-11 02:27:57 +00:00
dyoung
18685458ac Cosmetic: use NULL instead of 0 for pointers. Shorten staircase. 2008-04-11 01:14:28 +00:00
dyoung
457345432a Cosmetic: compare socket address family with AF_UNSPEC instead of
0.
2008-04-11 00:56:11 +00:00