diff options
author | pjd <pjd@FreeBSD.org> | 2006-10-15 12:40:27 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-10-15 12:40:27 +0000 |
commit | e993001f4772b543b1d3bd464e443b9e6a586199 (patch) | |
tree | f805b018da35ae284300e9357b265f7071a6c5fb /share | |
parent | d16480f34dbf1c7297ab7dd3b0e7faacb8ac1955 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | share/man/man9/ktr.9 | 10 |
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. |