| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ok cheloha@
|
| |
|
|
|
|
|
|
|
|
| |
Linux does validation.
Document this new failure case as an EINVAL, like Linux.
"stop waiting" deraadt
|
|
|
|
|
|
|
|
| |
of private futexes and a shared list of shared futexes. This speeds up
futex lookups.
Tested by and OK krw@
OK mpi@
|
|
|
|
|
|
|
| |
Introduce process-private futexs. These will bypass the uvm mapping lookup
and should be slightly more efficient.
ok visa@, mpi@
|
|
|
|
| |
Prodded by and ok mpi@
|
|
|
|
|
| |
Prevents an infinite pagefault/pmap_enter() loop when ktracing apps
doing a lot of futex(2) calls like firefox & chrome.
|
|
|
|
|
| |
so only get it once
ok guenther
|
|
|
|
|
|
|
| |
of mutexes. Use this immediately for the pool_cache futex pools.
Mostly worked out with dlg@ during e2k17
ok mpi@ tedu@
|
|
|
|
|
|
|
| |
On !MULTIPROCESSOR kernels we still fall back on copyin(9), but that is
fine. This will break m88k MULTIPROCESSOR kernels.
ok deraadt@, mpi@, visa@
|
| |
|
|
The syscall is marked NOLOCK and only FUTEX_WAIT grabs the KERNEL_LOCK()
because of PCATCH and the signal nightmare.
Serialization of threads is currently done with a global & exclusive
rwlock.
Note that the current implementation still use copyin(9) which is not
guaranteed to be atomic. Committing now such that remaining issues can
be addressed in-tree.
With inputs from guenther@, kettenis@ and visa@.
ok deraadt@, visa@
|