Home | History | Annotate | Download | only in rumpkern
History log of /src/tests/rump/rumpkern/t_lwproc.c
RevisionDateAuthorComments
 1.10  08-Jan-2020  ad Hopefully fix some problems seen with MP support on non-x86, in particular
where curcpu() is defined as curlwp->l_cpu:

- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before
calling cpu_switchto(). It's not safe to let other actors mess with the
LWP (in particular l->l_cpu) while it's still context switching. This
removes l->l_ctxswtch.

- Move the LP_RUNNING flag into l->l_flag and rename to LW_RUNNING since
it's now covered by the LWP's lock.

- Ditch lwp_exit_switchaway() and just call mi_switch() instead. Everything
is in cache anyway so it wasn't buying much by trying to avoid saving old
state. This means cpu_switchto() will never be called with prevlwp ==
NULL.

- Remove some KERNEL_LOCK handling which hasn't been needed for years.
 1.9  13-Jan-2017  christos branches: 1.9.14;
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
 1.8  10-Jan-2017  christos more tests needing <sys/stat.h>
 1.7  21-Jan-2015  pooka branches: 1.7.2;
call previous with the correct args too
 1.6  21-Jan-2015  pooka check that setuid() works for procs with >1 lwp
 1.5  02-Jan-2011  pooka + rump_lwproc_newproc -> rump_lwproc_rfork()
+ add a tess for rump_lwproc_rfork()
 1.4  29-Oct-2010  pooka implicit pid is 1 instead of 0 now
 1.3  07-Sep-2010  pooka +tc (turns out the bug was elsewhere, but a test is always a test)
 1.2  02-Sep-2010  pooka check that curlwp for an implicit context is NULL
 1.1  01-Sep-2010  pooka tests for rump_lwproc
 1.7.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.9.14.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed