cae61961e4
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. |
||
---|---|---|
.. | ||
build-aux | ||
Makefile | ||
README.compileopts | ||
configure | ||
configure.ac | ||
rumpfiber.c | ||
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 | ||
rumpuser_pth.c | ||
rumpuser_pth_dummy.c | ||
rumpuser_random.c | ||
rumpuser_sigtrans.c | ||
rumpuser_sp.c | ||
shlib_version | ||
sp_common.c |
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