Skip to content
Snippets Groups Projects
Commit 9869ed19 authored by Avi Kivity's avatar Avi Kivity
Browse files

xen: name interrupt threads

parent 4dc9591b
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <bsd/porting/bus.h> #include <bsd/porting/bus.h>
#include <machine/intr_machdep.h> #include <machine/intr_machdep.h>
#include "bitops.h" #include "bitops.h"
#include <osv/debug.hh>
void unmask_evtchn(int vector); void unmask_evtchn(int vector);
int evtchn_from_irq(int irq); int evtchn_from_irq(int irq);
...@@ -87,7 +88,7 @@ void xen_irq::do_irq(void) ...@@ -87,7 +88,7 @@ void xen_irq::do_irq(void)
void xen_irq::_cpu_init(sched::cpu *c) void xen_irq::_cpu_init(sched::cpu *c)
{ {
*(_thread.for_cpu(c)) = new sched::thread([this] { xen_irq::do_irq(); }, *(_thread.for_cpu(c)) = new sched::thread([this] { xen_irq::do_irq(); },
sched::thread::attr().pin(c)); sched::thread::attr().pin(c).name(osv::sprintf("xenirq%d\n", c->id)));
(*(_thread.for_cpu(c)))->start(); (*(_thread.for_cpu(c)))->start();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment