Module Name: src
Committed By: christos
Date: Mon Jul 19 19:13:33 UTC 2021
Modified Files:
src/sys/sys: param.h
Log Message:
Mention caution changing the defaults.
To generate a diff of this commit:
cvs rdiff -u -r1.697 -r1.698 src/sys/sys/param.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/sys/param.h
diff -u src/sys/sys/param.h:1.697 src/sys/sys/param.h:1.698
--- src/sys/sys/param.h:1.697 Tue Jun 29 17:03:37 2021
+++ src/sys/sys/param.h Mon Jul 19 15:13:33 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.697 2021/06/29 21:03:37 pgoyette Exp $ */
+/* $NetBSD: param.h,v 1.698 2021/07/19 19:13:33 christos Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
@@ -200,13 +200,19 @@
#define dbtob(x) ((x) << DEV_BSHIFT)
#define btodb(x) ((x) >> DEV_BSHIFT)
-/* Coherency unit: assumed cache line size. See also MIN_LWP_ALIGNMENT. */
+/*
+ * Coherency unit: assumed cache line size. See also MIN_LWP_ALIGNMENT.
+ * The MD code depends on the current values of these constants. Don't
+ * change them without coordinating.
+ */
#ifndef COHERENCY_UNIT
#define COHERENCY_UNIT 64
#endif
#ifndef CACHE_LINE_SIZE
#define CACHE_LINE_SIZE 64
#endif
+
+
#ifndef MAXCPUS
#define MAXCPUS 32
#endif