pooka
07196c5dd8
Descend into nfsserver, i.e. build & install the kernel nfs server bits.
2010-07-26 15:55:41 +00:00
pooka
dadac8f503
Add select to list on compat syscalls. Makes some code work for
...
me with a nb5 userland without having to compile with -g ;)
2010-07-26 11:52:25 +00:00
pooka
8b9126ba6d
If a thread wake up spuriously, re-set l_mutex to make sure it's
...
still at the original value and not the schedstate one. This makes
select not miss wakeups in cases where there was a lot of selecting
going on (which is not all that common in a rump kernel).
2010-07-23 19:14:14 +00:00
pooka
f3c8997bfe
Reset l_mutex when waking up a thread. select uses it to determine
...
if a thread is still selecting, and would get a KASSERT panic if
the thread had been woken up but not run yet when selnotify() was
called.
2010-07-22 21:00:07 +00:00
pgoyette
01497b95ec
Convert swwdog(4) from a simple defpseudo device to a defpseudodev so
...
that we can attach a power management handler. The handler prevents
a suspend if the watchdog is active, to be consistent with other
watchdog drivers.
As discussed on tech-kern.
2010-07-22 14:10:14 +00:00
hannken
fb62bef947
Make holding v_interlock mandatory for callers of vget().
...
Announced some time ago on tech-kern.
2010-07-21 17:52:09 +00:00
pooka
6138a7dfff
Regen syscalls to get compat header included.
2010-07-19 15:38:55 +00:00
pooka
6ca15e9cbd
regen from ages ago (to get rcsid consistent)
2010-07-19 15:38:28 +00:00
pooka
868e8536ec
Add some forward declarations used by the interfaces.
2010-07-19 15:38:03 +00:00
pooka
83ab3e68e5
* move stat syscalls to newstyle compat
...
* implement compat for pollts
2010-07-19 15:33:16 +00:00
pooka
53ef25afeb
regen: stat compat syscalls moved
2010-07-19 15:30:43 +00:00
pooka
7949f6c1c8
Don't provide stat compat syscalls here, they come from
...
rump_syscalls_compat.h now. (besides, I always hated how they were
in the rump_pub_sys namespace instead of the rump_sys namespace)
2010-07-19 15:29:44 +00:00
pooka
abfc763eb1
add rump_syscalls_compat.h
2010-07-19 15:28:18 +00:00
pooka
5397c7b6af
Ignore errors when copyin/out len == 0.
2010-07-18 12:44:31 +00:00
rmind
bcc65ff09f
Split-off IPv4 re-assembly mechanism into a separate module. Abstract
...
into ip_reass_init(), ip_reass_lookup(), etc (note: abstraction is not
yet complete). No functional changes to the actual mechanism.
OK matt@
2010-07-13 22:16:10 +00:00
pooka
a6a5da1df4
support dotdot lookups
2010-07-13 18:08:58 +00:00
pooka
70d05149f8
Implement poor man's (or woman's) fault handler (or handlim).
...
from Stan (or Loretta)
2010-07-12 21:00:47 +00:00
pooka
bc8adcbc79
Assert that l_target_cpu isn't null, just in case we had some memory
...
corruption issues (like passing wrong size to kmem_free ....).
2010-07-11 16:20:39 +00:00
pooka
6a96ed6578
fd_hold() when creating new threads. This makes the fd code use
...
multithreaded mode and actually work with a multithreaded process.
2010-07-11 11:37:24 +00:00
pooka
b3a3054f7d
Reflect change to pool_drain_end. Makes -DRUMP_USE_UNREAL_ALLOCATORS
...
compile (and work) again.
2010-07-11 11:27:47 +00:00
hannken
7296ba383a
Replace vget() with vref()/vn_lock(), this node already has a reference.
2010-07-09 08:10:50 +00:00
pooka
0882d1cc0e
Emulate malloc(9) a little better by panicking if a should-not-fail
...
allocation fails. We could invoke the pagedaemon here, but since
malloc(9) is panicky when it runs out of kmem_map, let's do the
"same".
2010-07-08 11:39:58 +00:00
pooka
15882db1c8
Borrow /dev/mem major from i386 for /dev/null and autogenerate node.
2010-07-07 10:47:39 +00:00
pooka
f8c13e51aa
add /dev/putter to "devfs" (forgot to commit this earlier)
2010-07-07 10:46:20 +00:00
pooka
2c9dc3f982
remember to add the new file to the build
2010-07-06 16:13:57 +00:00
pooka
c0f3dfaa52
Fix pointer assignment in previous commit (test compile works better
...
when you do it with the #defines which actually compile the code
in question).
2010-07-04 15:44:46 +00:00
pooka
54c71dee8c
Use a bit more than 1 byte of space for routing messages.
2010-07-04 15:31:04 +00:00
pooka
a98c8e62dd
Support VOP_WHITEOUT (mostly so that unionfs tests don't always
...
need to first mount ffs)
2010-07-03 10:55:47 +00:00
hannken
f4a7cbc30c
Regen. LK_TYPEMASK and LK_RELEASE are gone.
2010-07-02 10:45:16 +00:00
hannken
24578944a7
LK_* flags moved to sys/vnode.h
2010-07-02 10:44:26 +00:00
pooka
c9602161d3
Make putter its own component: rumpdev_putter. It was coupled in
...
with rumpfs_puffs for prehistoric reasons which are no longer valid
(namely, only fs components existed back then and there was no /dev
support in rump fs namespace).
2010-06-30 16:14:18 +00:00
pooka
5551d3c53c
add component constructor to create /dev/puffs -> putter symlink
2010-06-30 15:50:20 +00:00
pooka
4ce05210c2
Run vfs component constructors.
2010-06-30 15:48:59 +00:00
pooka
cdb0cb985d
plug memory leaks (of course the function i copypasted for the
...
previous commit was the only one with the leak ...)
2010-06-30 15:40:30 +00:00
pooka
b93b8ba8f5
Implement VOP_SYMLINK/READLINK. The allows me to be a little lazier
...
in other places.
2010-06-30 14:50:35 +00:00
kefren
826653c190
Add MPLS support, proposed on tech-net@ a couple of days ago
...
Welcome to 5.99.33
2010-06-26 14:24:27 +00:00
hannken
1423e65b26
Clean up vnode lock operations pass 2:
...
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
2010-06-24 12:58:48 +00:00
hannken
da75ace1d5
Regen. LK_EXCLOTHER has gone.
2010-06-24 07:56:22 +00:00
pooka
c15f18f449
As normal, fix breakage from untested commits by rmind.
2010-06-23 08:36:03 +00:00
rmind
fc8b3b7154
Replace tmpfs_pool custom allocator code with a simpler layer for memory
...
accounting. Use wired memory (which can be limited) for meta-data, and
kmem(9) for string allocations.
Close PR/31944. Fix PR/38361 while here. OK ad@.
2010-06-22 18:32:07 +00:00
pooka
8b642d489c
Remove overeager checks.
2010-06-22 12:33:15 +00:00
pooka
c063f898e1
regen for vnd (or at least something like that since this file
...
still isn't really generated, just copypasted)
2010-06-21 21:51:22 +00:00
pooka
cb2fa571d5
support zlib
2010-06-21 21:43:28 +00:00
pooka
9cb9168c28
Calculate memory mapping size based on underlying file size, not
...
our window to it. This fixes cases like opening a window at offsets
[8,32] to a file, which would cause host file offset [0,32-8] to
be mapped, i.e. [0,16] inside the window. Obviously, access to
the entire in-window [0,24] range should have been mapped (and
after this fix it is).
2010-06-21 14:25:35 +00:00
hannken
9f66ee5d51
Regen (LK_CANRECURSE is gone).
2010-06-18 16:31:34 +00:00
pooka
b7652de0db
Give the kernel pmap a container in case some tries to access it
...
via some pmap.h macro.
2010-06-17 08:22:02 +00:00
pooka
667d694ddb
Fix snafu in previous -- if your test it flawed, it doesn't matter
...
how many times you pass.
2010-06-17 08:19:32 +00:00
pooka
44b844dd2d
* support VOP_SEEK
...
* correctly handle VOP_OPEN(FREAD|FWRITE)
* fix host file write offset
2010-06-16 19:26:58 +00:00
pooka
e9abc8e26b
report actual size from read/write vops
2010-06-16 19:03:08 +00:00
pooka
cd3e4f8ebc
Reinstate the blanket pmap.h for archs which do not conform to the
...
kernel ABI (i.e. not i386 or amd64). Due to the "half function,
half macro, all noodles" nature of pmap.h, it's too entangling and
too brittle to keep up with an ifdeffy MI implementation.
2010-06-16 11:45:21 +00:00