Commit Graph

158681 Commits

Author SHA1 Message Date
rmind
10c3d35ca0 Rename vfs_aio.c to sys_aio.c as decided in <tech-kern>.
Please note, that <tech-kern> people should note about
file names before commit. Otherwise, function may fail
with errno set to EDIRTY, and return -1. ;)
2007-05-07 22:22:20 +00:00
pooka
71ab04cbde make description of VOP_MMAP compatible with reality 2007-05-07 21:41:49 +00:00
dogcow
01b74015fe fixes from dsl for compile errors 2007-05-07 21:18:26 +00:00
martin
8341c5308c Note sunsolve now requires a login. 2007-05-07 19:45:59 +00:00
martin
4f9040b578 Adapt unsupported hardware section 2007-05-07 19:34:19 +00:00
he
1d168d71bb Bump SYMTAB_SPACE so that the contents fits again. 2007-05-07 18:51:45 +00:00
pooka
d583f4a1ec Unmount frequently requires some test code, so define it here as
a dummy instead of libpuffs to make plugging the test code in easier.
2007-05-07 17:22:50 +00:00
pooka
dca252d8a0 Use inactive-on-demand, set inactive request in open() to close
file handles when last reference is removed from the kernel.
2007-05-07 17:20:58 +00:00
pooka
2893a07834 Default to inactive-on-demand, use inactive setback to request inactive
to be called for a removed node (for unix open file semantics).
2007-05-07 17:18:50 +00:00
pooka
7faf2bccbe Add puffs_setback(), which can be used to set setbacks for nodes before
the call returns to the kernel.  Currently it can be called only from
open(), mmap(), remove() and rmdir().  (But that might change)
2007-05-07 17:16:07 +00:00
pooka
151ee075e9 Introduce puffs "setbacks", which can be used to set certain flags
for nodes upon return from the userspace.  Currently it can be used
to indicate that the file server should be notified of "inactive"
in case the file server has opted to not receive inactive every
time the reference count for a vnode drops to zero.  (inactive is
a common event, almost never requires any action and must be executed
sychronously, so it is wasteful).

While doing this, cleanup the release-relock nonsense from the
vntouser*() arguments.  It was never enabled and the whole LOCKEDVP()
concept was very broken to begin with.
2007-05-07 17:14:54 +00:00
dsl
1844147fa9 Split sys_wait4() so that compat code can fiddle with the returned 'status'
and 'rusage' without having to copy data to/from stackgap buffers.
The old split (find_stopped_child) could be removed.
amd64 seems to run netbsd32, linux and linux32 emulations. sparc64 compiles.
2007-05-07 16:53:17 +00:00
he
1276917b53 Remove now-unused declarations of "struct proc *p". 2007-05-07 14:13:00 +00:00
yamt
03df1926ce mention ipv6 link local addresses. 2007-05-07 13:11:01 +00:00
yamt
2d1958e0af yamt-idlelwp-base6 2007-05-07 13:05:17 +00:00
yamt
e332a34211 add an evcnt and some assertions. 2007-05-07 12:39:45 +00:00
he
2751cf9440 Remove two local declarations of *p, now no longer needed. 2007-05-07 12:24:00 +00:00
yamt
59fdf737d5 add bioctl.debug. 2007-05-07 11:17:13 +00:00
yamt
d4bb61958b flush_inodedep_deps: fix access after free. PR/29724. 2007-05-07 11:13:01 +00:00
xtraeme
04ae3cd1d0 Remove an extra comma. 2007-05-07 11:02:21 +00:00
xtraeme
664bf29811 Mention mfi(4), bump date. 2007-05-07 11:00:43 +00:00
xtraeme
6b5eadf8c1 Don't refresh all sensors in the gtredata function, just the sensor
that was requested. This is related to PR kern/36226.
2007-05-07 10:54:44 +00:00
dsl
832ca390e2 Add child rusage values to exiting process in 'find_stopped_child'
so that it is (correctlly) available to the caller of wait4().
The self and child rusage values remain split for zombies.
2007-05-07 09:30:14 +00:00
jnemeth
3377bd5221 PR/36234 - Joerg Niendorf -- xi -> xirc 2007-05-07 09:02:05 +00:00
xtraeme
7435f0af77 Don't refresh all sensors in the gtredata function, just the sensor
that was requested. This is related to PR kern/36226.

