Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/nvmm nvmm: more __read_mostly



details:   https://anonhg.NetBSD.org/src/rev/84ea0dba13ab
branches:  trunk
changeset: 943477:84ea0dba13ab
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Sep 04 17:08:01 2020 +0000

description:
nvmm: more __read_mostly

diffstat:

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

diffs (27 lines):

diff -r a242b32eaa57 -r 84ea0dba13ab sys/dev/nvmm/nvmm.c
--- a/sys/dev/nvmm/nvmm.c       Fri Sep 04 17:07:33 2020 +0000
+++ b/sys/dev/nvmm/nvmm.c       Fri Sep 04 17:08:01 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm.c,v 1.37 2020/08/29 07:14:17 maxv Exp $   */
+/*     $NetBSD: nvmm.c,v 1.38 2020/09/04 17:08:01 maxv Exp $   */
 
 /*
  * Copyright (c) 2018-2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm.c,v 1.37 2020/08/29 07:14:17 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm.c,v 1.38 2020/09/04 17:08:01 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -66,7 +66,7 @@
 #endif
 };
 
-static const struct nvmm_impl *nvmm_impl = NULL;
+static const struct nvmm_impl *nvmm_impl __read_mostly = NULL;
 
 static struct nvmm_owner root_owner;
 



Home | Main Index | Thread Index | Old Index