For f-stack to support QAT accelerator cards.

This commit is contained in:
wenchengji 2024-05-23 14:52:25 +00:00
parent fd994c50c8
commit 3a242c1379
1 changed files with 5 additions and 1 deletions

View File

@ -2221,7 +2221,11 @@ kqueue_wakeup(struct kqueue *kq)
kq->kq_state &= ~KQ_SEL;
}
if (!knlist_empty(&kq->kq_sel.si_note))
kqueue_schedtask(kq);
#ifndef FSTACK
kqueue_schedtask(kq);
#else
KNOTE_UNLOCKED(&kq->kq_sel.si_note, 0);
#endif
if ((kq->kq_state & KQ_ASYNC) == KQ_ASYNC) {
pgsigio(&kq->kq_sigio, SIGIO, 0);
}