summaryrefslogtreecommitdiffstats
path: root/share/man/man9/taskqueue.9
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-03-01 17:47:32 +0000
committerjhb <jhb@FreeBSD.org>2016-03-01 17:47:32 +0000
commit15b2caff0f7170f0c4bb31748f12833744f7985c (patch)
treebc4ba59ad502bd4930be6d5bc1668a5a2c0da3f5 /share/man/man9/taskqueue.9
parentad8802bdfd6ffa6c24a142eb71483277e77f059d (diff)
downloadFreeBSD-src-15b2caff0f7170f0c4bb31748f12833744f7985c.zip
FreeBSD-src-15b2caff0f7170f0c4bb31748f12833744f7985c.tar.gz
Remove taskqueue_enqueue_fast().
taskqueue_enqueue() was changed to support both fast and non-fast taskqueues 10 years ago in r154167. It has been a compat shim ever since. It's time for the compat shim to go. Submitted by: Howard Su <howard0su@gmail.com> Reviewed by: sephe Differential Revision: https://reviews.freebsd.org/D5131
Diffstat (limited to 'share/man/man9/taskqueue.9')
-rw-r--r--share/man/man9/taskqueue.922
1 files changed, 2 insertions, 20 deletions
diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9
index 5f2bcf6..5ee7fc8 100644
--- a/share/man/man9/taskqueue.9
+++ b/share/man/man9/taskqueue.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 4, 2015
+.Dd March 1, 2016
.Dt TASKQUEUE 9
.Os
.Sh NAME
@@ -80,8 +80,6 @@ struct timeout_task;
.Ft int
.Fn taskqueue_enqueue "struct taskqueue *queue" "struct task *task"
.Ft int
-.Fn taskqueue_enqueue_fast "struct taskqueue *queue" "struct task *task"
-.Ft int
.Fn taskqueue_enqueue_timeout "struct taskqueue *queue" "struct timeout_task *timeout_task" "int ticks"
.Ft int
.Fn taskqueue_cancel "struct taskqueue *queue" "struct task *task" "u_int *pendp"
@@ -191,14 +189,6 @@ This function will return
.Er EPIPE
if the queue is being freed.
.Pp
-The function
-.Fn taskqueue_enqueue_fast
-should be used in place of
-.Fn taskqueue_enqueue
-when the enqueuing must happen from a fast interrupt handler.
-This method uses spin locks to avoid the possibility of sleeping in the fast
-interrupt context.
-.Pp
When a task is executed,
first it is removed from the queue,
the value of
@@ -467,15 +457,7 @@ To use these queues,
call
.Fn taskqueue_enqueue
with the value of the global taskqueue variable for the queue you wish to
-use
-.Va ( taskqueue_swi ,
-.Va taskqueue_swi_giant ,
-or
-.Va taskqueue_thread ) .
-Use
-.Fn taskqueue_enqueue_fast
-for the global taskqueue variable
-.Va taskqueue_fast .
+use.
.Pp
The software interrupt queues can be used,
for instance, for implementing interrupt handlers which must perform a
OpenPOWER on IntegriCloud