Skip to content

Commit 56f42cf

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 aa4eeb3 commit 56f42cf

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
@@ -204,7 +204,7 @@ typedef struct BufferDesc
204204
* Note that local buffer descriptors aren't forced to be aligned - as there's
205205
* no concurrent access to those it's unlikely to be beneficial.
206206
*
207-
* We use 64bit as the cache line size here, because that's the most common
207+
* We use a 64-byte cache line size here, because that's the most common
208208
* size. Making it bigger would be a waste of memory. Even if running on a
209209
* platform with either 32 or 128 byte line sizes, it's good to align to
210210
* boundaries and avoid false sharing.

0 commit comments

Comments
 (0)