Commit Graph

81020 Commits

Author SHA1 Message Date
cube 8332bbc306 Regen (fhstat versioning, posix_fadvise). 2006-05-05 13:29:50 +00:00
cube 8a02261127 Follow on fhstat(2) versioning. While there, add sys_posix_fadvise (no
emulation needed there).
2006-05-05 13:28:52 +00:00
cube a107f9847e Add compat_30 as a compatopts. 2006-05-05 13:27:29 +00:00
drochner 50d235e444 make sure "radiotap" capture data are aligned,
thanks to Pierrick Brossin for verifying the effect on "tcpdump" output
2006-05-05 09:04:05 +00:00
rpaulo de8db47547 Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.

From the KAME project (www.kame.net).
Reviewed by core.
2006-05-05 00:03:21 +00:00
tsutsui 0229d65930 Generate initial aoutm68k_syscalls.c. 2006-05-04 22:30:00 +00:00
tsutsui 3c4442d43e aoutm68k_syscalls.c is now required by kdump(1). 2006-05-04 22:27:51 +00:00
rpaulo 2888212ca7 PR 33421: add ral at cardbus. From Pierrick Brossin. 2006-05-04 19:09:41 +00:00
christos bc364eb43f update for fhstat. 2006-05-04 17:56:22 +00:00
christos 89a5572015 Regen 2006-05-04 17:50:28 +00:00
christos 9ec9aed92e fhstat needs to be versioned too (for ino_t). Pointed out by Izumi Tsutsui 2006-05-04 17:48:56 +00:00
christos cffd112ba3 regen 2006-05-04 17:23:00 +00:00
christos 6507871e48 Add compat30 getdents. Pointed out by Izumi Tsutsui. 2006-05-04 17:22:43 +00:00
perseant 86f30eea43 Regen after making VOP_FCNTL take an unlocked vnode. 2006-05-04 16:49:54 +00:00
perseant 935530188d Change VOP_FCNTL to take an unlocked vnode. Approved by wrstuden@. 2006-05-04 16:48:16 +00:00
yamt 1468e19297 implement splraiseipl() for sparc.
reviewed by Martin Husemann.

while i'm here, use macros for some MD constants (eg. IPL_ZS)
as suggested by Havard Eidnes.
2006-05-04 12:21:18 +00:00
yamt 4aed9e155a pull splraiseipl() for sparc64 from newlock branch.
reviewed by Martin Husemann.
2006-05-04 12:18:54 +00:00
simonb 0b342c0b59 Use config_stdsubmatch() instead of a local submatch function. 2006-05-04 10:53:06 +00:00
perseant ce053245eb Introduce another per-filesystem parameter, lfs_resvseg, to separate the
notion of "how many segments are reserved for the cleaner" from that of
"how many segments are not counted in lfs_bfree".  The default value
used for existing filesystems is the same as the previous implicit value
of (lfs_minfreeseg / 2 + 1), modulo some sanity checking.

Count pending dirops on a per-filesystem basis, since once we start
writing them we can't stop until we're done.  This seems to help stave off
the "no clean segments" panic in the case of filling the filesystem with
directories and small files (e.g. simultaneously unpacking more copies of
pkgsrc than will fit).
2006-05-04 04:22:55 +00:00
simonb 5754da5b7f Add missing "return 0;" from WSDISPLAYIO_SMODE case in voodoofb_ioctl(). 2006-05-04 02:18:11 +00:00
bouyer 97aadda462 Fix a race between xenconscn_getc() and xencons_handler() (which seems to be
triggered by recent xen3 hypervisor or tools): check sc->polling in
xencons_handler() and just return if set. Also, run xenconscn_getc() and putc()
at spltty().
While there, mark xencons_interface as volatile and use __UNVOLATILE() where
appropriate; and update the pointers in xencons_handler() if xenconscn_getc()
changed them (avoids replaying ddb commands in shell if ddb got called
by the magic string).
2006-05-03 20:22:34 +00:00
garbled 2baa5f42bc Generic soft interrupt support for prep. Mostly copied from macppc,
tested on 7248 and 7043.
2006-05-03 17:47:05 +00:00
seanb 550e54992f - Make sure scangen sequence number is unique
per iteration.
- From FreeBSD.
- CI: sam
2006-05-03 16:50:58 +00:00
yamt 6957cc2e13 ubc_fault: use PMAP_CANFAIL. pointed by Jed Davis on tech-kern@. 2006-05-03 15:57:35 +00:00
yamt 38ae305f09 uvm_km_suballoc: consider kva overhead of "kmapent".
fixes PR/31275 (me) and PR/32287 (Christian Biere).
2006-05-03 14:12:01 +00:00
kiyohara c8693c641b Back out for 1.94 from 1.93. 2006-05-03 00:37:44 +00:00
drochner 76d85cf9ac -explicitely align "struct savexmm" so that we don't get surprised
if we play with the PCB
-remove historical "struct emcsts"; there is no support in context
 switching code for ages (if there has ever been)
