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 xennetback(4): Omit needless membars in xen...
details: https://anonhg.NetBSD.org/src/rev/446bf367909a
branches: trunk
changeset: 373721:446bf367909a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Feb 25 00:34:36 2023 +0000
description:
xennetback(4): Omit needless membars in xennetback_connect.
xneti is a private data structure to which we have exclusive access
here; ordering the stores doesn't make sense.
diffstat:
sys/arch/xen/xen/xennetback_xenbus.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 0c0b4f9cf490 -r 446bf367909a sys/arch/xen/xen/xennetback_xenbus.c
--- a/sys/arch/xen/xen/xennetback_xenbus.c Sat Feb 25 00:34:25 2023 +0000
+++ b/sys/arch/xen/xen/xennetback_xenbus.c Sat Feb 25 00:34:36 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xennetback_xenbus.c,v 1.110 2023/02/25 00:34:25 riastradh Exp $ */
+/* $NetBSD: xennetback_xenbus.c,v 1.111 2023/02/25 00:34:36 riastradh Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xennetback_xenbus.c,v 1.110 2023/02/25 00:34:25 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xennetback_xenbus.c,v 1.111 2023/02/25 00:34:36 riastradh Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -497,9 +497,7 @@
goto err2;
}
xneti->xni_evtchn = evop.u.bind_interdomain.local_port;
- xen_wmb();
xneti->xni_status = CONNECTED;
- xen_wmb();
xneti->xni_ih = xen_intr_establish_xname(-1, &xen_pic,
xneti->xni_evtchn, IST_LEVEL, IPL_NET, xennetback_evthandler,
Home |
Main Index |
Thread Index |
Old Index