sched: Add a PF flag for ksoftirqd identification
[deliverable/linux.git] / kernel / softirq.c
index 988dfbe6bbe87666ad61ef8efd3b64255609ba6d..267f7b763ebb390defa77a3667d26a8aefc1e095 100644 (file)
@@ -713,6 +713,7 @@ static int run_ksoftirqd(void * __bind_cpu)
 {
        set_current_state(TASK_INTERRUPTIBLE);
 
+       current->flags |= PF_KSOFTIRQD;
        while (!kthread_should_stop()) {
                preempt_disable();
                if (!local_softirq_pending()) {
This page took 0.030197 seconds and 5 git commands to generate.