summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_timeout.c
AgeCommit message (Expand)AuthorFilesLines
2020-02-18Cleanup <sys/kthread.h> and <sys/proc.h> includes.mpi1-1/+2
2020-01-13Raise ipl of the softclock thread to IPL_SOFTCLOCK.mpi1-1/+4
2020-01-03timeout(9): delay thread wakeup(9) decision to end of softclock() loopcheloha1-4/+3
2020-01-03timeout(9): Add timeout_set_flags(9) and TIMEOUT_INITIALIZER_FLAGS(9)cheloha1-6/+11
2020-01-03timeout(9): Rename the TIMEOUT_NEEDPROCCTX flag to TIMEOUT_PROC.cheloha1-6/+6
2019-12-25timeout(9): new flag: TIMEOUT_SCHEDULED, new statistic: tos_scheduledcheloha1-6/+10
2019-12-12Recommit "timeout(9): make CIRCQ look more like other sys/queue.h data structures"cheloha1-29/+34
2019-12-02Revert "timeout(9): switch to tickless backend"cheloha1-210/+135
2019-11-29timeout(9): make CIRCQ look more like other sys/queue.h data structurescheloha1-28/+33
2019-11-26timeout(9): switch to tickless backendcheloha1-112/+182
2019-11-07db_addr_t -> vaddr_t, missed in previous.mpi1-2/+2
2019-11-03kern_timeout.c: style(9), misc. cleanupcheloha1-49/+45
2019-11-02softclock: move softintr registration/scheduling into timeout modulecheloha1-7/+22
2019-09-20timeout(9): process-context timeouts can be latecheloha1-11/+9
2019-09-20timeout(9): use CLR/ISSET/SET consistentlycheloha1-18/+15
2019-07-19ddb(4): clean up callout commandcheloha1-6/+19
2019-07-12sysctl(2): add KERN_TIMEOUT_STATS: timeout(9) status and statistics.cheloha1-2/+30
2019-04-23Remove file name and line number output from witness(4)visa1-5/+4
2019-04-14Add lock order checking for timeoutsvisa1-2/+69
2017-12-14i forgot to convert timeout_proc_barrier to cond_signaldlg1-5/+3
2017-12-14replace the bare sleep state handling in barriers with wait cond codedlg1-8/+4
2017-11-24add timeout_barrier, which is like intr_barrier and taskq_barrier.dlg1-1/+41
2016-10-03avoid holding timeout_mutex while interacting with the scheduler.dlg1-9/+16
2016-09-22Introduce a new 'softclock' thread that will be used to execute timeoutmpi1-12/+81
2016-07-06fix several places where calculating ticks could overflow.tedu1-11/+11
2016-06-23Avoid multiple evaluation of macro arguments in softclock()stefan1-7/+9
2016-06-14Prevent a round to zero in the timeout_add_...() functions. Gettingbluhm1-1/+15
2016-03-20Update ticks in hardclock().uebayasi1-3/+1
2016-03-17KNF: Remove a blank line.uebayasi1-2/+1
2015-07-20Move `ticks' declaration to sys/kernel.h.uebayasi1-2/+1
2015-03-14Remove some includes include-what-you-use claims don'tjsg1-2/+1
2013-11-27make timeout_add and its wrappers return whether the timeout was scheduleddlg1-16/+20
2013-10-06Replace some XXX casts with an inline function that explains what's going onguenther1-4/+15
2013-10-02Format string fix: Use %td for pointer differencesf1-2/+2
2013-10-01format string fixsf1-2/+2
2013-09-17Fix a misaligned backslashguenther1-2/+2
2013-08-03Delete variable left over from the diagnostic code removed by previous commitguenther1-4/+2
2012-06-02Delete diagnostic code that reports timeout adjustments on resume.guenther1-13/+1
2012-05-24On resume, run forward the monotonic and realtimes clocks instead of jumpingguenther1-1/+47
2011-05-10tweak timeout_del so it can tell the caller if it actually did remove adlg1-2/+7
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.kettenis1-3/+2
2009-06-02Constipate the second argument to timeout_add_*(). Also, useguenther1-6/+6
2009-03-03put back r1.25 (poisoning chain pointers after removing items from themiod1-1/+4
2008-10-22Add timeout_add_msec(), for timeouts in milliseconds.blambert1-1/+13
2008-07-14Don't lock timeouts in db_show_callout.art1-3/+1
2008-07-11Add timeout_add_{tv,ts,bt,sec,usec,nsec} so that we can add timeoutsblambert1-1/+67
2008-01-20Revert 1.25 and do not use _Q_INVALIDATE on timeout structures; beingmiod1-4/+1
2006-07-19Sprinkle some _Q_INVALIDATE love for timeout structures as well; ok otto@miod1-1/+4
2006-04-21back out my last commit.dlg1-6/+1
2006-04-18if you go timeout_set, timeout_add, and then timeout_set again you candlg1-1/+6