171993 Commits

Author SHA1 Message Date
christos
3457928c2a Add Picky flag; this produces more warnings:
1. long a; int i; a = i * i;
   suggests casting i to long, so that we gain precision in the multiplication.
2. warns about magnitude comparisons in enums.
3. warns about possible sign extension issues when integer types become widened.
2008-07-31 15:21:34 +00:00
simonb
b91e1531e4 Mention WAPBL. 2008-07-31 15:19:44 +00:00
joerg
f45c989c53 Micro-optimise VarQuote by exploiting that meta characters are normally
rare and skipping over normal characters with strcspn is therefore
faster. Further simplify logic by always setting newline and precompute
the size of the string.

OK christos@
2008-07-31 15:19:19 +00:00
joerg
2ad045d932 Meta characters are a constant, mark it so. 2008-07-31 14:59:39 +00:00
joerg
9937b08bc5 Add description of VGA_POST default and what it is good for. 2008-07-31 14:20:52 +00:00
joerg
ca906ffece Include VGA_POST by default in GENERIC and ALL on x86 now that the code
is conditional.
2008-07-31 14:15:00 +00:00
simonb
dd19be8c80 Update a bit. 2008-07-31 14:14:07 +00:00
joerg
0b2a6aef84 machdep.acpi_vbios_reset = 2 --> vga_pci_resume will use x86emu to do a
POST when options VGA_POST is present.
2008-07-31 14:05:05 +00:00
simonb
4a733c2463 s/journalling/journaling/ 2008-07-31 12:30:15 +00:00
ws
f83cc7d5ab Calling fxp_init within the interrupt handler results in
a hang (continuous assertion of FXP_SCB_STATACK_RNR).
Instead do it in the ioctl routine after receiving a
signal from the interrupt handler.
2008-07-31 12:28:28 +00:00
hannken
fb6f2c9b30 Resolve a deadlock when fs_nodealloccg() initializes more inodes on
an UFS2 file system.  With the current cylinder group buffer busy it
calls ffs_getblk().  This runs through copy-on-write and may need the
current cylinder group buffer to allocate a new block for the snapshot.

While here write the cylinder group buffer synchronously after
cg_initediblk was changed because fsck_ffs will trust it.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2008-07-31 09:35:09 +00:00
simonb
0800f2fb9f Be consistent with #define<tab>. 2008-07-31 08:44:21 +00:00
cegger
e2775dc02b Add "options WAPBL" to Xen configs 2008-07-31 08:43:13 +00:00
simonb
2a3d67b697 Remove needless white-space change that crept in through wapbl branch
merge.
2008-07-31 08:42:01 +00:00
simonb
bc6528ab7a Add Greg Oster's man page for WAPBL. Still a work in progress,
expect updates.

Thanks a lot to Greg for cribbing together the info and getting
this going.
2008-07-31 08:28:17 +00:00
simonb
64c83a728a Wrap long lines, break lines on start of new letter. 2008-07-31 08:01:59 +00:00
simonb
dc9029a896 Regen for "options WAPBL". 2008-07-31 07:48:37 +00:00
simonb
ef38d7e5a7 Move "options WAPBL" so that it also gets added to INSTALL kernels. 2008-07-31 07:47:43 +00:00
simonb
ae9bf9b493 Regen for "options WAPBL". 2008-07-31 07:45:39 +00:00
simonb
73252465b8 Move "options WAPBL" so that it also gets added to INSTALL kernels. 2008-07-31 07:45:04 +00:00
simonb
0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
simonb
36d65f1138 Merge the simonb-wapbl branch. From the original branch commit:
Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
   journaling code.  Originally written by Darrin B. Jewell while
   at Wasabi and updated to -current by Antti Kantee, Andy Doran,
   Greg Oster and Simon Burge.

