Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit63abf9a

Browse files
committed
C comment: correct use of 64-"byte" cache line size
Reported-by: Kelly MinDiscussion:https://postgr.es/m/CAPSbxatOiQO90LYpSC3+svAU9-sHgDfEP4oFhcEUt_X=DqFA9g@mail.gmail.comBackpatch-through: 9.5
1 parent44f4986 commit63abf9a

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 use64bit as the cache line size here, because that's the most common
207+
* We usea 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)

[8]ページ先頭

©2009-2025 Movatter.jp