2006-05-02 19:03:24 +00:00
drochner 7987283ca6 comment out FPU DNA handling; this cannot be reached tbomk
because that trap is dealt with in fpu.c
2006-05-02 18:51:15 +00:00
drochner d50e999b43 fix typo in comment 2006-05-02 18:04:53 +00:00
rpaulo 69ade2726c Use for in a forever loop as per KNF. 2006-05-02 13:26:07 +00:00
martin c6795868de Fix some comments, mostly from Nenad Crnko in PR kern/33402. 2006-05-02 08:31:02 +00:00
perseant e807d08027 Fix a "locking against myself": lfs_flush_dirops() doesn't need to lock the
vnodes to write their blocks, since it holds the segment lock.
2006-05-02 00:52:26 +00:00
rpaulo 77ff29031a aprint_debug -> aprint_error. 2006-05-01 20:43:46 +00:00
perseant 8696fd25e2 Don't ever partially write dirops, even if we need the cleaner to run.
This increases the chances of the "no clean segments" panic slightly,
but allows us to run the ckckp regression test successfully to completion.
2006-05-01 19:47:29 +00:00
dyoung 2d794b9ed5 Remove needless "link state changed to DOWN/UP" message. 2006-05-01 18:17:42 +00:00
perseant 8fc4e510a9 Add an explicit list initialization that was missing from my last commit. 2006-04-30 21:59:58 +00:00
perseant 481da54fc1 Postpone the segment accounting changes coming from truncation until the
inode that makes those changes valid is either written to disk by
lfs_writeinode() or discarded by lfs_vfree().

A couple of locking fixes are also included as well.
2006-04-30 21:19:42 +00:00
rpaulo 5cd433e986 My laptop sends DeviceCheck instead of PowerSourceStatusChanged. 2006-04-30 20:44:35 +00:00
rjs 712ccb18c3 Fix comment for cpu_switch(). 2006-04-30 19:50:19 +00:00
xtraeme f9a0ff490e regen 2006-04-30 18:58:19 +00:00
xtraeme 36b60342ff PR kern/32849: pcidevs update for Intel 82801CA AC'97 Modem Controller.
Apply patch from Nicolas Joly.
2006-04-30 18:57:51 +00:00
xtraeme c28f2b42a3 PR kern/32885: adt7463 i2c device does not always unlock i2c bus on error.
Apply patch from Nicolas Joly.
2006-04-30 18:54:20 +00:00
xtraeme 53ef4625e0 PR kern/32913: amdpm(4) smbus/i2cbus needs locking. Apply patch
from Nicolas Joly.
2006-04-30 18:46:18 +00:00
xtraeme 22f565fb88 Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.
2006-04-30 17:56:03 +00:00
xtraeme ef9797bf50 regen 2006-04-30 17:33:46 +00:00
xtraeme 5140e8073f PR port-amd64/33393: viaide driver patch for VT8237R SATA. 2006-04-30 17:33:17 +00:00
kiyohara 8e6f9eeb0a Fix memory leak. 2006-04-30 14:18:40 +00:00
kiyohara b6f53afe55 Use An appropriate flag in macro fw_bus_dma_*. 2006-04-30 14:14:06 +00:00
kiyohara f4eda9f835 use fw_bus_dmamap_create(). 2006-04-30 14:03:11 +00:00
kiyohara a187d57e17 Indented. 2006-04-30 13:54:18 +00:00