| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Archs not yet converted can to the jump by defining __USE_MI_MUTEX.
ok visa@
|
|
|
|
| |
ok kettenis@, visa@
|
|
|
|
|
|
| |
`mtx_owner' becomes the first field of 'struct mutex' on i386/amd64/arm64.
ok visa@
|
|
|
|
|
|
|
| |
Remove `mtx_lock' from i386, add volatile before `mtx_owner' where it
was missing.
Inputs from kettenis@, ok visa@
|
| |
|
|
|
|
|
|
|
| |
at the owner. every other arch does it the same, so this is to
reduce differences between our platforms.
ok miod@
|
|
|
|
| |
ok dlg@ mpi@ deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
Discussed and okay drahn@. Okay deraadt@.
|
| |
|
| |
|
|
|