diff options
author | Bruce Momjian <bruce@momjian.us> | 2020-09-04 13:27:52 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2020-09-04 13:27:52 -0400 |
commit | 63abf9ad9b41f91a96d6eb9bc1c0c49877f1d854 (patch) | |
tree | 1d5b846da3dcf488bb2f2ee84f6ed3d1adbb7275 /src/include/storage/buf_internals.h | |
parent | 44f4986dd96bca9d847ccde9ee9428bd9901810b (diff) |
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
Diffstat (limited to 'src/include/storage/buf_internals.h')
-rw-r--r-- | src/include/storage/buf_internals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/buf_internals.h b/src/include/storage/buf_internals.h index b768b6fc962..33c6d533725 100644 --- a/src/include/storage/buf_internals.h +++ b/src/include/storage/buf_internals.h @@ -204,7 +204,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. |