summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_synch.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add refcnt_take_if_gt()Matt Dunwoodie2021-04-131-0/+13
* Merge issignal() and CURSIG() in preparation for turning it mp-safe.mpi2021-03-041-2/+2
* Revert the convertion of per-process thread into a SMR_TAILQ.mpi2021-02-081-3/+2
* Simplify sleep_setup API to two operations in preparation for splittingmpi2021-02-081-118/+67
* Simplify sleep signal handling a bit by introducing sleep_signal_check().claudio2021-01-111-16/+24
* tsleep(9): add global "nowake" channel for threads avoiding wakeup(9)cheloha2020-12-241-1/+9
* Convert the per-process thread list into a SMR_TAILQ.mpi2020-12-071-2/+3
* sleep_setup_timeout(): always KASSERT that P_TIMEOUT is unsetcheloha2020-10-231-2/+3
* Fix single thread behaviour in sleep_setup_signal(). If a thread needs toclaudio2020-04-061-13/+20
* Move sleep_finish_all() down to where sleep_finish() and all otherclaudio2020-03-311-17/+17
* Revert Rev 1.164. Setting sls_sig to 0 uncovered a bunch of issues when itclaudio2020-03-261-2/+2
* Prevent tsleep(9) with PCATCH from returning immediately without errorvisa2020-03-231-2/+2
* __thrsleep(2): ensure timeout is set when calling tsleep_nsec(9)cheloha2020-03-201-2/+2
* __thrsleep(2): fix absolute timeout checkcheloha2020-03-201-2/+2
* Initialize sls_sig to 0 and not 1. sls_sig stores the signal number of aclaudio2020-03-131-2/+2
* msleep() and rwsleep() allow to release the lock when going tobluhm2020-03-021-3/+5
* Split `p_priority' into `p_runpri' and `p_slppri'.mpi2020-01-301-3/+3
* *sleep_nsec(9): log process name and pid when nsecs == 0cheloha2020-01-241-7/+13
* Import dt(4) a driver and framework for Dynamic Profiling.mpi2020-01-211-1/+6
* Make __thrsleep(2) and __thrwakeup(2) MP-safevisa2020-01-211-31/+73
* Introduce wakeup_proc() a function to un-SSTOP/SSLEEP a thread.mpi2020-01-161-16/+24
* Introduce TIMESPEC_TO_NSEC() and use it to convert userland facingmpi2020-01-141-8/+4
* *sleep_nsec(9): sleep *at least* the given number of nanosecondscheloha2020-01-121-10/+27
* Move kernel locking inside the sleep machinery. This enables callingvisa2019-11-301-14/+37
* Check sleep timeout state only if the sleep has a timeout. Otherwise,visa2019-11-121-10/+18
* Reduce the number of places where `p_priority' and `p_stat' are set.mpi2019-10-151-5/+5
* *sleep_nsec(9): add missing newlines to DIAGNOSTIC logscheloha2019-10-011-4/+4
* Stop sleeping at PUSER.mpi2019-07-101-2/+2
* Add tsleep_nsec(9), msleep_nsec(9), and rwsleep_nsec(9).cheloha2019-07-031-1/+71
* Ensure that timeout p_sleep_to is not left running when finishing sleep.visa2019-06-181-3/+6
* Remove file name and line number output from witness(4)visa2019-04-231-11/+2
* Sprinkle a pinch of timerisvalid/timespecisvalid over the rest of sys/kerncheloha2019-01-231-2/+2
* Add sleep_finish_all(), which provides the common combo of sleep_finish(),guenther2018-05-311-24/+19
* rwsleep: generalize to support both read- and write-locks.cheloha2018-05-281-8/+9
* Validate timespec and return ECANCELED when interrupted with SA_RESTART.pirofti2018-04-241-4/+8
* add code to provide simple wait condition handling.dlg2017-12-141-1/+29
* Use _kernel_lock_held() instead of __mp_lock_held(&kernel_lock).mpi2017-12-041-4/+4
* Do not panic if we find ourself on the sleep queue while being SONPROC.mpi2017-05-181-1/+10
* Hook up mutex(9) to witness(4).visa2017-04-201-1/+5
* Hook up rwlock(9) to witness(4).visa2017-04-201-2/+8
* Remove the inifioctl hack, checking for an unheld NET_LOCK() inmpi2017-01-311-11/+1
* Introduce a hack to remove false-positives when looking for memorympi2017-01-251-1/+11
* p_comm is the process's command and isn't per thread, so move it fromguenther2017-01-211-2/+2
* Introduce rwsleep(9), an equivalent to msleep(9) but for code protectedmpi2016-09-131-1/+35
* Remove ticket lock support from thrsleep. It's unused.akfaew2016-09-031-21/+8
* fix several places where calculating ticks could overflow.tedu2016-07-061-3/+3
* switch calculuated thrsleep timeout to unsigned to prevent overflowtedu2016-07-041-2/+2
* add back $OpenBSD$jsg2016-03-291-1/+1
* Make sure that a thread that calls sched_yield(2) ends up on the run queuekettenis2016-03-281-2/+19
* Correct some comments and definitions, from Michal Mazurek.mpi2016-03-091-3/+2