aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2020-09-04 13:27:52 -0400
committerBruce Momjian <bruce@momjian.us>2020-09-04 13:27:52 -0400
commit7574af1e1b94a4de7a6f63f3a7854a508ab7b0e0 (patch)
treeb4dd9369b5b42b09f8f0fe5fb1077b83ddb5b728
parentafec6ba0bae0258835b81fcc0eeed3ff9c455427 (diff)
downloadpostgresql-7574af1e1b94a4de7a6f63f3a7854a508ab7b0e0.tar.gz
postgresql-7574af1e1b94a4de7a6f63f3a7854a508ab7b0e0.zip
C comment: correct use of 64-"byte" cache line size
Reported-by: Kelly Min Discussion: https://postgr.es/m/CAPSbxatOiQO90LYpSC3+svAU9-sHgDfEP4oFhcEUt_X=DqFA9g@mail.gmail.com Backpatch-through: 9.5
-rw-r--r--src/include/storage/buf_internals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/buf_internals.h b/src/include/storage/buf_internals.h
index e57f84ee9c8..3377fa56768 100644
--- a/src/include/storage/buf_internals.h
+++ b/src/include/storage/buf_internals.h
@@ -203,7 +203,7 @@ typedef struct BufferDesc
* Note that local buffer descriptors aren't forced to be aligned - as there's
* no concurrent access to those it's unlikely to be beneficial.
*
- * We use 64bit as the cache line size here, because that's the most common
+ * We use a 64-byte cache line size here, because that's the most common
* size. Making it bigger would be a waste of memory. Even if running on a
* platform with either 32 or 128 byte line sizes, it's good to align to
* boundaries and avoid false sharing.