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
njoly
dcde97da0e
Cleanup. Kill linux_sys_msync and use sys___msync13 instead.
...
No functional changes expected.
2008-04-04 12:38:52 +00:00
tsutsui
229f1dede1
Account ci_idepth in VR_INTR() and TX_INTR, rather than cpu_intr() in
...
hpcmips/interrupt.c. The latter one is used only on kernels configured for
multiple CPUs (i.e. kernels which have both options VR41XX and TX39XX).
Closes PR port-hpcmips/38139 from Risto Sainio.
2008-04-04 12:36:06 +00:00
tsutsui
d9941582bf
Split device_t/softc for le(4) and variants and misc cosmetic changes.
2008-04-04 12:25:06 +00:00
tsutsui
960221ac26
Split device_t/softc with misc related changes.
2008-04-04 12:20:48 +00:00
tsutsui
f061be1a68
Add options COMPAT_40.
2008-04-04 10:21:40 +00:00
xtraeme
63e2f604f6
Split device_t/softc and other related cosmetic changes.
2008-04-04 10:11:01 +00:00
hannken
ad882177bc
Update includes. Builds again on sparc64.
...
Ok: Juan Romero Pardines <xtraeme@netbsd.org>
2008-04-04 10:10:20 +00:00
xtraeme
a95f67b961
This driver attachs to the iic bus not i2c.
2008-04-04 10:09:07 +00:00
tsutsui
88d7308f1b
Add options COMPAT_40.
2008-04-04 10:06:54 +00:00
xtraeme
74fc6cf06c
Split device_t/softc and other related cosmetic changes.
2008-04-04 09:49:49 +00:00
hauke
00d02da16b
Go all the way, and use the new accessor function for the device_xname field.
2008-04-04 09:49:33 +00:00
xtraeme
315a851ae4
Don't forget to unmap I/O space in the error paths.
...
Split device_t/softc and other related cosmetic changes.
2008-04-04 09:41:40 +00:00
tsutsui
703736dfc6
Fix botches in the previous.
2008-04-04 09:33:07 +00:00
xtraeme
6f1c8ce653
Don't forget to unmap I/O space in the error paths.
2008-04-04 09:30:55 +00:00
yamt
f5c7cd2491
adb_read_date_time: remove an unused variable.
2008-04-04 09:16:59 +00:00
xtraeme
6137f9f2a1
Don't forget to unmap the I/O space in the error paths.
2008-04-04 08:44:22 +00:00
xtraeme
1b00b10fa6
Remove an unused softc member.
2008-04-03 23:16:23 +00:00
xtraeme
789a8d9a8c
Enable finsio(4).
2008-04-03 23:11:11 +00:00
xtraeme
d91e0059ae
Add finsio(4).
2008-04-03 23:09:59 +00:00
xtraeme
b4af2cba55
Add the finsio(4) LKM.
2008-04-03 22:57:40 +00:00
xtraeme
489d9f36fc
Erm. Backout previous... I committed the wrong file.
2008-04-03 22:54:29 +00:00