Make slab allocator work on platforms with MAXIMUM_ALIGNOF < sizeof(int).

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 94884e1c27ccd38bf494fc7f5aa46b269bbb6c9c
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2017-05-18T19:22:13Z
Releases: 10.0
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

Files

PathChange+/−
src/backend/utils/mmgr/slab.c modified +3 −3

Discussion