#
2ddceed1 |
| 08-Jan-2020 |
ad <ad@NetBSD.org> |
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
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.
show more ...
|
#
c54cb811 |
| 13-Jan-2017 |
christos <christos@NetBSD.org> |
Don't play with "../.." in includes for h_macros.h; deal with it centrally. Minor fixes.
|
#
25f1087a |
| 10-Jan-2017 |
christos <christos@NetBSD.org> |
more tests needing <sys/stat.h>
|
#
fff8d9a1 |
| 21-Jan-2015 |
pooka <pooka@NetBSD.org> |
call previous with the correct args too
|
#
d0895925 |
| 21-Jan-2015 |
pooka <pooka@NetBSD.org> |
check that setuid() works for procs with >1 lwp
|
#
5c3365ce |
| 02-Jan-2011 |
pooka <pooka@NetBSD.org> |
+ rump_lwproc_newproc -> rump_lwproc_rfork() + add a tess for rump_lwproc_rfork()
|
#
a745e325 |
| 29-Oct-2010 |
pooka <pooka@NetBSD.org> |
implicit pid is 1 instead of 0 now
|
#
d85e9c34 |
| 07-Sep-2010 |
pooka <pooka@NetBSD.org> |
+tc (turns out the bug was elsewhere, but a test is always a test)
|
#
52977569 |
| 02-Sep-2010 |
pooka <pooka@NetBSD.org> |
check that curlwp for an implicit context is NULL
|
#
52e6ad15 |
| 01-Sep-2010 |
pooka <pooka@NetBSD.org> |
tests for rump_lwproc
|