CVS commit: src/lib/librumpuser

2015-07-27 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Jul 27 07:31:00 UTC 2015

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Print the "halted\n" from previous commit to stdout, not stderr.

The putchar hypercall writes to stdout, so this change restores
the original "functionality" (which was not intended to change).

from gson, via tests


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2015-08-16 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Aug 16 11:05:06 UTC 2015

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Fix return value inspection for clock_nanosleep() (not displayed in the
diff, need to look at the entire file for context).

from Robert Millan  via rumpkernel-users


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2015-08-16 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Aug 16 11:37:39 UTC 2015

Modified Files:
src/lib/librumpuser: rumpuser_port.h rumpuser_sp.c

Log Message:
Hurd support, part 1

from Robert Millan  via rumpkernel-users


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/lib/librumpuser/rumpuser_port.h
cvs rdiff -u -r1.69 -r1.70 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2015-09-18 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Sep 18 10:56:26 UTC 2015

Modified Files:
src/lib/librumpuser: rumpuser_pth.c

Log Message:
Fix typos to match values from rumpuser_config.h

from Hajime Tazaki via rumpkernel-users


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/lib/librumpuser/rumpuser_pth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-04-21 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Apr 21 11:16:42 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Actually, support rumpuser_kill() only on NetBSD, since signal
numbers may not match on non-NetBSD hosts.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-06-02 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  2 18:15:35 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Check return value of posix_memalign ... always helpful to not return
garbage memory in case of failure.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-06-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Jun  8 15:32:55 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_dl.c

Log Message:
Allow loading the symbols from objects which are not directly mapped
into memory, namely the main object (i.e. map->l_addr is NULL).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpuser/rumpuser_dl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-08-11 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Aug 11 10:25:59 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
* if kevent() fails with EINTR, try again instead of returning an error
* stuff rumpuser_dprintf to stderr instead of stdout


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-10-28 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Oct 28 14:37:29 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Run different clients (different sockets) in different processes
inside the rump kernel.  Now different host processes can no longer
step on each other inside the rump kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-05 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov  5 14:23:45 UTC 2010

Modified Files:
src/lib/librumpuser: sp_common.c

Log Message:
Implement support for unix domain sockets (important especially
for testing since we don't want to depend on global resources such
as tcp ports).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-10 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Nov 10 16:12:15 UTC 2010

Modified Files:
src/lib/librumpuser: sp_common.c

Log Message:
Don't puff sigpipe if the connection has been severed.  May happen
e.g. when a client executes a blocking call such a poll() and
decides to exit before the result is ready.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-15 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Nov 15 15:23:32 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser.c rumpuser_int.h rumpuser_net.c

Log Message:
Make int *error and optional parameter (i.e. it can be NULL).
Sometimes the caller just doesn't care which errno close() might
throw.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/librumpuser/rumpuser.c
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpuser/rumpuser_int.h
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpuser/rumpuser_net.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Nov 17 17:36:15 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
free syscall data after use


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-19 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov 19 15:40:56 UTC 2010

Modified Files:
src/lib/librumpuser: sp_common.c

Log Message:
delint


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-19 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov 19 17:09:45 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c sp_common.c

Log Message:
Support multithreaded clients and fix a few bugs.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/librumpuser/rumpuser_sp.c
cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-19 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov 19 17:47:44 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
squelch the compiler whine


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-24 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Nov 24 11:40:24 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Sneeze some locking into connect/disconnect.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-24 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Nov 24 14:32:42 UTC 2010

Modified Files:
src/lib/librumpuser: sp_common.c

Log Message:
missed part of earlier commit


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-24 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Nov 24 15:17:47 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
improve threadsafety


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-24 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Nov 24 17:00:11 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c sp_common.c

Log Message:
Unschedule from CPU for out-of-kernel blocking ops.  Otherwise we
might even deadlock if the thread that wakes us up wants a CPU.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/librumpuser/rumpuser_sp.c
cvs rdiff -u -r1.7 -r1.8 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-24 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Nov 24 17:20:24 UTC 2010

Modified Files:
src/lib/librumpuser: sp_common.c

