Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/xen/xen mark XXXSMP also wakeup() calls



details:   https://anonhg.NetBSD.org/src/rev/bf6e60b8a465
branches:  trunk
changeset: 365448:bf6e60b8a465
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Aug 15 15:15:31 2018 +0000

description:
mark XXXSMP also wakeup() calls

diffstat:

 sys/arch/xen/xen/xbd_xenbus.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 0cc55f216a50 -r bf6e60b8a465 sys/arch/xen/xen/xbd_xenbus.c
--- a/sys/arch/xen/xen/xbd_xenbus.c     Wed Aug 15 15:11:18 2018 +0000
+++ b/sys/arch/xen/xen/xbd_xenbus.c     Wed Aug 15 15:15:31 2018 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xbd_xenbus.c,v 1.79 2018/06/24 20:28:58 jdolecek Exp $      */
+/*      $NetBSD: xbd_xenbus.c,v 1.80 2018/08/15 15:15:31 jdolecek Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.79 2018/06/24 20:28:58 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.80 2018/08/15 15:15:31 jdolecek Exp $");
 
 #include "opt_xen.h"
 
@@ -338,7 +338,7 @@
        }
        if ((flags & DETACH_FORCE) == 0) {
                /* xbd_xenbus_detach already in progress */
-               wakeup(xbd_xenbus_detach);
+               wakeup(xbd_xenbus_detach); /* XXXSMP */
                splx(s);
                return EALREADY;
        }
@@ -671,7 +671,7 @@
                if (rep->operation == BLKIF_OP_FLUSH_DISKCACHE) {
                        xbdreq->req_sync.s_error = rep->status;
                        xbdreq->req_sync.s_done = 1;
-                       wakeup(xbdreq);
+                       wakeup(xbdreq); /* XXXSMP */
                        /* caller will free the req */
                        continue;
                }
@@ -718,7 +718,7 @@
                goto again;
 
        if (sc->sc_xbdreq_wait)
-               wakeup(&sc->sc_xbdreq_wait);
+               wakeup(&sc->sc_xbdreq_wait); /* XXXSMP */
        else
                dk_start(&sc->sc_dksc, NULL);
        return 1;



Home | Main Index | Thread Index | Old Index