#
0a688d89 |
| 19-Feb-2018 |
mpi <mpi@openbsd.org> |
Convert sparc64 to MI mutex.
ok dlg@
|
#
4965d1a4 |
| 13-Jan-2018 |
mpi <mpi@openbsd.org> |
Define and use IPL_MPFLOOR in our common mutex implementation.
ok kettenis@, visa@
|
#
ee04a0b4 |
| 12-Jan-2018 |
mpi <mpi@openbsd.org> |
Unify <machine/mutex.h> a bit further.
`mtx_owner' becomes the first field of 'struct mutex' on i386/amd64/arm64.
ok visa@
|
#
c4925651 |
| 20-Apr-2017 |
visa <visa@openbsd.org> |
Hook up mutex(9) to witness(4).
|
#
2df76cc2 |
| 29-Mar-2014 |
guenther <guenther@openbsd.org> |
It's been a quarter century: we can assume volatile is present with that name.
ok dlg@ mpi@ deraadt@
|
#
89699469 |
| 14-Jul-2013 |
kettenis <kettenis@openbsd.org> |
To prevent lock ordering problems with the kernel lock, we need to make sure we block all interrupts that can grab the kernel lock. The simplest way to achieve this is to make sure mutexes always ra
To prevent lock ordering problems with the kernel lock, we need to make sure we block all interrupts that can grab the kernel lock. The simplest way to achieve this is to make sure mutexes always raise the ipl to the highest level that has interrupts that grab the kernel lock. This will allow us to have "mpsafe" interrupt handlers at lower priority levels.
No change for non-MULTIPROCESSOR kernels.
show more ...
|
#
ecf1a96b |
| 25-Aug-2007 |
kettenis <kettenis@openbsd.org> |
Real mutexes for sparc64. Some comments from henric@ and claudio@. Tested by fkr@, claudio@, nick@.
|
#
36d4353c |
| 03-Feb-2007 |
miod <miod@openbsd.org> |
Simple single-processor mutex implementation, simpler than the MI code by use of MD spl code bowels. No functional change.
|