summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-10-15 12:40:27 +0000
committerpjd <pjd@FreeBSD.org>2006-10-15 12:40:27 +0000
commite993001f4772b543b1d3bd464e443b9e6a586199 (patch)
treef805b018da35ae284300e9357b265f7071a6c5fb /share/man
parentd16480f34dbf1c7297ab7dd3b0e7faacb8ac1955 (diff)
downloadFreeBSD-src-e993001f4772b543b1d3bd464e443b9e6a586199.zip
FreeBSD-src-e993001f4772b543b1d3bd464e443b9e6a586199.tar.gz
Explain that using 64bit arguments on 32bit architectures with CTRx()
macros is a bad idea.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/ktr.910
1 files changed, 10 insertions, 0 deletions
diff --git a/share/man/man9/ktr.9 b/share/man/man9/ktr.9
index 19b91de..b035991 100644
--- a/share/man/man9/ktr.9
+++ b/share/man/man9/ktr.9
@@ -145,3 +145,13 @@ It might be profitable at some point in time to use per-CPU buffers instead
so that if one CPU halts or starts spinning, then the log messages it
emitted just prior to halting or spinning will not be drowned out by events
from the other CPUs.
+.Pp
+The arguments given in
+.Fn CTRx
+macros are stored as
+.Vt u_long ,
+so don't pass arguments larger than size of an
+.Vt u_long
+type.
+For example passing 64bit arguments on 32bit architectures will give incorrect
+results.
OpenPOWER on IntegriCloud