Log Message:
unsnafu previous


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-24 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Nov 24 20:29:14 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
create pthread attribute only once


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov 26 10:59:14 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Plug recently introduced memory leak: release lwp after use instead of
just switching away.

Also, make freeing syscall arguments a little more symmetric.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov 26 14:37:08 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c sp_common.c

Log Message:
Improve reliability in cases where client disconnects mid-operation.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/librumpuser/rumpuser_sp.c
cvs rdiff -u -r1.10 -r1.11 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov 26 18:51:04 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c sp_common.c

Log Message:
Fix a few locking problems with multithreaded clients.

TODO: make server deal graciously with out-of-resources conditions


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/librumpuser/rumpuser_sp.c
cvs rdiff -u -r1.11 -r1.12 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-27 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sat Nov 27 18:30:51 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Since we are going to handle syscalls in our threads, limit stacksize.
(unfortunately though, pthread_attr_setstacksize() has no effect on NetBSD)


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-29 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Nov 29 11:40:55 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Cache syscall worker threads and include some stetson-harrison
limits.  This improves syscall throughput about 2x for non-userio
syscalls (no copyin/out, e.g. getpid()) and almost 1.5x even for
things like __sysctl().
(measured for cases where the remote process is on the local machine)

XXX: if the pthread deadqueue sucks for anything which cares about
performance, why does it exist?  Nuking it would make supporting
variable stack size easier.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-30 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Nov 30 14:08:39 UTC 2010

Modified Files:
src/lib/librumpuser: Makefile

Log Message:
add commented-out -D_DIAGNOSTIC


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpuser/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-30 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Nov 30 20:33:44 UTC 2010

Modified Files:
src/lib/librumpuser: sp_common.c

Log Message:
Hands off of stuff we need to keep hands off of.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-11-30 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Nov 30 22:32:01 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
lint care


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-12-01 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Dec  1 15:01:53 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_pth.c

Log Message:
Umm, delete recursive mutex interface instead of renaming it.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/librumpuser/rumpuser_pth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-12-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Dec 12 13:48:56 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
outdated comment


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-12-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Dec 12 17:58:28 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_sp.c sp_common.c

Log Message:
Unlink unix socket as part of server exit.
(whatever happened to the code that was supposed to do it automatically
when the binding process exits?)


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/librumpuser/rumpuser_sp.c
cvs rdiff -u -r1.14 -r1.15 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-01-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan  5 00:19:20 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Fix fdleak in error case. Found by cppcheck.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-01-05 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan  5 09:43:00 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Fix fd leak also in non-NetBSD code path.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-01-05 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan  5 22:57:02 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Release sender lock before zeroing out "wanted" status during
violent disconnect.  Fixes some race conditions (maybe the one
occasionally showing up on tests/rump/rumpkern/t_stress).

thanks to schmonz for some discussion


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-01-10 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Jan 10 11:57:54 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_sp.c sp_common.c

Log Message:
g/c code which is unused in the server


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/lib/librumpuser/rumpuser_sp.c
cvs rdiff -u -r1.21 -r1.22 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-01-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 12 12:52:16 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
call procexit when a connection closes


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-01-20 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 20 15:00:13 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
include pid of rump server in hostname


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-01-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sat Jan 22 14:18:55 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_daemonize.c

Log Message:
shush lint


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpuser/rumpuser_daemonize.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-01-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sat Jan 22 14:22:10 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
happiness is a quiet lint


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-02-05 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Feb  5 13:51:56 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_pth.c

Log Message:
fix indent.  no functional changes.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/librumpuser/rumpuser_pth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-02-06 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Feb  6 18:25:49 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Fix a race condition in the worker thread caching logic: if we got
two or more syscall requests before any worker thread ran, we might
not have enough threads to handle the requests.  In some scenarios
this could lead to a deadlock.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-02-06 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Feb  6 21:05:53 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Support query of the partition size in case underlying device is
a wedge.  This still lacks the proplibistic query of the sector
size and just assumes 512.  It's good that we make asking a file's
size as simple as requiring one stat(), one open() and three (3)
different ioctls plus some proplist mumbojumbo.  I'm surprised it's
available at all by means other than #wish.

