diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-05 08:51:45 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-05 08:51:45 +0000 |
commit | 01f6ce3a709610f8c57c9378b536a4f2a77f10ed (patch) | |
tree | 990809ea13f1d7a1d193d14f9c73bbfd8f8ad78f /sys/kern | |
parent | 2a0f491ada8de05dbf831c25f92846f0b1bbef90 (diff) | |
download | FreeBSD-src-01f6ce3a709610f8c57c9378b536a4f2a77f10ed.zip FreeBSD-src-01f6ce3a709610f8c57c9378b536a4f2a77f10ed.tar.gz |
- Use taskqueue_thread rather than taskqueue_swi since our task is going
to vrele, which may vop lock. This is not safe in a software interrupt
context.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_jail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 7e78e83..e125622 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -283,7 +283,7 @@ prison_free(struct prison *pr) mtx_unlock(&allprison_mtx); TASK_INIT(&pr->pr_task, 0, prison_complete, pr); - taskqueue_enqueue(taskqueue_swi, &pr->pr_task); + taskqueue_enqueue(taskqueue_thread, &pr->pr_task); return; } mtx_unlock(&pr->pr_mtx); |