Skip to content

Commit 226fd0c

Browse files
committed
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
1 parent 3738651 commit 226fd0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/storage/buf_internals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ typedef struct BufferDesc
166166
* Note that local buffer descriptors aren't forced to be aligned - as there's
167167
* no concurrent access to those it's unlikely to be beneficial.
168168
*
169-
* We use 64bit as the cache line size here, because that's the most common
169+
* We use a 64-byte cache line size here, because that's the most common
170170
* size. Making it bigger would be a waste of memory. Even if running on a
171171
* platform with either 32 or 128 byte line sizes, it's good to align to
172172
* boundaries and avoid false sharing.

0 commit comments

Comments
 (0)