Commit Graph

191332 Commits

Author SHA1 Message Date
jklos
99542d6976 Added optimization reduction for gdb/dwarf2-frame.c for Amigas. We don't
see the problem on other m68k platforms, but that could be because other
platforms don't have m68060s (except Atari, perhaps).
2010-05-28 19:11:23 +00:00
pooka
01c45b7fe9 Deal with the "we get a portably arbitrary set of headers on
different archs" problem.
2010-05-28 18:17:24 +00:00
ghen
3d292e1813 Update to xkeyboard-config 1.9. 2010-05-28 17:17:12 +00:00
pooka
d11274ecfd Improve the CPU scheduler for a host MP system with multithreaded
access.  The old scheduler had a global freelist which caused a
cache crisis with multiple host threads trying to schedule a virtual
CPU simultaneously.

The rump scheduler is different from a normal thread scheduler, so
it has different requirements.  First, we schedule a CPU for a
thread (which we get from the host scheduler) instead of scheduling
a thread onto a CPU.  Second, scheduling points are at every
entry/exit to/from the rump kernel, including (but not limited to)
syscall entry points and hypercalls.  This means scheduling happens
a lot more frequently than in a normal kernel.

For every lwp, cache the previously used CPU.  When scheduling,
attempt to reuse the same CPU.  If we get it, we can use it directly
without any memory barriers or expensive locks.  If the CPU is
taken, migrate.  Use a lock/wait only in the slowpath.  Be very
wary of walking the entire CPU array because that does not lead to
a happy cacher.

The migration algorithm could probably benefit from improved
heuristics and tuning.  Even as such, with the new scheduler an
application which has two threads making rlimit syscalls in a tight
loop experiences almost 400% speedup.  The exact speedup is difficult
to pinpoint, though, since the old scheduler caused very jittery
results due to cache contention.  Also, the rump version is now
70% faster than the counterpart which calls the host kernel.
2010-05-28 16:44:14 +00:00
phx
85bd3e3229 QNAP support (untested): PCI fixup and corrected PCI address lines (+1).
Patch submitted by Toru Nishimura.
2010-05-28 15:45:11 +00:00
wiz
1b3e363881 Bump date for previous.
Remove trailing space.
2010-05-28 13:25:54 +00:00
ghen
a2c1907824 Install pkgconfig file for xkeyboard-config. 2010-05-28 13:01:23 +00:00
ghen
1d75ab7274 Update to xkeyboard-config 1.9. 2010-05-28 12:38:34 +00:00
njoly
65a7cb608a +libgeode_drv.so.2.debug for i386. 2010-05-28 11:27:18 +00:00
njoly
f3d31032b1 un-obsolete ws.0 for i386. 2010-05-28 11:14:08 +00:00
njoly
b226c9a13c +libopenchrome_drv.so.0.debug for amd64 and i386. 2010-05-28 10:49:51 +00:00
dholland
0bf3480c62 Change getnum() to use intmax_t instead of int, so it doesn't overflow
between 2^31 and 2^32. Adjust call sites accordingly. PR 43354.
2010-05-28 07:40:53 +00:00
mrg
281afa1ed9 build libchromeXvMC on x86. 2010-05-28 06:26:55 +00:00
mrg
9a93ccfecc add / retire some xf86-video drivers. 2010-05-28 06:24:59 +00:00
mrg
3c7ac2611f we're now at mesa 7.7.1.
XXX: really really really need to make this in one place...
2010-05-28 06:22:05 +00:00
lukem
5e2fef94b5 fix MKDEBUG=yes for X11R7 libs 2010-05-28 05:39:56 +00:00
mrg
12b28a5e80 geode_drv is a .so.2. 2010-05-28 04:55:07 +00:00
mrg
739316d43b fix compile error in previous. 2010-05-28 04:16:06 +00:00
mrg
2a910e8e0a X11: Added support for xf86-video-geode and xf86-video-openchrome. 2010-05-28 04:12:58 +00:00
mrg
3c18d96e81 enable xf86-video-openchrome for x86 and xf86-video-geode for i386. 2010-05-28 04:12:02 +00:00
pgoyette
703433b08a Remove opt_pci.h - it's not needed for anything. 2010-05-28 02:38:41 +00:00
mrg
4eb959abf9 obsolete xf86-video-cyrix 2010-05-28 02:37:26 +00:00
mrg
864de3fd7b add build glue for xf86-video-geode and xf86-video-openchrome and
obsolete xf86-video-via.
2010-05-28 02:35:46 +00:00
pgoyette
512fa22526 Fix symbol name in multiple-inclusion protection. (missing trailing '_') 2010-05-28 02:24:27 +00:00
pooka
41bed623f4 .. except we need to check the flag while still clinging to iLock. 2010-05-27 23:58:38 +00:00
pooka
072ab7f0ce Assert that a VI_CLEAN vnode is not succesfully vget'd. 2010-05-27 23:54:35 +00:00
pooka
704f8889fa Mark files removed in the in-memory structure. This allows us
to do two things:

 1) properly set "recycle?" in inactive
 2) easily check if we are renaming a removed vnode.  without the
    check, it was possible to enter a dirent in the file system for
    a removed (and hence scheduled to be vcleaned) vnode.  this would
    lead to the succesful vget() of a clean vnode.  the use of the
    cleaned vnode was, however, less succesful, except for purposes
    of crashing.
