软中断--wakeup_softirqd

liaocj 2024-12-03 09:02:56
Categories: Tags:
static void wakeup_softirqd(void)
{
    /* Interrupts are disabled: no need to stop preemption */
    struct task_struct *tsk = __this_cpu_read(ksoftirqd);

    if (tsk)
        wake_up_process(tsk);
}