]> granicus.if.org Git - postgresql/commit
Align all shared memory allocations to cache line boundaries.
authorRobert Haas <rhaas@postgresql.org>
Tue, 5 Apr 2016 19:47:49 +0000 (15:47 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 5 Apr 2016 19:47:49 +0000 (15:47 -0400)
commit09adc9a8c09c9640de05c7023b27fb83c761e91c
treed49e850574d39aa1204b2ad332d729f2a0725bcc
parent1d2fe56e42640613781fc17ab1534fd0551de9bd
Align all shared memory allocations to cache line boundaries.

Experimentation shows this only costs about 6kB, which seems well
worth it given the major performance effects that can be caused
by insufficient alignment, especially on larger systems.

Discussion: 14166.1458924422@sss.pgh.pa.us
src/backend/storage/ipc/shmem.c