diff options
author | Scott Long <scottl@FreeBSD.org> | 2003-02-26 03:15:42 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2003-02-26 03:15:42 +0000 |
commit | 7874f606d5cefa443c96bc218d76d696db6f1a69 (patch) | |
tree | ad64b7fff0868ef683f7e5764838fab2d311b965 /sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c | |
parent | 13f9c3024f92dea14d1e7c1f58d132c3e460bb5f (diff) |
Introduce a new taskqueue that runs completely free of Giant, and in
turns runs its tasks free of Giant too. It is intended that as drivers
become locked down, they will move out of the old, Giant-bound taskqueue
and into this new one. The old taskqueue has been renamed to
taskqueue_swi_giant, and the new one keeps the name taskqueue_swi.
Notes
Notes:
svn path=/head/; revision=111528
Diffstat (limited to 'sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c')
-rw-r--r-- | sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c b/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c index 8fa8a08e5ce3..2221f444cd0e 100644 --- a/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c +++ b/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c @@ -251,7 +251,7 @@ ng_btsocket_hci_raw_node_rcvmsg(node_p node, item_p item, hook_p lasthook) error = ENOBUFS; } else { NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_hci_raw_queue, item); - error = taskqueue_enqueue(taskqueue_swi, + error = taskqueue_enqueue(taskqueue_swi_giant, &ng_btsocket_hci_raw_task); } mtx_unlock(&ng_btsocket_hci_raw_queue_mtx); @@ -300,7 +300,7 @@ ng_btsocket_hci_raw_node_rcvdata(hook_p hook, item_p item) error = ENOBUFS; } else { NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_hci_raw_queue, item); - error = taskqueue_enqueue(taskqueue_swi, + error = taskqueue_enqueue(taskqueue_swi_giant, &ng_btsocket_hci_raw_task); } mtx_unlock(&ng_btsocket_hci_raw_queue_mtx); |