OK'd by core@, releng@.
2008-07-31 05:38:04 +00:00
uebayasi
d1dfd4fec7 Display t_outcv* channels as "ttyout*", not "ttycan*". 2008-07-31 01:46:40 +00:00
mrg
9fab5b3e9a use ${FONTCONFIG} instead of the long version. 2008-07-31 01:37:58 +00:00
mrg
55503ed73c XXX: -Wno-error for ffcheck.c and register.c 2008-07-31 01:37:23 +00:00
mrg
ed5d239d77 XXX: -Wno-error for extutil.c 2008-07-31 01:36:33 +00:00
mrg
898939e96d XXX: -Wno-error for StBytes.c 2008-07-31 01:35:04 +00:00
mrg
3141b62a31 XXX: -Wno-error for sm_client.c / sm_manager.c 2008-07-31 01:33:54 +00:00
mrg
36bfdec773 be sure to decend into sys/rump during "make obj". fixes builds on r/o src. 2008-07-31 01:11:53 +00:00
dsl
0109c05abd Fix 'total' output from 'du -sc'.
Simplify the change (adding -d<depth>) that broke it by noting that
-d0 is supposed to be the same as -s.
Calling fts_set(fts,p,FTS_SKIP) here is also pointless.
2008-07-30 22:03:40 +00:00
pooka
6fe369e772 Nuke __VFSOPS_EXPOSE, it hasn't been used in ages. 2008-07-30 18:10:38 +00:00
tsutsui
a8858674e9 Add a BUS_DMASYNC_PREWRITE call against tile's DMA address descriptors.
Fixes mangled screen on recent kernels.
Tested on my R5K IP32 and on R10K IP32 by Jorge Acereda Macia on port-sgimips.
2008-07-30 17:24:27 +00:00
joerg
9acf218ba1 Before using the slightly more involved bitmap tables,
check that the charset for strspn/strcspn is non-trivial.
An empty charset is either a direct return or a strlen and
a single charset a simple loop.
2008-07-30 16:13:59 +00:00
njoly
a3adeaa5f9 Fix linux_sigismember/linux_sigaddset to work on amd64 (and other
64bits archs), by ensuring that bit shifts are done on correct type.
2008-07-30 16:05:26 +00:00
pooka
e3c0c9ec57 No reason to forward def componentname anymore 2008-07-30 14:59:47 +00:00
pooka
d2b954cb75 Include <sys/types.h> for completeness, uid_t etc. in prototypes
noticed by Arnaud Ysmal
2008-07-30 14:57:40 +00:00
christos
365dab42f3 handle EINTR in the termios operations, reported by the GHC folks 2008-07-30 13:00:46 +00:00
cherry
b89762695b Catchup with acpica 2008-07-30 11:57:24 +00:00
cherry
370d9398c5 Allow $arch/stand to use dist/acpica/acpica.h 2008-07-30 11:45:20 +00:00
hannken
4685b65ada ffs_snapshot():
Release allocated indir blocks on non-softdep file systems instead
    of writing them twice.
    It is sufficient to clean dirty data pages to avoid UBC inconsistencies.

ffs_snapblkfree() and wrsnapblk():
    If a snapshots effective link count is zero there is no need
    to use synchronous writes.

ffs_copyonwrite():
    Defer locking the snapshots until there is a need to copy the block.

wrsnapblk():
    Use vn_rdwr() instead of bwrite() to write to the snapshots.
2008-07-30 10:09:30 +00:00
mrg
71a7120b8f add a note to kill lbx 2008-07-30 04:07:36 +00:00
oster
55a54b5762 Fix race during creation of rumpdefs.h, rumpvnode_if.h, and rumpvnode_if.c.
Patch from pooka@ with tweak from me.

Approved by: pooka
2008-07-30 01:32:47 +00:00
bjs
43577a53e4 Fix type-o. 2008-07-29 23:44:42 +00:00
tron
2542692463 Regen. 2008-07-29 21:13:48 +00:00
tron
3fd4fcc5db Add nVidia GeForce 7300 LE. 2008-07-29 21:13:17 +00:00
pooka
db96f8c4cc fix pasto 2008-07-29 21:11:17 +00:00
pooka
4b68af9947 Prevent amd64 compiler flag -mcmodel=kernel for rump kernel code.
This allows to compile rump libraries as shared libraries also on mad64.

Problem spotted by Greg Oster.  I guess his build broke or something ...
2008-07-29 20:18:25 +00:00
matt
86d6d815ae Make sure to call dlerror() to clear any error messages after the relocations
are done and there are no errors.  This will prevent spurious undefined weak
symbol errors being returned by dlerror().

Fixes PR bin/39240.
2008-07-29 16:27:01 +00:00
thorpej
261002c777 rw_vector_exit(): When doing direct hand-off to a writer, only set
RW_WRITE_WANTED if there are additional writers waiting.
2008-07-29 16:13:39 +00:00
pooka
dd569b0633 Use command line option parsing code from sbin/mount_msdos to
gain equal usage and behaviour with the "real" counterpart.
2008-07-29 16:06:18 +00:00