Patch from Mihai Chelaru in private email.
2007-05-07 07:48:28 +00:00
xtraeme
0f4f0899c9 Enable rum(4). 2007-05-07 07:42:21 +00:00
xtraeme
5c606d1bff regen 2007-05-07 07:29:19 +00:00
xtraeme
ef71458b16 Sync the list of supported models with OpenBSD, 4 new models were
added.
2007-05-07 07:29:03 +00:00
xtraeme
ec414f7633 regen 2007-05-07 07:15:16 +00:00
xtraeme
0a7a89a5bc Sync the list of supported models with OpenBSD, 13 new models were
added.
2007-05-07 07:14:58 +00:00
martti
1a4bf0c822 Better dependency handling for the ip2 test. 2007-05-07 07:06:30 +00:00
xtraeme
e62012ff3e regen 2007-05-07 05:44:24 +00:00
xtraeme
0065b980ca Add support for ASUS WL-167g ver 2, from PR kern/35113 (Dave Huang). 2007-05-07 05:44:00 +00:00
xtraeme
d764ad2a09 Use __arraycount() from sys/cdefs.h. 2007-05-07 02:33:35 +00:00
rumble
f8e6f8f8cd Use burst dma for all systems, since it's supported by all HPCs and runs
with about 25% higher throughput on my Indy and ST32430N.
2007-05-06 23:49:57 +00:00
christos
f844889627 Remove change that obviously was not tested (since it uses LINUX_KERN_VERSION
again, producing EEXIST). There is no machine sysctl in linux that corresponds
to this (at least on my i386 suse box)
2007-05-06 23:25:26 +00:00
jnemeth
b38463376a add firmload attribute to rum, thanks to Paul Goyette on current-users 2007-05-06 22:54:20 +00:00
yamt
cb2ae6ad54 yamt-idlelwp: another broken port. 2007-05-06 22:26:44 +00:00
pooka
3ac2e6b4df If mode is set, the uppermost byte specifying the type must be
correctly, otherwise the file server will attempt a conversion.
Specifically, if the directory bit is not set when changing the
permissions for a directory, a conversion from directory to regular
file would be attempted and naturally it being unsupported the
whole chmod would fail.  So supply the file type as part of the
file mode.
2007-05-06 22:17:50 +00:00
yamt
20125d9483 yamt-idlelwp: note broken ports 2007-05-06 22:14:35 +00:00
pooka
afa0f0e278 Close file handles in inactive instead of close - a memory mapping
may still be active after a vnode is closed
2007-05-06 21:58:24 +00:00
pooka
ded3a0bfa7 Open files in open and close them in inactive. This avoids the
silly and problematic chmod + open + "un"chmod in write, among
other things.
2007-05-06 19:48:51 +00:00
pooka
b5aae3d4e3 If setattr is called explicitly, use that as the sign to flush out
all metadata info cached in the kernel while we're setattr'ing in
any case.  Solves problems such as truncate (via extend-by-write)
+ chmod resulting in EPERM because the file was already read-only
when the actual truncate was flushed out of the kernel in fsync.
2007-05-06 19:43:14 +00:00
pooka
c0da05fe2a Fire off FXP_CLOSE in create() and return immediately instead of
waiting for the result.
2007-05-06 15:30:18 +00:00
pooka
0a36778e8f Xr puffs_framebuf 2007-05-06 13:56:16 +00:00
pooka
bbf8b7cf94 document puffs_framebuf 2007-05-06 13:56:03 +00:00
pavel
30b691bf74 Sync the uvm_fault interface with reality after the removal of the
"fault type" third argument in rev. 1.110 of sys/uvm/uvm_fault.c

Hi Drochner!
2007-05-06 12:38:09 +00:00
pavel
152ab6b873 Remove the list of donations, which was not updated since 2004. We have
up-to-date lists at http://www.NetBSD.org/donations, so add this link
to the release notes. OK by Christos.
2007-05-06 11:00:03 +00:00
pooka
d34b752303 use puffs_framebuf_remaining() 2007-05-06 10:54:55 +00:00
pooka
4226bd8b40 implement the conveniently-already-prototyped puffs_framebuf_remaining(),
which is just shorthand for tellsize() - telloff()
2007-05-06 10:54:41 +00:00