]> granicus.if.org Git - postgresql/commit
Make slab allocator work on platforms with MAXIMUM_ALIGNOF < sizeof(int).
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 May 2017 19:22:13 +0000 (22:22 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 May 2017 19:22:13 +0000 (22:22 +0300)
commit94884e1c27ccd38bf494fc7f5aa46b269bbb6c9c
tree082565340d762270aa2de0bc148878d215d5b8d6
parent3ec76ff1f2cf52e9b900349957b42d28128b7bc7
Make slab allocator work on platforms with MAXIMUM_ALIGNOF < sizeof(int).

Notably, m68k only needs 2-byte alignment. Per report from Christoph Berg.

Discussion: https://www.postgresql.org/message-id/20170517193957.fwntkgi6epuso5l2@msg.df7cb.de
src/backend/utils/mmgr/slab.c