summaryrefslogtreecommitdiff
path: root/sys/kern/kern_task.c
AgeCommit message (Expand)Author
2022-08-15Revert previous. It was not ok'ed by dlg@.Vitaliy Makkoveev
2022-08-15Stop doing lockless `t_flags' check within task_add(9) and task_del(9).Vitaliy Makkoveev
2020-08-01Add support for remote coverage to kcov. Remote coverage is collectedanton
2020-06-11whitespace and speeling fix in a comment. no functional change.David Gwynne
2020-06-11make taskq_barrier wait for pending tasks, not just the running tasks.David Gwynne
2020-06-07add support for running taskq_barrier from a task inside the taskq.David Gwynne
2019-12-19Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-06-23Make taskq_barrier(9) work for multi-threaded task queues.Mark Kettenis
2019-04-28add WITNESS support to barriers modelled on the timeout stuff visa did.David Gwynne
2019-04-01deprecate TASKQ_CANTSLEEP since nothing uses it anymoreDavid Gwynne
2018-12-16add task_pendingDavid Gwynne
2017-12-14replace the bare sleep state handling in barriers with wait cond codeDavid Gwynne
2017-11-13add taskq_barrierDavid Gwynne
2017-10-30Let witness(4) differentiate between taskq mutexes to avoidVisa Hankala
2017-02-14Convert most of the manual checks for CPU hogging to sched_pause().Martin Pieuchot
2016-08-11shuffle some code to make it more symmetrical.David Gwynne
2015-12-08tweak whitespace in struct definition. no functional change.David Gwynne
2015-12-08use struct task_list instead of TAILQ_HEAD(, task)David Gwynne
2015-11-19dont try and wakeup other threads to handle pending work when weDavid Gwynne
2015-02-09we want to defer work traditionally (in openbsd) handled in anDavid Gwynne
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-11-01add a few sizes to freeTed Unangst
2014-10-08make workq/taskq runner threads yield when they've hogged the cpuBret Lambert
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-06-11Create system taskq ("systqmp") which runs without the kernel lock;Bret Lambert
2013-12-11Fix typo; that teaches me to steal other people's diffs!Mark Kettenis
2013-12-10Add infrastructure to create un-biglocked task queues. Stolen from blambert@Mark Kettenis
2013-11-18simplify kthread_create(). no more stdargTheo de Raadt
2013-10-30deprecate taskq_systq() and replace it with extern struct taskqDavid Gwynne
2013-10-29since taskq_create is only callable from autoconf or process context, itDavid Gwynne
2013-10-29sys/task.h includes sys/queue.h, so kern/kern_task.c doesnt needDavid Gwynne
2013-10-29use unsigned int instead of u_int to reduce the depend on types.h.David Gwynne
2013-10-29introduce tasks and taskqs as an alternative to workqs.David Gwynne