NetBSD/lib/librumpuser
snj cae61961e4 Pull up following revision(s) (requested by ozaki-r in ticket #495):
lib/librumpuser/rumpfiber.c: revision 1.13
	lib/librumpuser/rumpuser_pth.c: revision 1.46
	lib/librumpuser/rumpuser_pth_dummy.c: revision 1.18
	sys/kern/kern_condvar.c: revision 1.40
	sys/kern/kern_lock.c: revision 1.161
	sys/kern/kern_mutex.c: revision 1.68
	sys/kern/kern_rwlock.c: revision 1.48
	sys/rump/include/rump/rumpuser.h: revision 1.115
	sys/rump/librump/rumpkern/locks.c: revision 1.76-1.79
Apply C99-style struct initialization to lockops_t
--
Tweak LOCKDEBUG macros (NFC)
--
Distinguish spin mutex and adaptive mutex on rump kernels for LOCKDEBUG
Formerly rump kernels treated the two types of mutexes as both adaptive for
LOCKDEBUG for some reasons.
Now we can detect violations of mutex restrictions on rump kernels such as
taking an adaptive mutex with holding a spin mutex as well as normal kernels.
--
rump: check if the mutex is surely owned by the caller in mutex_exit
Unlocking a not-owned mutex wasn't detected well (it could detect if the mutex
is not held by anyone but that's not enough). Let's check it (the check is the
same as normal kernel's mutex).
If LOCKDEBUG is enabled, give the check over LOCKDEBUG because it can provide
better debugging information.
2018-01-13 21:57:11 +00:00
..
build-aux Update supporting files for components which rely on autoconf to allow systems 2017-02-01 09:26:39 +00:00
Makefile With the removal of HAVE_REGISTER_T from rumpuser_port.h, _KERNTYPES does not 2017-05-11 04:33:14 +00:00
README.compileopts Move librumpuser compile-time options into the librumpuser source 2016-01-25 00:24:23 +00:00
configure
configure.ac
rumpfiber.c Pull up following revision(s) (requested by ozaki-r in ticket #495): 2018-01-13 21:57:11 +00:00
rumpfiber.h
rumpfiber_bio.c
rumpfiber_sp.c
rumpuser.c
rumpuser_bio.c
rumpuser_component.c
rumpuser_component.h
rumpuser_config.h.in
rumpuser_daemonize.c
rumpuser_dl.c
rumpuser_errtrans.c
rumpuser_file.c
rumpuser_int.h
rumpuser_mem.c
rumpuser_port.h Evil hack to fix the build: provide PRIxREGISTER here. 2017-05-11 10:21:55 +00:00
rumpuser_pth.c Pull up following revision(s) (requested by ozaki-r in ticket #495): 2018-01-13 21:57:11 +00:00
rumpuser_pth_dummy.c Pull up following revision(s) (requested by ozaki-r in ticket #495): 2018-01-13 21:57:11 +00:00
rumpuser_random.c
rumpuser_sigtrans.c
rumpuser_sp.c Redo previous by avoiding the casts and using PRIxREGISTER instead 2016-09-06 07:45:41 +00:00
shlib_version
sp_common.c printf functions should be tagged as printf functions. Noticed by 2016-09-05 20:41:59 +00:00

README.compileopts

        $NetBSD: README.compileopts,v 1.1 2016/01/25 00:24:23 pooka Exp $

This file describes compile-time options (make variables) for
the rumpuser POSIX implementation.

Note: after changing an option, do a clean build.

Global options:

    RUMPUSER_THREADS

values: pthread/none/fiber or <undefined>
defval: <undefined>
effect: Define the way threading is implemented in the rumpuser hypercall
	implmentation.
	<undefined> - use default implementation (currently "pthread")
	pthread     - use pthreads to implement threading
	none        - do not support kernel threads at all
	fiber       - user a fiber interface, cooperatively scheduled contexts