diff options
author | scottl <scottl@FreeBSD.org> | 2003-02-26 03:15:42 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2003-02-26 03:15:42 +0000 |
commit | 9317dd98415bf426c742032e63da549a3488b8a1 (patch) | |
tree | ad64b7fff0868ef683f7e5764838fab2d311b965 /sys/dev/mly/mly.c | |
parent | 9390269c86215a6c8dfb14df61c198cfe89e7fc7 (diff) | |
download | FreeBSD-src-9317dd98415bf426c742032e63da549a3488b8a1.zip FreeBSD-src-9317dd98415bf426c742032e63da549a3488b8a1.tar.gz |
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.
Diffstat (limited to 'sys/dev/mly/mly.c')
-rw-r--r-- | sys/dev/mly/mly.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index 4fd1880..d9e18eb 100644 --- a/sys/dev/mly/mly.c +++ b/sys/dev/mly/mly.c @@ -1610,7 +1610,7 @@ mly_done(struct mly_softc *sc) if (worked) { #if __FreeBSD_version >= 500005 if (sc->mly_state & MLY_STATE_INTERRUPTS_ON) - taskqueue_enqueue(taskqueue_swi, &sc->mly_task_complete); + taskqueue_enqueue(taskqueue_swi_giant, &sc->mly_task_complete); else #endif mly_complete(sc, 0); |