tsutsui
92b50ccb27
Don't allocate data buffer on stack in sd_read_capacity().
...
If data buffer is allocated on stack at the end of CPU cacheline,
the same cacheline region might be accessed via kernel stack even
after bus_dmamap_sync(9) against the data buffer in lower scsi drivers
so that read data via DMA could be lost.
Fixes occasional readdisklabel(9) failure at boot on ews4800mips
with osiop(4) driver and 128byte cacheline.
XXX: Other functions/drivers might have the similar problem.
2007-08-03 13:56:37 +00:00
tsutsui
51b5e07bf9
Misc KNF and cosmetics.
2007-08-03 13:15:56 +00:00
ad
7dcf597b04
Do the panicstr check only if _KERNEL.
2007-08-03 13:06:00 +00:00
pooka
9dc896c9de
Set mnt_fs_bshift and mnt_dev_bshift to reasonable dummy-values.
2007-08-03 13:00:19 +00:00
tsutsui
e4daee28e3
Add support for booting off raidframe RAID1 mirrors.
...
Should close PR port-cobalt/36639, but with a different way
(which is similar with pmax) from a patch in the PR.
2007-08-03 12:57:38 +00:00
pooka
ce3dd6b3a6
cleanup unused prototype
2007-08-03 08:50:23 +00:00
pooka
9feac0b35c
ANSI-fy
2007-08-03 08:45:36 +00:00
macallan
8907dfdbdf
unbork fallout from newlock2 merge:
...
- reinitializing video after X exits works again
- backlight levels should be right again
2007-08-03 05:40:47 +00:00
macallan
bb96a008ca
make IO mapping actually work
2007-08-03 05:02:23 +00:00
wiz
5ad579abd9
Explicitly talk about file pointers (to avoid confusion with general C pointers).
...
Suggested by joerg.
Bump date.
2007-08-02 23:46:39 +00:00
wiz
e3d3393d01
Add xref to shquote(3), suggested by joerg. Bump date.
2007-08-02 23:45:10 +00:00
ad
a363c5f5b2
cv_wakeup: the entire queue has to be searched, as we can't know how many
...
waiters there are.
2007-08-02 22:01:40 +00:00
kristerw
1ef79ebc7d
Do not include SSP files unless _FORTIFY_SOURCE > 0.
2007-08-02 21:49:09 +00:00
he
844b7f67f9
Re-phrase description of -A option, as per suggestion from Jukka Salmi
...
at netbsd-users@ and with a slight tweak by myself -- at the end the last
dump device will remain as the single active dump device.
Fix a nearby typo.
Bump date.
2007-08-02 18:53:46 +00:00
yamt
7431e54c17
make rfbuf_ts a tcp timestamp so that calculations in tcp_input make sense.
2007-08-02 13:12:35 +00:00
yamt
e74ee454c1
our tcp timestamps are in PR_SLOWHZ, not HZ.
2007-08-02 13:06:30 +00:00
pooka
95bedce095
include assumed headers
2007-08-02 12:53:30 +00:00
yamt
5bde4f20f7
nfsrv_slpderef: add an assertion.
2007-08-02 12:46:03 +00:00
yamt
d72bfdbeb2
nfsdsock_unlock: add an assertion.
2007-08-02 12:45:37 +00:00
yamt
4af13cf23b
nfssvc_nfsd: fix a wrong assertion. PR/36710 from Tobias Nygren.
2007-08-02 12:44:18 +00:00
yamt
6bc5a5a70f
nfsrv_zapsock: update SLP_DOREC for consistency.
2007-08-02 12:42:17 +00:00
yamt
76eb9e074c
nfssvc_nfsd: don't leave sockets with SLP_DISCONN.
2007-08-02 12:40:36 +00:00
yamt
cf51ee04a5
don't forget to maintain ama_addrs. reported by Coverity via Arnaud Lacombe.
2007-08-02 12:37:47 +00:00
yamt
5e1e651c3e
agrport_mc_del_callback: s/SIOCADDMULTI/SIOCDELMULTI/
2007-08-02 12:34:23 +00:00
jmcneill
fa02ff9185
Pull in i82489var.h in the NLAPIC > 0 case, from Geoff Wing.
2007-08-02 11:23:35 +00:00
heas
d05696c333
Note the import of Postfix 2.4.5
2007-08-02 08:30:43 +00:00
heas
571ff43dba
New files from 2.4.5
2007-08-02 08:29:04 +00:00
heas
ad7967a461
Resolve conflicts
2007-08-02 08:26:18 +00:00
heas
1f8ae20c33
Update Postfix to 2.4.5.
...
2.4.2 through 2.4.5 include various build, milter, and other fixes.
2007-08-02 08:04:21 +00:00
macallan
4986b07329
don't bus_space_map more IO space than we really need
2007-08-02 06:56:43 +00:00
rmind
4175f8693b
TCP socket buffers automatic sizing - ported from FreeBSD.
...
http://mail-index.netbsd.org/tech-net/2007/02/04/0006.html
! Disabled by default, marked as experimental. Testers are very needed.
! Someone should thoroughly test this, and improve if possible.
Discussed on <tech-net>:
http://mail-index.netbsd.org/tech-net/2007/07/12/0002.html
Thanks Greg Troxel for comments.
OK by the long silence on <tech-net>.
2007-08-02 02:42:40 +00:00
rmind
00cdc8df70
sys__lwp_suspend: implement waiting for target LWP status changes (or
...
process exiting). Removes XXXLWP.
Reviewed by <ad> some time ago..
2007-08-02 01:48:44 +00:00
dogcow
18fbcfc528
remove historical include no longer needed; fixes build breakage.
2007-08-01 23:48:24 +00:00
ad
45e2aff386
sleepq_block: if a pending signal is detected but has already been taken
...
by the time the calling thread tries to take it, don't return EINTR.
Instead return zero leading to a spurious wakeup.
2007-08-01 23:30:54 +00:00
ad
d028f9dec2
KNF
2007-08-01 23:24:26 +00:00
ad
7fecd4ded9
callout_softclock: add a couple of assertions.
2007-08-01 23:23:41 +00:00
ad
fe1b7cd1f7
Ressurect cv_wakeup() and use it on lbolt. Should fix PR kern/36714.
...
(background/foreground signal lossage in -current with various programs).
2007-08-01 23:21:14 +00:00
wiz
08f66ef435
postfix-2.4.4 out.
2007-08-01 23:13:36 +00:00
jmcneill
cedc871a24
Explicitly reinitialize lapic on resume; gets the clock ticking on the
...
Lenovo T60 and probably many others.
2007-08-01 22:41:59 +00:00
jmcneill
2a8951f91f
Clear the run flag in the command register when powering down, from
...
FreeBSD. Makes my laptop, and hopefully others, successfully sleep. Waking
up is a different story...
2007-08-01 22:40:16 +00:00
ad
2813873c47
Remove unused counters.
2007-08-01 21:48:19 +00:00
ad
f8239b2e5b
Deal correctly with mulithreaded processes. Among other problems this mixed
...
up return values for system calls between threads, leading to much confusion.
2007-08-01 21:39:36 +00:00
ad
b5dd2da738
Improve assertions slightly. When awakening assert that the CV has not
...
been destroyed.
2007-08-01 20:30:38 +00:00
degroote
0a057fefdd
Fix compilation in the POWERHOOK_DEBUG case
2007-08-01 19:50:24 +00:00
yamt
603d434b1b
use separate nreslookup evcnt for obj and anon pages.
2007-08-01 14:49:55 +00:00
jmmv
374758e493
Configure wscons on the new installed system.
2007-08-01 14:49:42 +00:00
pooka
e226ccdf0c
add comment to flag a slight problem
2007-08-01 14:20:45 +00:00
jmmv
f007a448b9
Add wskbd configuration to sysinst on shark.
2007-08-01 14:20:40 +00:00
jmmv
9de952fb19
sysinst needs wskbd0 to set the keyboard encoding, so generate all wscons
...
devices instead of just ttyE0.
2007-08-01 14:19:32 +00:00
nonaka
a91142d11f
INSTALL kernel build, too.
2007-08-01 11:38:53 +00:00