diff options
author | Namhoon Kim <namhoonk@cs.unc.edu> | 2018-02-07 22:13:48 -0500 |
---|---|---|
committer | Namhoon Kim <namhoonk@cs.unc.edu> | 2018-02-07 22:13:48 -0500 |
commit | 2dd395b092b13e26aaa7a1ce8795be7b6d4a24c9 (patch) | |
tree | fdceed279e9516d7a69b06ac47a670729ac558b7 /kernel | |
parent | bda9461f8f90ed9ae69a57a797daed44340c8484 (diff) |
IPC supports
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/softirq.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 5c694353763b..a546e77b0c50 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
@@ -276,12 +276,11 @@ restart: | |||
276 | kstat_incr_softirqs_this_cpu(vec_nr); | 276 | kstat_incr_softirqs_this_cpu(vec_nr); |
277 | 277 | ||
278 | trace_softirq_entry(vec_nr); | 278 | trace_softirq_entry(vec_nr); |
279 | // if (vec_nr == 3) | 279 | if (vec_nr == 3) |
280 | // TS_NET_RX_SOFTIRQ_START; | 280 | TS_NET_RX_SOFTIRQ_START; |
281 | // net_rx_action() is called here | 281 | h->action(h); //net_rx_action() |
282 | h->action(h); | 282 | if (vec_nr == 3) |
283 | // if (vec_nr == 3) | 283 | TS_NET_RX_SOFTIRQ_END; |
284 | // TS_NET_RX_SOFTIRQ_END; | ||
285 | trace_softirq_exit(vec_nr); | 284 | trace_softirq_exit(vec_nr); |
286 | if (unlikely(prev_count != preempt_count())) { | 285 | if (unlikely(prev_count != preempt_count())) { |
287 | pr_err("huh, entered softirq %u %s %p with preempt_count %08x, exited with %08x?\n", | 286 | pr_err("huh, entered softirq %u %s %p with preempt_count %08x, exited with %08x?\n", |