dogcow
8b3b4956d6
fix "warning: 'npv' may be used uninitialized in this function"
2008-08-08 06:21:09 +00:00
pooka
a1e2d21c3e
pg->flags &= PG_CLEAN --> &= ~PG_CLEAN;
...
Fixes at least writing to the fs for msdosfs.
2008-08-07 21:02:29 +00:00
plunky
772d60cfb9
convert some [left behind] compat code to use new sockopt API
2008-08-07 20:15:32 +00:00
reinoud
c3d5fdb471
Don't panic on read-errors but set flag that the packet is doomed. Its not
...
clear if i could read the individual sectors correctly since the entire
read packet is also one big ECC block.
2008-08-07 15:54:12 +00:00
tsutsui
c1e7fb3d43
Comment out options MACE_NEEDS_DELAYS.
...
Fixed mec(4) driver will (hopefully) work without it.
2008-08-07 15:14:40 +00:00
tsutsui
792cb95ad3
- check TX_RING pointer in MEC_INT_STATUS in mec_rxintr() (from OpenBSD)
...
- preserve the last TX descriptor to avoid wraparound (as per Linux driver)
- check IFQ_IS_EMPTY() on calling mec_start() in mec_intr()
- clear IFF_OACTIVE only if a number of descriptors are freed in mec_txintr()
Seems to fix mec(4) hangup problem (and silent reboot by crime watchdog)
on heavy load. Tested by martin@ and Jorge Acereda Macia on port-sgimips.
(though Jorge still has some problem, but this should have fixed one issue)
2008-08-07 15:05:02 +00:00
tsutsui
a311d7b2e9
In crime_attach(), call crime_watchdog_disable() rather than
...
writing zero to the CRIME registers implicitly.
2008-08-07 14:44:29 +00:00
tsutsui
e1beb9f83b
Fix a typo so that the crimedog is actually shut up.
2008-08-07 14:36:49 +00:00
pooka
3d8b145f98
some more todo points
2008-08-07 11:15:20 +00:00
skrll
371a852414
memcpy'ing a sleepq (TAILQ) doesn't work.
...
Re-init the condvar after memcpy'ing so that the TAILQ is valid.
regress/sys/kern/lockf now completes rather than failing in cv_wait_sig
with KASSERT(cv_has_waiters()).
2008-08-07 07:42:06 +00:00
cegger
bbae282081
make this compile as proposed by dholland@
2008-08-07 06:20:14 +00:00
matt
8f5842cc04
Use IF32_bits instead of I32_bit | F32_bit
2008-08-07 04:18:21 +00:00
matt
a960a1f973
Commit missing part of __HAVE_FAST_SOFTINTS support.
2008-08-07 04:17:25 +00:00
matt
8ce4fe62cc
Remove unneeded cast.
2008-08-07 04:16:26 +00:00
matt
188b29fdf8
Now that pmap allocates ncolors for memhook, use them to properly memory.
2008-08-07 04:15:52 +00:00
matt
d80307c31b
Only call dosoftints() is ci_intr_depth == 0
2008-08-07 04:11:07 +00:00
matt
196a1048f5
Enable __HAVE_FAST_SOFTINTS
2008-08-07 03:59:49 +00:00
matt
e2da7ceb83
Do fast softint processing in DO_AST_AND_RESTORE_ALIGNMENT_FAULTS.
...
Redo the softint mask so ci_softints >> ci_cpl != 0 becomes an easy
test for work to be done.
2008-08-07 03:58:15 +00:00
matt
13d044e16f
Pages mapped by debug_malloc are PMAP_KMPAGE so tell the pmap that.
2008-08-07 01:40:21 +00:00
oster
328f49787a
Define UFS_WAPBL_UNREGISTER_INODE() and UFS_WAPBL_REGISTER_INODE()
...
to something that pacifies the compiler in the non-WAPBL case.
Fix suggested by Martin Husemann. Fixes PR#39302.
2008-08-06 21:18:59 +00:00
matt
baab10840a
Change pv_entries to use SLIST.
...
For VIPT caches, keep track of when pages are dirty so that their content
can be flushed back to main memory. This is done when the page is
read-only mapped by more than 1 color. Pages become when either their
modified bit gets set or an unmanaged writeable page is mapped. When
a page in unmapped or changed to read-only, run pmap_vac_me_harder in
case the page can be mapped read-only.
Thanks are given to Imre Deak for giving me the idea to assert for PVF_DIRTY.
2008-08-06 19:13:45 +00:00
matt
04ddff9cc7
Define IF32_bits as the union of I32_bit|F32_bit
2008-08-06 19:06:40 +00:00
matt
c331e46238
Add support for missing _SC_* constants for sysconf().
...
From andy dot shevchenko at gmail dot com
2008-08-06 17:17:03 +00:00
drochner
4e69f53b47
remove a KASSERT which is wrong since audio(4)'s device/softc were split
2008-08-06 16:31:15 +00:00
martin
80d96333fc
Remove a few components of struct lwp that we do not touch any more.
2008-08-06 16:12:59 +00:00
dyoung
2b1e3ce6be
Identify the O2 Micro OZ711E0 and treat it the same as all of the
...
other O2 Micro bridges, which seem to spuriously report bus errors
if parity-error detection is enabled.
2008-08-06 15:50:46 +00:00
martin
8093db04c6
We need socketvar.h now for struct sockopt.
2008-08-06 15:36:20 +00:00
dyoung
4738cebcdd
Regen.
2008-08-06 15:17:05 +00:00
dyoung
711281588b
Define O2 Micro OZ711E0. From OpenBSD.
2008-08-06 15:14:21 +00:00
plunky
fd7356a917
Convert socket options code to use a sockopt structure
...
instead of laying everything into an mbuf.
approved by core
2008-08-06 15:01:23 +00:00
reinoud
a287d23dee
Rewrite allocation scheme's determination and implementation replacing the
...
old somewhat naive selection scheme that didn't allow different allocation
settings for nodes, directory information (FIDs) and data.
Also fix some curious side-effects of atime updates on RMW devices.
2008-08-06 13:41:12 +00:00
hannken
601ab263e0
Do not call UFS_WAPBL_*() when ffs_freefile() is acting on a snapshot.
...
While here replace the test for VBLK with a convenience variable.
2008-08-06 12:54:26 +00:00
matt
7fc2caf9e9
Fix typo FP_ -> FE_
2008-08-06 03:54:50 +00:00
degroote
64411951db
We have a dummy entry for IPV6CP even if the non-INET6 case.
...
So always reference IDX_IPV6CP
Fix build of if_spppsubr.c if INET6 is not defined.
2008-08-05 23:56:31 +00:00
reinoud
5e89a5a8f1
Fixup important bug in internal recorded data fixup. Although most unlikely
...
it could result in theory result in descriptor trashing.
On the performance side, it would try to fixup *every* descriptor even if
it wasn't an internally allocated one. Performance loss wasn't that big but
every bit helps.
2008-08-05 19:29:54 +00:00
drochner
687baea535
Disable interrupts before shutdownhooks are run, as all other ports.
...
shutdownhooks need to use polling functions (and most do).
2008-08-05 17:09:17 +00:00
matt
91d4704c12
Update <machine/ieeefp.h> to use the C99 FE_* definitions instead of the
...
NetBSD defined ones. Redefine the NetBSD ones in terms of the C99 ones.
Step 1 to having <fenv.h>
2008-08-05 16:47:41 +00:00
matt
c5e5572326
For ARITH traps, set the siginfo code appropriately for FP related traps.
2008-08-05 16:00:31 +00:00
matt
a97a3faaf7
Add the AFLT_FLT* code for T_ARITHFLT.
2008-08-05 15:59:28 +00:00
matt
e56d3c9caf
Add PSL_{IV,FU,DV} bits.
2008-08-05 15:56:04 +00:00
pooka
7b679f625d
Maintain consistency of naming between the rumpfs library name and
...
the MOUNT_FOOFS name. Don't bother polluting the obsolete lists
with the original names since they were in only for a few days.
2008-08-05 14:42:03 +00:00
pooka
b43847b66c
zu, not zd, to print size_t
2008-08-05 13:39:29 +00:00
simonb
159018ab5b
Enable "options APPLE_UFS". OK pooka@.
2008-08-05 13:16:27 +00:00
plunky
c5ce5d1afa
adjust message for previous change
2008-08-05 13:08:31 +00:00
pooka
919218a908
Honor PG_RELEASED when unbusying a page.
...
Fixes ufs file system full problem discovered by Simon Burge.
2008-08-05 13:06:35 +00:00
plunky
516804fedf
drop packets that exceed the negotiated MTU
2008-08-05 13:02:10 +00:00
apb
945315ec99
Use ${TOOL_SED}, which is defined by bsd.own.mk/bsd.sys.mk,
...
instead of just ${SED}. (Don't do the same for ${AWK},
because that's not yet a host tool.)
2008-08-05 08:26:05 +00:00
matt
0d17fd6f2c
RBSMALL is dead.
2008-08-05 04:12:09 +00:00
perry
3a8b66906e
Per request from Matt Thomas, make -m on -current print the major
...
number of the next release.
2008-08-04 19:30:09 +00:00
perry
3fe86b6b2e
1) replace use of sed with $SED
...
2) get rid of grep variable -- grep isn't used here
3) add a -m option that prints the release major number (like "4")
4) add a comment documenting the options
2008-08-04 17:56:52 +00:00