aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/trace.c
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2011-06-16 16:57:22 +0100
committerKeir Fraser <keir@xen.org>2011-06-16 16:57:22 +0100
commit2a46078cad635b1876a49309f1bb58cf142340e9 (patch)
tree44dd0b6737fedbd4908e883977be562216d9c58f /xen/common/trace.c
parenteed054473d2c1d763ea4f1732cae2fa71534cafb (diff)
downloadxen-2a46078cad635b1876a49309f1bb58cf142340e9.tar.gz
xen-2a46078cad635b1876a49309f1bb58cf142340e9.tar.bz2
xen-2a46078cad635b1876a49309f1bb58cf142340e9.zip
tasklets: Switch a few tasklets to run in softirq context.
There are a couple of others which may also be safe. I've converted only the most obvious one. Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/trace.c')
-rw-r--r--xen/common/trace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/common/trace.c b/xen/common/trace.c
index 41b7e3c407..6e5c1d8e4b 100644
--- a/xen/common/trace.c
+++ b/xen/common/trace.c
@@ -641,7 +641,8 @@ static void trace_notify_dom0(unsigned long unused)
{
send_guest_global_virq(dom0, VIRQ_TBUF);
}
-static DECLARE_TASKLET(trace_notify_dom0_tasklet, trace_notify_dom0, 0);
+static DECLARE_SOFTIRQ_TASKLET(trace_notify_dom0_tasklet,
+ trace_notify_dom0, 0);
/**
* trace - Enters a trace tuple into the trace buffer for the current CPU.