code mostly from Taylor R Campbell, rant from me.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-02-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb  8 11:21:23 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Turn the "idle workers available" from a flag into a counter so
that we can finally avoid all races (*knock knock*).


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-02-15 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 15 16:10:41 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Cleanup server socket before sending back "ok" for halt.  Fixes
some occasionally-seen race conditions in tests which do server
restarts (e.g. the raidframe tests).


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-03-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Mar  7 21:57:15 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
use nwork-adjusted amount of idle workers to decide is they are truly idle.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-03-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar  8 10:02:01 UTC 2011

Modified Files:
src/lib/librumpuser: sp_common.c

Log Message:
return correct value when reading a short frame


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-03-16 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Mar 16 11:44:01 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_dl.c

Log Message:
Convert hashtab to Elf_Symindx type, and use it directly to get symbol
count. Remove now unused GETVECWORDn macro.

This is needed to make it work on alpha which use non-standard 64bit
values for the symbol hash table section, unlike all other archs.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/rumpuser_dl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-03-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar 22 22:27:33 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_dl.c

Log Message:
make work on nb5 again


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/librumpuser/rumpuser_dl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2011-05-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May 23 20:49:09 UTC 2011

Modified Files:
src/lib/librumpuser: rumpuser_pth_dummy.c

Log Message:
Ensure that rumpuser_thread_exit doesn't return.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpuser/rumpuser_pth_dummy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-03-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Mar  9 21:03:09 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Disable reduced stack for now. It creates fallout I'm not willing to
deal with.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2010-03-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Mar 22 09:39:03 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser_int.h

