summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_umtx.c
Commit message (Expand)AuthorAgeFilesLines
* The fields of struct timespec32 should be int32_t and not uint32_t.davide2012-10-271-2/+2
* Some style fixes inspired by @bde.davidxu2012-08-111-12/+12
* tvtohz will print out an error message if a negative value is givendavidxu2012-08-111-9/+13
* Fix some style bugs introduced in a previous commit (r233045)davide2012-04-141-8/+8
* In sem_post, the field _has_waiters is no longer used, because somedavidxu2012-04-051-9/+14
* umtx operation UMTX_OP_MUTEX_WAKE has a side-effect that it accessesdavidxu2012-04-051-2/+82
* Remove stale comments.davidxu2012-03-311-3/+0
* Remove trailing semicolon, it is a typo.davidxu2012-03-301-1/+1
* Fix COMPAT_FREEBSD32 build.davidxu2012-03-301-3/+3
* Remove trailing space.davidxu2012-03-301-1/+1
* Merge umtxq_sleep and umtxq_nanosleep into a single function by usingdavidxu2012-03-301-264/+172
* Reduce code size by creating common timed sleeping function.davidxu2012-03-291-93/+60
* Add rudimentary profiling of the hash table used in the in the umtx code todavide2012-03-161-0/+51
* initialize clock ID and flags only when copying timespec, a _umtx_timedavidxu2012-02-291-4/+4
* Follow changes made in revision 232144, pass absolute timeout to kernel,davidxu2012-02-271-41/+47
* In revision 231989, we pass a 16-bit clock ID into kernel, howeverdavidxu2012-02-251-98/+154
* Fix typo.davidxu2012-02-221-1/+1
* Use unused fourth argument of umtx_op to pass flags to kernel for operationdavidxu2012-02-221-21/+42
* Eliminate branch and insert an explicit reader memory barrier to ensuredavidxu2012-01-161-3/+2
* Add umtx_copyin_timeout() and move parameter checks here.pho2011-12-031-53/+25
* Rename copyin_timeout32 to umtx_copyin_timeout32 and move parameterpho2011-12-031-42/+18
* Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.ed2011-11-071-1/+1
* In order to maximize the re-usability of kernel code in user space thiskmacy2011-09-161-3/+3
* Expose the umtx_key structure and API to the rest of the kernel.jhb2011-02-231-50/+2
* - Follow r216313, the sched_unlend_user_prio is no longer needed, alwaysdavidxu2010-12-291-43/+18
* Enlarge hash table for new condition variable.davidxu2010-12-231-2/+2
* MFp4:davidxu2010-12-221-15/+105
* One of the compat32 functions was copying in a raw timespec, instead ofmdf2010-12-151-2/+1
* MFp4:davidxu2010-12-091-7/+9
* Use atomic instruction to set _has_writer, otherwise there is a racedavidxu2010-11-221-1/+2
* Only unlock process if a thread is found.davidxu2010-11-151-4/+4
* Create a global thread hash table to speed up thread lookup, usedavidxu2010-10-091-8/+3
* If a thread is removed from umtxq while sleeping, reset error codedavidxu2010-08-251-23/+12
* Use ISO C99 integer types in sys/kern where possible.ed2010-06-211-2/+2
* Provide groundwork for 32-bit binary compatibility on non-x86 platforms,nwhitehorn2010-03-111-3/+3
* In function umtxq_insert_queue, use parameter q (shared/exclusive queue)davidxu2010-02-101-1/+1
* Set waiters flag before checking semaphore's counter,davidxu2010-02-081-5/+2
* Fix comments in do_sem_wait().davidxu2010-02-031-2/+1
* After busied the lock, re-read state word before checking waiters flag,davidxu2010-02-031-0/+12
* Make a chain be a list of queues, and make threads waitingdavidxu2010-01-101-33/+93
* Use enum to define key types.davidxu2010-01-091-8/+10
* put semaphore waiter in long term list.davidxu2010-01-091-1/+1
* Add key type TYPE_SEM.davidxu2010-01-091-8/+9
* Add user-level semaphore synchronous type, this change allows multipledavidxu2010-01-041-2/+160
* In function do_rw_wrlock, when a writer got an error and before returning,davidxu2009-09-251-2/+16
* Make UMTX_OP_WAIT_UINT actually wait for an unsigned integer on 64-bitsdavidxu2009-04-131-1/+1
* 1) Check NULL pointer before calling umtx_pi_adjust_locked(), this avoidsdavidxu2009-03-131-24/+26
* Add two commands to _umtx_op system call to allow a simple mutex to bedavidxu2008-06-241-35/+142
* Use a seperated hash table for mutex and rwlock, avoid wasting some timedavidxu2008-05-301-17/+21
* Introduce command UMTX_OP_WAIT_UINT_PRIVATE and UMTX_OP_WAKE_PRIVATEdavidxu2008-04-291-12/+62
OpenPOWER on IntegriCloud