2010-05-27 23:40:12 +00:00
pgoyette
f321aef79b Remove a left-over debugging call to aprint_normal()
Thanks njoly@
2010-05-27 23:13:10 +00:00
spz
ff138d4027 help the next person tripping over PR kern/43203 :
list the error messages, the reason for the error and the location where
the firmware ought to be
2010-05-27 19:27:24 +00:00
phx
811cef32d8 Added some more precise LinkStation/TeraStation and Synology product names. 2010-05-27 15:35:46 +00:00
phx
027439443b Disable EPIC_DEBUGIRQ. Reenable when needed. 2010-05-27 14:54:42 +00:00
pooka
32de8f7733 Release pathname buffers after use. 2010-05-27 13:22:02 +00:00
dholland
d6986f611b Rerun valid_format() both before and after unescaping the format
string, in case the format string contains printf conversions
assembled from escape sequences.

A better approach might be to adjust the unescape logic to avoid
generating printf conversions (e.g. convert \x25 to %% instead of %)
but that's somewhat problematic and it's not really worth taking the
trouble.

Running valid_format() only after unescaping would also be somewhat
tidier but makes printing the invalid format string problematic,
because the unescape logic runs in place.

None of these cases are really worth worrying about in detail, but now
at least they don't result in SIGSEGV.

Related to PR 43355.
2010-05-27 08:40:19 +00:00
dholland
76c7c8ecbf Fix valid_format() to be more careful about allowing only valid printf
formats.

Also, accept %a and %A, which are new since this logic was last updated,
and also allow %F even though it's not functionally different from %f.
Document these additions and bump date of man page.

Fixes PR 43355.
2010-05-27 08:30:35 +00:00
mrg
5373bec4d9 add r600_blit.c and radeon_cs.c. 2010-05-27 07:27:35 +00:00
dholland
5ef6a33bb9 Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
trees, because it can race with the libsa/libkern/etc. makefiles' own
cleandir rules. I think I've found all of the uses of the offending idiom...
Closes PR 43360.
2010-05-27 06:58:12 +00:00
pgoyette
08d0e14947 Extract pci_verbose interface definitions into their own header file so
we don't need to include pcivar.h in the module.  pcivar.h tries to pull
in machine/pci_machdep.h which doesn't exist on all machine/architecture
combos.  Keeping track and building the module only for those that work
would have been a maintenance headache;  this change allows us to build
the module on all systems, regardless of whether the system has pci
support or not.
2010-05-27 05:53:35 +00:00
dholland
b6360c7f71 Don't recognize "+3" after -- or after the first non-option argument.
This prevents converting "+3" into "-k4.1" in places where getopt
won't recognize it, which in turn prevents silly error messages and
lossage trying to sort files whose names begin with +. PR 43358.
2010-05-27 05:52:29 +00:00
pgoyette
af152ef2f0 Minor grammar improvement in status message. 2010-05-27 05:41:54 +00:00
mrg
5988c2a162 new Mesa r300_dri driver has a "compiler" subdir of objects needed.
mostly dieter roelants in PR#43367.
2010-05-27 01:20:14 +00:00
pooka
f0c67b0751 Feed dust to a few linkset uses and explicitly call the constructor. 2010-05-26 23:53:21 +00:00
dyoung
a5a3d4c202 Change sc_wrports from an int to a bool and "test truth" instead of
comparing with 0.

Add 'volatile' to several other state variables that need it.
2010-05-26 23:46:44 +00:00
pooka
5f75591d60 regen: rump_vfs_mount_print 2010-05-26 21:51:58 +00:00
pooka
7e5ec0880b Add public namespace helper routine for dumping info on mountpoints. 2010-05-26 21:50:56 +00:00
pooka
c468a8e0bf print vm object refcount 2010-05-26 21:48:20 +00:00
pooka
c9f42ce961 fix refcounting 2010-05-26 21:27:00 +00:00
christos
478b26f3ff fix empty suffix case. 2010-05-26 18:07:34 +00:00
pooka
19264c8c5c Initialize *vpp to NULL: relookup() requires it without initializing
the value before the call (yea, changing relookup would probably
be smart, but other file systems already initialize vpp, so I'm
letting someone else experiment with tylenol od).
2010-05-26 17:52:35 +00:00
bouyer
adad9c5471 Make sure SYN_CACHE_TIMER_ARM() has been run before calling syn_cache_put()
as it will reschedule the timer.  Fixes PR kern/43318.
2010-05-26 17:38:29 +00:00
phx
56fbd52613 Make sure tty00 and tty01 are linked to com(4).
The default for the unified PPC devices was to set a hard link to ttyZ*,
which uses the zstty(4) driver (not used on any Sandpoint board so far).
2010-05-26 16:58:13 +00:00