summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_task.c
AgeCommit message (Expand)AuthorFilesLines
2020-06-11whitespace and speeling fix in a comment. no functional change.dlg1-4/+4
2020-06-11make taskq_barrier wait for pending tasks, not just the running tasks.dlg1-2/+2
2020-06-07add support for running taskq_barrier from a task inside the taskq.dlg1-62/+131
2019-12-19Convert infinite sleeps to {m,t}sleep_nsec(9).mpi1-4/+5
2019-06-23Make taskq_barrier(9) work for multi-threaded task queues.kettenis1-1/+24
2019-04-28add WITNESS support to barriers modelled on the timeout stuff visa did.dlg1-5/+65
2019-04-01deprecate TASKQ_CANTSLEEP since nothing uses it anymoredlg1-31/+5
2018-12-16add task_pendingdlg1-3/+1
2017-12-14replace the bare sleep state handling in barriers with wait cond codedlg1-12/+6
2017-11-13add taskq_barrierdlg1-1/+27
2017-10-30Let witness(4) differentiate between taskq mutexes to avoidvisa1-2/+2
2017-02-14Convert most of the manual checks for CPU hogging to sched_pause().mpi1-2/+2
2016-08-11shuffle some code to make it more symmetrical.dlg1-4/+4
2015-12-08tweak whitespace in struct definition. no functional change.dlg1-8/+8
2015-12-08use struct task_list instead of TAILQ_HEAD(, task)dlg1-2/+2
2015-11-19dont try and wakeup other threads to handle pending work when wedlg1-2/+2
2015-02-09we want to defer work traditionally (in openbsd) handled in andlg1-16/+46
2015-01-27remove the second void * argument on tasks.dlg1-6/+4
2014-11-01add a few sizes to freetedu1-3/+3
2014-10-08make workq/taskq runner threads yield when they've hogged the cpublambert1-2/+4
2014-07-12add a size argument to free. will be used soon, but for now default to 0.tedu1-3/+3
2014-06-11Create system taskq ("systqmp") which runs without the kernel lock;blambert1-1/+13
2013-12-11Fix typo; that teaches me to steal other people's diffs!kettenis1-2/+2
2013-12-10Add infrastructure to create un-biglocked task queues. Stolen from blambert@kettenis1-1/+15
2013-11-18simplify kthread_create(). no more stdargderaadt1-2/+2
2013-10-30deprecate taskq_systq() and replace it with extern struct taskqdlg1-8/+4
2013-10-29since taskq_create is only callable from autoconf or process context, itdlg1-2/+2
2013-10-29sys/task.h includes sys/queue.h, so kern/kern_task.c doesnt needdlg1-3/+1
2013-10-29use unsigned int instead of u_int to reduce the depend on types.h.dlg1-4/+4
2013-10-29introduce tasks and taskqs as an alternative to workqs.dlg1-0/+258