Commit Graph

172424 Commits

Author SHA1 Message Date
hannken
e553a8ce92 Remove an unneeded include to make it compile again. 2008-08-08 06:29:21 +00:00
dogcow
1b552055c3 %d -> %zd for size_t 2008-08-08 06:26:58 +00:00
dogcow
8b3b4956d6 fix "warning: 'npv' may be used uninitialized in this function" 2008-08-08 06:21:09 +00:00
simonb
0885333839 Allow the "log" option to be chosen for filesystems. Move "log"
and "softdep" to top of menu to chose filesystem options.
2008-08-08 02:54:06 +00:00
oster
ef887ad15c Since we're printing loc2 and loc3, make the headings match what we print.
Spotted by Paul Goyette on current-users.
2008-08-07 22:26:14 +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
mrg
22e7e15fc7 list most of the correct libs/depends. not so many link errors now. 2008-08-07 06:37:20 +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
pooka
0128ff2d3e add comment stating that the manpage is generated 2008-08-06 20:18:19 +00:00
pooka
79e4f54e20 add simple utility for autogenerating rump man pages 2008-08-06 20:15:30 +00:00
pooka
2c6e40dafe Add manual pages for rump file system servers. 2008-08-06 20:14:08 +00:00
perry
e263eb7424 Per agc, note that the ROADMAP file is on its way out. 2008-08-06 19:52:43 +00:00
drochner
52c126ff5a there was a backslash too much 2008-08-06 19:19:15 +00:00
tteras
191869cf2a From Krzysztof Piotr Oledzki:
Make privileged process exit if unprivileged process is terminated and
some spelling fixes.
2008-08-06 19:14:28 +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
matt
f0a4a8908c Add a missing dependency 2008-08-06 16:22:48 +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
plunky
b63a49fc97 mention sockopt(9) addition 2008-08-06 15:35:37 +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
e922dcbb71 add man page for sockopt(9) 2008-08-06 15:08:08 +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
plunky
e6fde5136f For convenience, pad the structures for NAP, GN and PANU profiles
to be the same size.
2008-08-06 14:21:33 +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
skrll
d47eac2b49 s/non-zero/true/,s/zero/false/
where applicable.
2008-08-06 07:49:15 +00:00
mrg
24eb37443f attempt to link Xorg. gets missing main. 2008-08-06 07:38:15 +00:00
mrg
1991c9d521 remove a non-existant include path 2008-08-06 07:37:38 +00:00