Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7574af1

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 afec6ba commit 7574af1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/storage/buf_internals.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ typedef struct BufferDesc
203203
* Note that local buffer descriptors aren't forced to be aligned - as there's
204204
* no concurrent access to those it's unlikely to be beneficial.
205205
*
206-
* We use 64bit as the cache line size here, because that's the most common
206+
* We use a 64-byte cache line size here, because that's the most common
207207
* size. Making it bigger would be a waste of memory. Even if running on a
208208
* platform with either 32 or 128 byte line sizes, it's good to align to
209209
* boundaries and avoid false sharing.

0 commit comments

Comments
 (0)