Module Name:    src
Committed By:   thorpej
Date:           Sat Feb  1 21:11:10 UTC 2020

Modified Files:
        src/sys/net: if.h

Log Message:
Flip the switch to the per-cpu implementation in <net/if_stats.h>.  Leave
the conditional in place for a time in case serious problems are discovered,
so that the Old Way can be re-enabled quickly.  After some time, the Old
Way will be removed completely.


To generate a diff of this commit:
cvs rdiff -u -r1.278 -r1.279 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if.h
diff -u src/sys/net/if.h:1.278 src/sys/net/if.h:1.279
--- src/sys/net/if.h:1.278	Wed Jan 29 03:16:28 2020
+++ src/sys/net/if.h	Sat Feb  1 21:11:10 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.h,v 1.278 2020/01/29 03:16:28 thorpej Exp $	*/
+/*	$NetBSD: if.h,v 1.279 2020/02/01 21:11:10 thorpej Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -63,6 +63,12 @@
 #ifndef _NET_IF_H_
 #define _NET_IF_H_
 
+/*
+ * Temporary, to allow for a quick disable if problems are discovered
+ * during a transition period.
+ */
+#define	__IF_STATS_PERCPU
+
 #if !defined(_KERNEL) && !defined(_STANDALONE)
 #include <stdbool.h>
 #endif

Reply via email to