aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_umtx.c
Commit message (Expand)AuthorAgeFilesLines
* When the RTC is adjusted, reevaluate absolute sleep times based on the RTCEric van Gyzen2017-03-141-9/+39
* Add sem_clockwait_np()Eric van Gyzen2017-02-231-14/+52
* [mips] make UMTX_CHAINS configurable at compile time.Adrian Chadd2016-11-151-0/+2
* In both do_rw_wrlock() and do_rw_rdlock() after r304808, do notKonstantin Belousov2016-08-251-6/+12
* Prevent leak of URWLOCK_READ_WAITERS flag for urwlocks.Konstantin Belousov2016-08-251-2/+7
* sem_post(): wake up the sleeper only after adjusting has_waitersEric Badger2016-08-151-3/+3
* Add implementation of robust mutexes, hopefully close enough to theKonstantin Belousov2016-05-171-158/+474
* Fix umtx lock/trylock for compat32.Konstantin Belousov2016-04-191-2/+2
* Implement process-shared locks support for libthr.so.3, withoutKonstantin Belousov2016-02-281-0/+322
* Minor (and incomplete) style cleanup.Konstantin Belousov2015-10-301-5/+8
* Also mark compat32 umtx op table as constant.Konstantin Belousov2015-10-301-1/+1
* Use C99 array initialization, which also makes the codeKonstantin Belousov2015-10-301-58/+61
* Fix bad arithmetic in umtx_key_get() to compute object offset.Ed Schouten2015-08-041-2/+2
* Add missing const keyword to function parameter.Ed Schouten2015-08-031-1/+1
* Clean up some cosmetic nits in kern_umtx.c, found during recent workEric van Gyzen2015-03-281-14/+10
* The umtx_lock mutex is used by top-half of the kernel, but isKonstantin Belousov2015-02-281-31/+31
* When failing to claim ownership of a umtx_pi, restore the umutex ownerKonstantin Belousov2015-02-251-0/+11
* When unlocking a contested PI pthread mutex, if the queue of waitersKonstantin Belousov2015-02-251-2/+33
* The dependency chain for priority-inheritance mutexes could beKonstantin Belousov2015-01-311-0/+50
* Fix assertion, &uc->uc_busy is never zero, the intent is to test theKonstantin Belousov2014-11-131-2/+1
* Add type qualifier volatile to the base (userspace) address argumentKonstantin Belousov2014-10-311-45/+27
* Convert kern_umtx.c to use fueword() and casueword().Konstantin Belousov2014-10-281-217/+346
* Use correct type in __DEVOLATILE().John Baldwin2014-10-251-1/+2
* Fix build.Xin LI2014-10-251-1/+1
* The current POSIX semaphore implementation stores the _has_waiters flagJohn Baldwin2014-10-241-4/+180
* In do_lock_pi(), do not override error from umtxq_sleep_pi() whenKonstantin Belousov2014-08-221-2/+4
* Fix comments.Attilio Rao2014-03-191-6/+6
* Remove dead code from umtx support:Attilio Rao2014-03-181-451/+6
* Fix two issues with the spin loops in the umtx(2) implementation.Konstantin Belousov2013-06-131-2/+147
* sem: Restart the POSIX sem_* calls after signals with SA_RESTART set.Jilles Tjoelker2013-04-191-1/+3
* Fix a bug in UMTX_PROFILING:Attilio Rao2013-03-211-11/+11
* Improve UMTX_PROFILING:Attilio Rao2013-03-091-2/+119
* The fields of struct timespec32 should be int32_t and not uint32_t.Davide Italiano2012-10-271-2/+2
* Some style fixes inspired by @bde.David Xu2012-08-111-12/+12
* tvtohz will print out an error message if a negative value is givenDavid Xu2012-08-111-9/+13
* Fix some style bugs introduced in a previous commit (r233045)Davide Italiano2012-04-141-8/+8
* In sem_post, the field _has_waiters is no longer used, because someDavid Xu2012-04-051-9/+14
* umtx operation UMTX_OP_MUTEX_WAKE has a side-effect that it accessesDavid Xu2012-04-051-2/+82
* Remove stale comments.David Xu2012-03-311-3/+0
* Remove trailing semicolon, it is a typo.David Xu2012-03-301-1/+1
* Fix COMPAT_FREEBSD32 build.David Xu2012-03-301-3/+3
* Remove trailing space.David Xu2012-03-301-1/+1
* Merge umtxq_sleep and umtxq_nanosleep into a single function by usingDavid Xu2012-03-301-264/+172
* Reduce code size by creating common timed sleeping function.David Xu2012-03-291-93/+60
* Add rudimentary profiling of the hash table used in the in the umtx code toDavide Italiano2012-03-161-0/+51
* initialize clock ID and flags only when copying timespec, a _umtx_timeDavid Xu2012-02-291-4/+4
* Follow changes made in revision 232144, pass absolute timeout to kernel,David Xu2012-02-271-41/+47
* In revision 231989, we pass a 16-bit clock ID into kernel, howeverDavid Xu2012-02-251-98/+154
* Fix typo.David Xu2012-02-221-1/+1
* Use unused fourth argument of umtx_op to pass flags to kernel for operationDavid Xu2012-02-221-21/+42