Source-Changes-HG archive

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

[src/trunk]: src/sys/kern pool(9): Convert membar_exit to membar_release.



details:   https://anonhg.NetBSD.org/src/rev/76f6098da181
branches:  trunk
changeset: 365173:76f6098da181
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Apr 09 23:51:48 2022 +0000

description:
pool(9): Convert membar_exit to membar_release.

diffstat:

 sys/kern/subr_pool.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a3dcfa40521f -r 76f6098da181 sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c      Sat Apr 09 23:51:22 2022 +0000
+++ b/sys/kern/subr_pool.c      Sat Apr 09 23:51:48 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_pool.c,v 1.281 2022/02/27 14:16:43 riastradh Exp $        */
+/*     $NetBSD: subr_pool.c,v 1.282 2022/04/09 23:51:48 riastradh Exp $        */
 
 /*
  * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010, 2014, 2015, 2018,
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.281 2022/02/27 14:16:43 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.282 2022/04/09 23:51:48 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -2621,7 +2621,7 @@
                }
                pcg->pcg_next = o;
 #ifndef __HAVE_ATOMIC_AS_MEMBAR
-               membar_exit();
+               membar_release();
 #endif
                n = atomic_cas_ptr(head, o, pcg);
                if (o == n) {



Home | Main Index | Thread Index | Old Index