postgres.git / summary / log / commit / refs

commit    56f42cf9063d3ddf89962857d30a15d7ac49ce97
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Fri Sep 04 17:27:52 2020 +0000
First released in: 14.0, 9.5.24, 9.6.20, 10.15, 11.10, 12.5, 13.0

    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


src/include/storage/buf_internals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/storage/buf_internals.h b/src/include/storage/buf_internals.h index df2dda7e7e7..487a1a6828f 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. [parent: aa4eeb38f3aa]