Date: Wed, 2 Jan 2008 04:10:32 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 132282 for review Message-ID: <200801020410.m024AWfW002349@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132282 Change 132282 by kmacy@pandemonium:kmacy:xen31 on 2008/01/02 04:10:23 use HYPERVISOR_yield to wait for updates if init hasn't run yet Affected files ... .. //depot/projects/xen31/sys/xen/xenbus/xenbus_xs.c#8 edit Differences ... ==== //depot/projects/xen31/sys/xen/xenbus/xenbus_xs.c#8 (text+ko) ==== @@ -137,13 +137,15 @@ return xsd_errors[i].errnum; } +extern int scheduler_running; + static void *read_reply(enum xsd_sockmsg_type *type, unsigned int *len) { struct xs_stored_msg *msg; char *body; int i; - if (HYPERVISOR_shared_info->evtchn_mask[curcpu] & 0x2) { + if (scheduler_running == 0) { /* * Give other domain time to run :-/ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801020410.m024AWfW002349>