Skip to content

Commit 3a242c1

Browse files
For f-stack to support QAT accelerator cards.
1 parent fd994c5 commit 3a242c1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

freebsd/kern/kern_event.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2221,7 +2221,11 @@ kqueue_wakeup(struct kqueue *kq)
22212221
kq->kq_state &= ~KQ_SEL;
22222222
}
22232223
if (!knlist_empty(&kq->kq_sel.si_note))
2224-
kqueue_schedtask(kq);
2224+
#ifndef FSTACK
2225+
kqueue_schedtask(kq);
2226+
#else
2227+
KNOTE_UNLOCKED(&kq->kq_sel.si_note, 0);
2228+
#endif
22252229
if ((kq->kq_state & KQ_ASYNC) == KQ_ASYNC) {
22262230
pgsigio(&kq->kq_sigio, SIGIO, 0);
22272231
}

0 commit comments

Comments
 (0)