Displaying 1 result from an estimated 1 matches for "et_active".
Did you mean:
get_active
2013 Oct 28
5
FreeBSD PVH guest support
...*arg)
struct xentimer_softc *sc = (struct xentimer_softc *)arg;
struct xentimer_pcpu_data *pcpu = DPCPU_PTR(xentimer_pcpu);
- pcpu->last_processed = xen_fetch_vcpu_time();
+ pcpu->last_processed = xen_fetch_vcpu_time(DPCPU_GET(vcpu_info));
if (pcpu->timer != 0 && sc->et.et_active)
sc->et.et_event_cb(&sc->et, sc->et.et_arg);
@@ -415,7 +424,9 @@ xentimer_et_start(struct eventtimer *et,
do {
if (++i == 60)
panic("can''t schedule timer");
- next_time = xen_fetch_vcpu_time() + first_in_ns;
+ critical_enter();
+ next_time = xen_fetc...