dyoung
4c03b53e43
In admsw_intr(), print any events we do not expect.
2007-04-17 03:33:48 +00:00
perseant
9be0ebd9da
Install a new sysctl, vfs.lfs.ignore_lazy_sync, which causes LFS to ignore
...
the "smooth" syncer, as if vfs.sync.*delay = 0, but only for LFS. The
default is "on", i.e., ignore lazy sync.
Reduce the amount of polling/busy-waiting done by lfs_putpages(). To
accomplish this, copied genfs_putpages() and modified it to indicate which
page it was that caused it to return with EDEADLK. fsync()/fdatasync()
should no longer ever fail with EAGAIN, and should not consume huge
quantities of cpu.
Also, try to make dirops less likely to be written as the result of a
VOP_PUTPAGES(), while ensuring that they are written regularly.
2007-04-17 01:16:46 +00:00
xtraeme
2a9a16f24b
Forgot to move the prototype in a comment to the correct place.
2007-04-17 00:25:21 +00:00
xtraeme
5ebefbd7c9
Sync comments with reality.
2007-04-17 00:23:23 +00:00
xtraeme
b1f8749808
Wrap long lines.
2007-04-17 00:20:52 +00:00
macallan
2f13af2bed
add a very simple driver for ADB button devices found on halfway recent
...
*Books. So far it only returns function key events.
2007-04-16 23:34:43 +00:00
macallan
9fbe2d39ef
don't panic when someone presses the power button without powerd running
2007-04-16 23:33:10 +00:00
jmcneill
1fcc2e9929
Fix crime_intr so intr handlers registers w/ crime_intr_establish actually
...
get called. "seems more right to me" mrg@
2007-04-16 23:31:04 +00:00
sekiya
d44a94367f
Fix wsfb names properly.
2007-04-16 22:34:58 +00:00
ad
9e3116ecc8
Fix error in previous.
2007-04-16 19:25:04 +00:00
pooka
f0498d6b10
add puffs_ops.[03]
2007-04-16 19:17:29 +00:00
ad
10c8708a61
+ x86/sysarch.h
2007-04-16 19:16:36 +00:00
pooka
aaf5af07be
Move file system and node callbacks into their own manual page.
...
Improve markup and descriptions a bit (not completely finished yet).
2007-04-16 19:16:02 +00:00
ad
8aefa8aa0c
Share the sysarch stuff between the x86 ports. PR kern/36046.
2007-04-16 19:12:17 +00:00
pooka
652606289c
I'm not sure if I want to know what MNT_LAXY means, so I'll just
...
assume the comment has a tyop of MNT_LAZY.
2007-04-16 18:33:39 +00:00
ad
e315f29059
Fix crappy locking around LDT updates. i386 part of PR kern/36046.
2007-04-16 17:24:19 +00:00
pooka
0d032531d1
document new interfaces
2007-04-16 16:37:02 +00:00
christos
27db97ce3a
As noted by uwe, we need to also save %edx because it can be used with
...
the regparm calling convention.
XXX: The c stub should be replaced with an assembly one.
2007-04-16 15:02:25 +00:00
pooka
5d3221caa2
handle vptofh and fhtovp:
...
* file handles are not only for nfs
* these functions are not allowed to be null
* update description of vptofh to contain the size parameter
(*bump date)
2007-04-16 14:47:19 +00:00
pooka
5880c46d2d
fix comment in previous
2007-04-16 14:09:53 +00:00
pooka
947c4b9f60
Allow to set non-blocking mode for transport fd even if the file
...
system is not yet mounted.
2007-04-16 14:09:00 +00:00
pooka
f2cea5c791
Sanity-check & possibly adjust number of hash buckets already before
...
returning the mount argument structure to userspace.
2007-04-16 13:54:07 +00:00
pooka
558edb1195
update usage
2007-04-16 13:52:38 +00:00
pooka
4609dd7023
lessen file handle size sanity checks: kernel does it already (mostly)
2007-04-16 13:25:09 +00:00
pooka
96fd5059d7
catch invalid size file handles already in the kernel
2007-04-16 13:24:35 +00:00
pooka
b173dac692
adapt to kernel changes with file handles
2007-04-16 13:06:39 +00:00
pooka
d1667bb48c
alloc to set flags when setting fhsize
2007-04-16 13:04:49 +00:00
pooka
4ccbce8168
Give the file server the ability to specify the file handle length
...
instead of defining a static length file handle on the framework-level.
2007-04-16 13:03:26 +00:00
njoly
052dae8c13
Add PT_MACHDEP_STRINGS, for kdump output.
2007-04-16 12:22:26 +00:00
jmcneill
6f89ab967c
Flush the write buffer as appropriate in the MACE case as we do in the
...
non-MACE cases. From sekiya@
2007-04-16 12:19:00 +00:00
sekiya
1e21380180
sgimips uses dlopen() for shared objects; fix wsfb shared object name.
2007-04-16 10:56:55 +00:00
tron
7899b34c32
Add support for Broadcom BCM5753 and Broadcom BCM5753M Gigabit Ethernet.
...
Patch supplied by Mustafa Dogan in PR kern/36139, confirmed to work
by Tonnerre Lombard on #NetBSD IRC channel.
2007-04-16 10:08:33 +00:00
agc
426de30578
Flesh out the args management a bit more:
...
+ put some meat into the add_arg and insert_arg functions
+ implement the free_args function
+ use 0 and 1 return values, instead of EXIT_SUCCESS and EXIT_FAILURE, in
internal functions (they bear no relation to shell exit values)
+ deep copy argument structures in refuse.c - we need to do this because
some FUSE file systems attempt to obliterate^Wcloak the argument vector
"for security reasons"
+ a side benefit of this is that we get the specific refuse file system
name back again:
[10:48:43] agc@inspiron1300 ...src/lib/librefuse 38 > df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/dk0 28101396 19318530 7377798 72% /
kernfs 1 1 0 100% /kern
procfs 4 4 0 100% /proc
ptyfs 1 1 0 100% /dev/pts
puffs:refuse:id3fs 0 0 0 100% /mnt
[10:48:51] agc@inspiron1300 ...src/lib/librefuse 39 >
2007-04-16 09:55:51 +00:00
pooka
fca427389c
some routines for setting mount parameters
2007-04-16 08:28:55 +00:00
enami
780e071921
Don't expand RCS id of ancestor file. The id itself is actually copied
...
from null_vnops.c since the log message of rev. 1.1 implies the copy.
2007-04-16 08:10:58 +00:00
dyoung
339f95c302
Make this compile with or without 'options ATADEBUG'.
2007-04-16 05:25:36 +00:00
chs
aba740b225
define a pager flag PGO_RECLAIM, similar to FSYNC_RECLAIM, and use it
...
to skip unnecessary flushing when layered file system vnodes are recycled.
this also prevents a deadlock with the dodgy LFS putpages routine.
fixes the non-LFS part of PR 36150.
2007-04-16 05:14:54 +00:00
christos
7df3bf9f10
save and restore %eax, %ecx, otherwise profiling does not work properly.
...
From Anon Ymous. Example program that fails:
int
main(int argc, char *argv[])
{
return argc;
}
2007-04-16 03:49:52 +00:00
dogcow
6586d2040a
fix build on arches with chars that're by default unsigned.
...
(patch supplied by martin.)
Forgot that iptest uses these files, rather than the one in src/dist/ipf.
2007-04-16 02:40:25 +00:00
dogcow
65febf04fc
fix build on arches with chars that're by default unsigned.
...
(patch supplied by martin.)
2007-04-16 02:36:24 +00:00
macallan
4949af4d83
actually support WSDISPLAY_COMPAT_RAWKBD
...
unlike akbd we're sending ADB scancodes though, and don't try to translate
them into XT scancodes
2007-04-16 02:12:11 +00:00
lukem
31835c3a13
Replace a "while" with an "if" since the code path only gets executed once.
2007-04-16 00:43:43 +00:00
macallan
d92688e114
more autoconfig cosmetics
2007-04-16 00:22:55 +00:00
macallan
b0c5f0da81
cleanup autoconfig output
2007-04-16 00:18:34 +00:00
macallan
27805ca303
on the iBook Fn-Command sends the same scancode as the power button on some
...
powerbooks so we'll listen to this scancode only on powerbooks
2007-04-16 00:16:43 +00:00
matt
f6c632db63
Add TURBOChannel machine-dependent include for VAX.
2007-04-15 23:27:02 +00:00
matt
8655342068
-O1 on vax isn't quite enough, add -fgcse -fstrength-reduce -fgcse-after-reload
...
too. We can build again.
2007-04-15 22:53:08 +00:00
jmcneill
c1ee0b42d1
We don't support WSDISPLAYIO_[SG]VIDEO, so don't try to hide it.
2007-04-15 20:37:24 +00:00
rumble
d5731af33f
s/MAC-100/MAC-110/
2007-04-15 20:31:05 +00:00
matt
b3fb0316d2
Convert to cpufunc_* to struct initializers.
2007-04-15 20:29:21 +00:00