summaryrefslogtreecommitdiffstats
path: root/sys/arch/i386/include/mutex.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move common mutex implementations to a MI place.mpi2018-01-251-84/+2
| | | | | | Archs not yet converted can to the jump by defining __USE_MI_MUTEX. ok visa@
* Define and use IPL_MPFLOOR in our common mutex implementation.mpi2018-01-131-2/+2
| | | | ok kettenis@, visa@
* Unify <machine/mutex.h> a bit further.mpi2018-01-121-5/+11
| | | | | | `mtx_owner' becomes the first field of 'struct mutex' on i386/amd64/arm64. ok visa@
* Unify <machine/mutex.h> a bit further.mpi2018-01-041-9/+4
| | | | | | | Remove `mtx_lock' from i386, add volatile before `mtx_owner' where it was missing. Inputs from kettenis@, ok visa@
* Hook up mutex(9) to witness(4).visa2017-04-201-3/+15
|
* tweak MUTEX_ASSERT_LOCKED and MUTEX_ASSERT_UNLOCKED to only lookdlg2015-07-021-5/+3
| | | | | | | at the owner. every other arch does it the same, so this is to reduce differences between our platforms. ok miod@
* It's been a quarter century: we can assume volatile is present with that name.guenther2014-03-291-2/+2
| | | | ok dlg@ mpi@ deraadt@
* IPL_VM is "mpsafe" now as well.kettenis2013-07-141-2/+2
|
* To prevent lock ordering problems with the kernel lock, we need to make surekettenis2013-07-101-2/+19
| | | | | | | | | | | 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. ok matthew@
* Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.pirofti2011-03-231-3/+3
| | | | Discussed and okay drahn@. Okay deraadt@.
* remove trailing newline in panic(9); ok millert@ and deraadt@fgsch2005-07-181-3/+3
|
* add rcs idsjolan2005-04-081-0/+2
|
* MD mutex implementation for i386.art2004-07-201-0/+55