Log Message:
Wrap DOCALL and DOCALL_KLOCK in a new block (for easy adding of
debug prints before them.

XXX: can't use the standard do-while0 because lint doesn't like it.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpuser/rumpuser_int.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-07-27 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Jul 27 09:09:05 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser.c rumpuser_daemonize.c rumpuser_dl.c
rumpuser_net.c rumpuser_pth.c rumpuser_sp.c sp_common.c
Added Files:
src/lib/librumpuser: rumpuser_port.h

Log Message:
Once again, make the rump kernel hypercall layer work on Linux.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/librumpuser/rumpuser.c
cvs rdiff -u -r1.2 -r1.3 src/lib/librumpuser/rumpuser_daemonize.c \
src/lib/librumpuser/rumpuser_net.c
cvs rdiff -u -r1.7 -r1.8 src/lib/librumpuser/rumpuser_dl.c \
src/lib/librumpuser/rumpuser_pth.c
cvs rdiff -u -r0 -r1.1 src/lib/librumpuser/rumpuser_port.h
cvs rdiff -u -r1.46 -r1.47 src/lib/librumpuser/rumpuser_sp.c
cvs rdiff -u -r1.31 -r1.32 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-09-21 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Sep 21 14:33:04 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_sp.c sp_common.c

Log Message:
For the rumpsp protocol, don't assume that the bit representation of
errnos match on the client and server platforms (the syscall subprotocol
errnos are handled by the server compat code).


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/lib/librumpuser/rumpuser_sp.c
cvs rdiff -u -r1.32 -r1.33 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-10-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Oct  8 18:02:04 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_pth.c

Log Message:
call pthread_setname_np() on Linux too.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumpuser/rumpuser_pth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-10-10 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Oct 10 11:15:57 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Implement the writewatchfile routines for a Linux hypervisor.  As a
result, the shmif network driver now works when hosted on Linux.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-02 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov  2 11:11:27 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_pth_dummy.c

Log Message:
Start restoring the ability to run rump kernels on non-threading
hypervisors.

Step 1: make this compile again (it's not complete, but
at least it compiles).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/librumpuser/rumpuser_pth_dummy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-02 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov  2 13:31:26 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_pth_dummy.c

Log Message:
need rumpuser_mutex_init_kmutex() these days


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpuser/rumpuser_pth_dummy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-02 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov  2 16:55:02 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_pth_dummy.c

Log Message:
implement mutex_owner()


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/librumpuser/rumpuser_pth_dummy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-06 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Nov  6 18:31:14 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_pth_dummy.c

Log Message:
one more routine


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/rumpuser_pth_dummy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-06 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Nov  6 18:33:00 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_pth_dummy.c

Log Message:
Actually define the klock/unlock pointers.  Not having the storage
allocated for them created "interesting" effects with one compiler setup.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/librumpuser/rumpuser_pth_dummy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Nov 14 09:22:58 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Check return value of ftruncate().  Some versions of gcc give
warnings if I don't.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-18 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Nov 18 19:29:41 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser.c rumpuser_daemonize.c rumpuser_port.h
sp_common.c

Log Message:
Fixes for Solarisa.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/librumpuser/rumpuser.c
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpuser/rumpuser_daemonize.c \
src/lib/librumpuser/rumpuser_port.h
cvs rdiff -u -r1.33 -r1.34 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Nov 26 16:30:14 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_port.h sp_common.c

Log Message:
Since SA_SETLEN() is used only for sockaddr_in, convert it to SIN_SETLEN()
to avoid compiler whining on breaking strict aliasing rules.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/librumpuser/rumpuser_port.h
cvs rdiff -u -r1.34 -r1.35 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Nov 26 17:00:55 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_dl.c

Log Message:
const poison is the cure


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumpuser/rumpuser_dl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Nov 26 17:03:16 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_port.h rumpuser_sp.c

Log Message:
FreeBSD fixes.

from phi...@freebsd.org


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/librumpuser/rumpuser_port.h
cvs rdiff -u -r1.48 -r1.49 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Nov 26 17:54:51 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_pth.c

Log Message:
PTHREAD_PROCESS_SHARED private doesn't seem to work on DragonFly, so
init the spin lock _PRIVATE (we don't really care which it is).


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/librumpuser/rumpuser_pth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Nov 26 17:55:11 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_dl.c rumpuser_sp.c

Log Message:
Support DragonFly BSD.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/librumpuser/rumpuser_dl.c
cvs rdiff -u -r1.49 -r1.50 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Nov 26 19:57:25 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_port.h

Log Message:
One more thing required by DragonFly


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumpuser/rumpuser_port.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-11-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Nov 26 20:03:40 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_port.h

Log Message:
fix previous


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/librumpuser/rumpuser_port.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-12-11 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Dec 11 21:16:23 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser_dl.c

Log Message:
Support binaries which use DT_GNU_HASH instead of DT_HASH.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/librumpuser/rumpuser_dl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-12-13 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Dec 13 15:35:09 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Apparently MAP_ANON mmap() on Linux requires MAP_PRIVATE to be specified
for the addr parameter to have a sane effect.  Make it so.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2012-12-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Dec 14 10:48:48 UTC 2012

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
FreeBSD and DragonFly also provide hosts cpus via sysctl hw.ncpu.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-01-10 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 10 19:13:05 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Provide an implementation of writewatchfile for platforms without kqueue
or inotify (it's a rather simple implementation ;)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-01-10 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 10 19:14:12 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
.. and make it compile on said platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Jan 14 21:00:17 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_dl.c rumpuser_port.h rumpuser_pth.c
rumpuser_sp.c sp_common.c

Log Message:
Support Cygwin as a hypervisor.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librumpuser/rumpuser_dl.c
cvs rdiff -u -r1.10 -r1.11 src/lib/librumpuser/rumpuser_port.h \
src/lib/librumpuser/rumpuser_pth.c
cvs rdiff -u -r1.50 -r1.51 src/lib/librumpuser/rumpuser_sp.c
cvs rdiff -u -r1.35 -r1.36 src/lib/librumpuser/sp_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Jan 14 21:04:15 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Use the /proc way for counting host cores on Cygwin.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 21:42:23 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_port.h

Log Message:
Include sys/sysmacros.h on solaris for MIN/MAX.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librumpuser/rumpuser_port.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-02-11 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Feb 11 16:02:32 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_pth.c

Log Message:
As reported by several people, the signature of pthread_setname_np() varies
from one Linux distro to another (didn't suspect it to be *that* _np).
Comment out the call on Linux pending autoconf support.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librumpuser/rumpuser_pth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sat Mar  9 13:25:18 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_dl.c

Log Message:
Tiny fix for Solaris.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/librumpuser/rumpuser_dl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-03-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar 12 14:03:33 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_dl.c

Log Message:
DragonFly is in the Solaris camp in the "how to access ELF DYN at runtime"
valley of joy and love.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/librumpuser/rumpuser_dl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-03-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Mar 14 20:42:57 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_port.h

Log Message:
StunOS >= 5.11 has posix_memalign(), so add an additional constraint for
when we need to emulate it with memalign() and when not.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/librumpuser/rumpuser_port.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-03-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Mar 14 21:31:36 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_port.h

Log Message:
Refine previous: sys/sysmacros.h is where MIN/MAX comes from on Solaris,
so it needs to be included unconditionally.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/librumpuser/rumpuser_port.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-03-18 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Mar 18 21:00:52 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Terminate result of readlink().  Makes writefilewatch_setup() work in
cases when the buffer doesn't accidentally contain suitable zeroes.

Thanks to Juan RP who debugged this with me!


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-03-20 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 20 12:30:13 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_dl.c rumpuser_port.h

Log Message:
Use _FILE_OFFSET_BITS=64 on Solaris too (necessary for 32bit builds).


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/librumpuser/rumpuser_dl.c
cvs rdiff -u -r1.14 -r1.15 src/lib/librumpuser/rumpuser_port.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-03-20 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 20 12:59:10 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_dl.c rumpuser_port.h

Log Message:
Attempt two for the previous: _ILP32 comes from headers, so don't use
it to decide if we want to muddle with _FILE_OFFSET_BITS.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/librumpuser/rumpuser_dl.c
cvs rdiff -u -r1.15 -r1.16 src/lib/librumpuser/rumpuser_port.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-04-27 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sat Apr 27 17:35:10 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
nuke unused var


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/lib/librumpuser/rumpuser_sp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-04-28 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Apr 28 13:39:13 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
don't need event.h here anymore


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-04-29 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Apr 29 13:53:47 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_bio.c

Log Message:
unschedule around blocking i/o


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpuser/rumpuser_bio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-04-29 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Apr 29 13:57:46 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_bio.c

Log Message:
set default bio mode to threaded


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/librumpuser/rumpuser_bio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-04-29 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Apr 29 14:54:03 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_bio.c

Log Message:
Create a kernel thread context for the bio upcalls.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/librumpuser/rumpuser_bio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-04-29 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Apr 29 15:20:05 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_component.c rumpuser_component.h

Log Message:
Give private hypercalls the ability to meddle with kthread contexts too.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpuser/rumpuser_component.c
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpuser/rumpuser_component.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-04-30 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Apr 30 11:26:26 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
Some systems don't provide preadv/pwritev (hi Solaris!), so implement
that with lseek + readv/writev instead (and avoid rewinding the
pointer with soon-to-be documentation).


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-04-30 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Apr 30 13:37:03 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser_pth_dummy.c

Log Message:
make this build/work again


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librumpuser/rumpuser_pth_dummy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-04-30 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Apr 30 15:48:29 UTC 2013

Modified Files:
src/lib/librumpuser: Makefile

Log Message:
put optional modules on a separate SRCS line


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librumpuser/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-04-30 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Apr 30 21:18:40 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser.3

Log Message:
document the hypercall interface


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/librumpuser/rumpuser.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-05-01 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed May  1 17:17:55 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser.c

Log Message:
avoid Wunused on !NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/lib/librumpuser/rumpuser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-05-02 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu May  2 12:27:08 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser.3

Log Message:
expand the intended usage of rumpuser_open()


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpuser/rumpuser.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpuser

2013-05-02 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu May  2 15:32:20 UTC 2013

Modified Files:
src/lib/librumpuser: rumpuser.3

Log Message:
add HISTORY


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/librumpuser/rumpuser.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



  1   2   3   >