Commit Graph

168719 Commits

Author SHA1 Message Date
cegger 3069a1f144 use aprint_*_dev and device_xname 2008-04-05 15:50:49 +00:00
skrll f214b85d2b Note siop(4) at various attachments support on hp700. 2008-04-05 15:48:22 +00:00
cegger 13783bfd7e use aprint_*_dev and device_xname 2008-04-05 15:47:00 +00:00
skrll cefd9f38fa Add and enable various siop attachments. 2008-04-05 15:30:46 +00:00
yamt 3426b80b5e - l_wmesg is not always valid. check l_wchan when using l_wmesg.
should fix a crash reported by Juan RP on current-users@.
- ttyinfo: lock lwp when accessing l_wmesg.
- fill_lwp: add an assertion.
2008-04-05 14:03:16 +00:00
yamt c6f589405e assertions. 2008-04-05 13:58:12 +00:00
cegger cc658c528f use aprint_*_dev and device_xname 2008-04-05 13:49:36 +00:00
cegger 09275ba76d use aprint_*_dev and device_xname
OK martin
2008-04-05 13:40:05 +00:00
mlelstv 8dbc8a3822 revert the broken DeMorgan-ification 2008-04-05 09:34:22 +00:00
skrll 42081d876c Typo in comment. 2008-04-05 08:42:35 +00:00
rtr f2575a3983 whitespace fix 2008-04-05 08:01:54 +00:00
tsutsui 467bde0590 Add support for RealTek RTL8211B(L) PHY. From FreeBSD. 2008-04-05 07:52:08 +00:00
tsutsui 19a464fa71 - fix build with OBJDIR
- clean more generated files
2008-04-05 07:33:00 +00:00
tsutsui 9252161713 Use htole32() on preparing setup packet. 2008-04-05 06:46:39 +00:00
tsutsui abb05145d7 Add support booting from UFS2 partition for sparc.
Tested on tme emulating SS2.

Closes PR port-sparc/36068.
2008-04-05 06:39:08 +00:00
tsutsui 52dab5df0c Fix a warning in #ifdef RARP_DEBUG. PR kern/20314 2008-04-05 05:15:33 +00:00
nisimura a59dc1792e - add COMPAT_40
- add #options WAPBL for journalled BSDFFS for GENERIC.NAS
2008-04-05 04:13:48 +00:00
nisimura 1976aeb78e add rootfs on disk bootinfo case. 2008-04-05 04:05:06 +00:00
lukem 654f9595de Default for -n is 100 not 99. 2008-04-05 04:02:06 +00:00
nisimura 3bbbade04a add some MPC824x NAS box description. obtained by googl'ing. 2008-04-05 03:39:41 +00:00
yamt 849fe720d6 test lockf deadlock detection. 2008-04-05 03:34:47 +00:00
cegger 48bc07dd73 Allow to pass device_xname() to dk_sc_init() without build error
OK joerg
2008-04-05 00:02:55 +00:00
cegger ee63fe0a40 use aprint_*_dev and device_xname
OK joerg
2008-04-04 22:39:30 +00:00
cegger ab47026c88 use aprint_*_dev and device_xname
OK joerg
2008-04-04 22:18:05 +00:00
cegger 320e553f24 use aprint_*_dev and device_xname
OK joerg
2008-04-04 22:05:39 +00:00
christos 3bbc95f39d Add rl_forced_update_display() from Gerry Swislow 2008-04-04 21:18:34 +00:00
christos eaa1a34779 handle NULL better. 2008-04-04 21:15:30 +00:00
christos 03829a56bb elementary handling for different types of DTYPE_FOO.
XXX: DTYPE_CRYPTO is unused.
XXX: should we change fd_clone() to pass a DTYPE_FOO?
2008-04-04 21:14:08 +00:00
cegger 8dd00d48ab use aprint_*_dev
OK joerg
2008-04-04 20:31:50 +00:00
cegger e34ebae1b0 remove unused file
OK bouyer
2008-04-04 20:15:07 +00:00
cegger 224670ae98 use device_xname() where appropriate
OK martin
2008-04-04 20:13:18 +00:00
ad f07d372316 When a timeshared LWP blocks on a turnstile, elevate its priority into the
PRI_KTHREAD range. This is kind of ugly, but needed because of direct handoff
with rwlocks, and because threads that block holding a mutex regularly hold
other locks/resources.

Problem addressed: priority lending works well where a thread blocking on a
turnstile has a high priority level (eg realtime). For timeshared threads
(low priority) it's unlikely to have much effect. In the latter case threads
awoken from a turnstile can and do compete for CPU time with regular waits
like disk I/O. On MP systems this can result in a feedback loop where
threads cannot quickly get access to a resource held by a thread waking from
a turnstile. The waking thread eventually runs when enough of the other
threads block waiting for it, freeing up the CPU. The end result is a lot of
idle time during builds.
2008-04-04 19:16:24 +00:00
christos 6238528d0f catch up with struct filedesc changes. 2008-04-04 18:27:00 +00:00
ad aec1290f07 Maintain a bitmap of idle CPUs and add idle_pick() to find an idle CPU
and remove it from the bitmap.
2008-04-04 18:08:27 +00:00
ad e17313ed48 Revert unintentional change. 2008-04-04 18:08:04 +00:00
drochner ca15c5b536 add some missing softc initialisation necessary after the device/softc
split, approved by Chris Gilbert
2008-04-04 17:44:43 +00:00
ad 15efd9ad99 Do adaptive spinning for rwlocks, but only if the lock is write held and
there are no waiters. This gives a major boost to build.sh on larger
systems as directory vnode locks are exclusive for lookup, but are often
only held for a very short period of time.

This change has the potential to more readily expose lock order reversals
and other types of deadlock.
2008-04-04 17:25:09 +00:00
ad 61a0a96054 Maintain a bitmap of idle CPUs and add idle_pick() to find an idle CPU
and remove it from the bitmap.
2008-04-04 17:21:22 +00:00
tsutsui a3fc79baa9 Split device_t/softc for iee(4), with misc cosmetic changes. 2008-04-04 17:03:42 +00:00
tsutsui bc7b528919 Use CFATTACH_DECL_NEW(). (no softc) 2008-04-04 16:33:05 +00:00
tsutsui 9a86ae19d5 - add options COMPAT_40
- use options<space><tab>
2008-04-04 16:27:26 +00:00
martin 5cc9b872da Make this compile w/o GEM_DEBUG on non-sparc systems 2008-04-04 16:26:52 +00:00
tsutsui 174de56cb1 Add nca at pcmcia (53C400 based SCSI). 2008-04-04 16:21:08 +00:00
tsutsui d637b91d45 Split device_t/softc for more ncr5380sbc variants, with related changes. 2008-04-04 16:19:51 +00:00
matt 666d4c1ddb split device_t/softc. Use device_xname and device_private. 2008-04-04 16:04:19 +00:00
tsutsui 5147571380 Split devict_t/softc for ncr5380sbc SCSI, and misc cosmetic changes. 2008-04-04 16:00:57 +00:00
xtraeme 6e993e74bb Fix fallout from previous commit. 2008-04-04 13:10:41 +00:00
njoly 8c5bd726ed Regen for msync(2) support. 2008-04-04 12:59:15 +00:00
njoly dc80a00302 Add msync(2) syscall. 2008-04-04 12:57:55 +00:00
njoly 2b6f0cc5e4 Regen for linux_sys_msync removal. 2008-04-04 12:43:00 +00:00