diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-04-19 21:26:36 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-04-19 21:26:36 +0000 |
commit | ab17fac487a2edc11c9643eaab1c3c4e1dd5589b (patch) | |
tree | e3980f5305201bf6d9d964102f24c655738fbb51 /sys/sun4v | |
parent | e215ab3b02bae1355e92de58c118eb0032066bf1 (diff) | |
download | FreeBSD-src-ab17fac487a2edc11c9643eaab1c3c4e1dd5589b.zip FreeBSD-src-ab17fac487a2edc11c9643eaab1c3c4e1dd5589b.tar.gz |
Add description and cautionary note regarding CACHE_LINE_SIZE.
MFC after: 2 weeks
Suggested by: alc
Diffstat (limited to 'sys/sun4v')
-rw-r--r-- | sys/sun4v/include/param.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sun4v/include/param.h b/sys/sun4v/include/param.h index 4d7b42e..aca3c37 100644 --- a/sys/sun4v/include/param.h +++ b/sys/sun4v/include/param.h @@ -71,6 +71,10 @@ #define ALIGNBYTES _ALIGNBYTES #define ALIGN(p) _ALIGN(p) +/* + * CACHE_LINE_SIZE is the compile-time maximum cache line size for an + * architecture. It should be used with appropriate caution. + */ #ifndef CACHE_LINE_SHIFT #define CACHE_LINE_SHIFT 6 #endif |