Add palloc_aligned() to allow arbitrary power of 2 memory alignment

Edit
ID 3999
Title Add palloc_aligned() to allow arbitrary power of 2 memory alignment
Topic Server Features
Created 2022-11-01 11:29:28
Last modified 2022-12-22 06:47:00 (1 year, 11 months ago)
Latest email 2022-12-22 00:34:23 (1 year, 11 months ago)
Status
2023-01: Committed
2022-11: Moved to next CF
Target version
Authors Andres Freund (andresfreund), David Rowley (davidrowley)
Reviewers Become reviewer
Committer David Rowley (davidrowley)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/3999
git checkout commitfest/cf/3999
Emails
Add palloc_aligned() to allow arbitrary power of 2 memory alignment
First at 2022-11-01 11:28:46 by David Rowley <dgrowleyml at gmail.com>
Latest at 2022-12-22 00:34:23 by David Rowley <dgrowleyml at gmail.com>
Latest attachment (v2-0001-Add-allocator-support-for-larger-allocation-align.patch) at 2022-11-16 10:56:26 from David Rowley <dgrowleyml at gmail.com>
    Attachment (v2-0001-Add-allocator-support-for-larger-allocation-align.patch) at 2022-11-16 10:56:26 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (v1-0002-Add-tests-for-palloc_aligned.patch) at 2022-11-03 15:20:47 from Maxim Orlov <orlovmg at gmail.com> (Patch: Yes)
    Attachment (palloc_aligned.patch) at 2022-11-01 11:28:46 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
History
When Who What
2022-12-22 06:47:00 David Rowley (davidrowley) Closed in commitfest 2023-01 with status: Committed
2022-12-22 06:47:00 David Rowley (davidrowley) Changed committer to davidrowley
2022-12-13 07:20:03 Ian Barwick (barwick) Closed in commitfest 2022-11 with status: Moved to next CF
2022-11-01 11:29:44 David Rowley (davidrowley) Changed authors to Andres Freund (andresfreund), David Rowley (davidrowley)
2022-11-01 11:29:28 David Rowley (davidrowley) Attached mail thread CAApHDvpxLPUMV1mhxs6g7GNwCP6Cs6hfnYQL5ffJQTuFAuxt8A@mail.gmail.com
2022-11-01 11:29:28 David Rowley (davidrowley) Created patch record
Edit