summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_umtx.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* let umtxq_busy() only spin on mp machine. make function namedavidxu2008-04-031-10/+14
* Fix compiling problem for amd64.davidxu2008-04-021-2/+2
* Er, don't restart a timeout version.davidxu2008-04-021-2/+4
* Introduce kernel based userland rwlock. Each umtx chain now has two lists,davidxu2008-04-021-45/+487
* Check NULL pointer.davidxu2007-12-171-1/+10
* Add missing changes for fixing LOR of umtx lock and thread lock, followdavidxu2007-12-171-11/+24
* Add function UMTX_OP_WAIT_UINT, the function causes thread to wait fordavidxu2007-11-211-2/+24
* Backout experimental adaptive-spin umtx code.davidxu2007-06-061-67/+0
* Commit 8/14 of sched_lock decomposition.jeff2007-06-041-33/+52
* Further system call comment cleanup:rwatson2007-03-051-1/+0
* Add a lwpid field into per-cpu structure, the lwpid represents currentdavidxu2006-12-201-0/+70
* Threading cleanup.. part 2 of several.julian2006-12-061-6/+0
* if a thread blocked on userland condition variable isdavidxu2006-12-041-5/+10
* Introduce userspace condition variable, since we have already POSIXdavidxu2006-12-031-4/+200
* Sweep kernel replacing suser(9) calls with priv(9) calls, assigningrwatson2006-11-061-2/+3
* Make KSE a kernel option, turned on by default in all GENERICjb2006-10-261-0/+6
* Optimize umtx_lock_pi() a bit by moving some heavy code out of the loop,davidxu2006-10-261-32/+27
* In order to eliminate a branch, convert opcode to unsigned integer.davidxu2006-10-251-2/+2
* Eliminate an unnecessary `if' statement.davidxu2006-10-251-1/+2
* o Add keyword volatile for user mutex owner field.davidxu2006-10-171-29/+23
* Implement 32bit umtx_lock and umtx_unlock system calls, these two systemdavidxu2006-10-061-0/+14
* Fix umtx command order error for freebsd 32bit.davidxu2006-09-221-1/+1
OpenPOWER on IntegriCloud