OSDN Git Service

[PATCH] lockdep: irqtrace subsystem, move account_system_vtime() calls into kernel...
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / kernel / softirq.c
index 584609b..215541e 100644 (file)
@@ -193,6 +193,8 @@ asmlinkage void __do_softirq(void)
        int cpu;
 
        pending = local_softirq_pending();
+       account_system_vtime(current);
+
        __local_bh_disable((unsigned long)__builtin_return_address(0));
        trace_softirq_enter();
 
@@ -224,6 +226,8 @@ restart:
                wakeup_softirqd();
 
        trace_softirq_exit();
+
+       account_system_vtime(current);
        _local_bh_enable();
 }