diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2009-04-19 21:26:36 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2009-04-19 21:26:36 +0000 |
commit | 22037b2d2c9ecd418b2c1c9cee9fba1f7bbb7f4d (patch) | |
tree | e3980f5305201bf6d9d964102f24c655738fbb51 /sys/sparc64/include | |
parent | 6bed074cd202e020e829b6fde6d27c52fb10ed2b (diff) | |
download | src-22037b2d2c9ecd418b2c1c9cee9fba1f7bbb7f4d.tar.gz src-22037b2d2c9ecd418b2c1c9cee9fba1f7bbb7f4d.zip |
Add description and cautionary note regarding CACHE_LINE_SIZE.
MFC after: 2 weeks
Suggested by: alc
Notes
Notes:
svn path=/head/; revision=191278
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/param.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h index e8f783f180b4..b90997176d42 100644 --- a/sys/sparc64/include/param.h +++ b/sys/sparc64/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 |