Harden memory allocators some more

Edit
ID 3943
Title Harden memory allocators some more
Topic Miscellaneous
Created 2022-10-10 19:48:30
Last modified 2022-10-11 20:36:47 (2 years, 1 month ago)
Latest email 2022-10-24 09:56:40 (2 years ago)
Status
2022-11: Committed
Target version
Authors Tom Lane (tgl)
Reviewers Become reviewer
Committer Tom Lane (tgl)
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/3943
git checkout commitfest/cf/3943
Emails
Reducing the chunk header sizes on all memory context types
First at 2022-07-12 05:01:18 by David Rowley <dgrowleyml at gmail.com>
Latest at 2022-10-24 09:56:40 by John Naylor <john.naylor at enterprisedb.com>
Latest attachment (harden-allocators-some-more-2.patch) at 2022-10-10 19:35:16 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (harden-allocators-some-more-2.patch) at 2022-10-10 19:35:16 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (harden-aset-some-more-1.patch) at 2022-10-08 15:52:25 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (more-mcxt-robustness-3.patch) at 2022-10-06 23:35:27 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (malloc_ptr.c) at 2022-10-06 22:38:05 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (more-mcxt-robustness-2.patch) at 2022-10-06 20:05:13 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (more-mcxt-robustness-1.patch) at 2022-10-06 18:19:21 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (0001-remove-MemoryContextContains-usages.patch) at 2022-10-04 15:55:06 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (other_ideas_to_fix_MemoryContextContains.patch) at 2022-09-29 05:30:31 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Reinstate-MemoryContextContains-to-work-with-arbi.patch) at 2022-09-13 08:27:39 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (make_memory_context_contains_more_robust_to_any_pointer.patch) at 2022-09-08 00:13:11 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (MemoryContextContains_fixes.patch) at 2022-09-06 03:17:24 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (draft_MemoryContextContains_fixes.patch) at 2022-09-06 02:32:42 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Make-more-effort-to-have-a-sentinel-byte-in-memor.patch) at 2022-09-02 08:11:12 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (sentinel-tweak-v2.patch) at 2022-09-01 00:12:20 from Tomas Vondra <tomas.vondra at enterprisedb.com> (Patch: Yes)
    Attachment (track_allocations.patch) at 2022-08-31 21:46:26 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (sentinel-tweak.patch) at 2022-08-31 20:53:38 from Tomas Vondra <tomas.vondra at enterprisedb.com> (Patch: Yes)
    Attachment (fix-memorychunk-warnings_v2.patch) at 2022-08-30 15:39:00 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (fix-memorychunk-warnings.patch) at 2022-08-30 15:00:20 from Robert Haas <robertmhaas at gmail.com> (Patch: Yes)
    Attachment (slab-fix_v2.patch) at 2022-08-30 01:16:00 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
    Attachment (slab-fix.patch) at 2022-08-29 15:39:52 from Tomas Vondra <tomas.vondra at enterprisedb.com> (Patch: Yes)
    Attachment (v8-0001-Improve-performance-of-and-reduce-overheads-of-me.patch) at 2022-08-28 22:39:09 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (v7-0001-Improve-performance-of-and-reduce-overheads-of-me.patch) at 2022-08-28 11:04:21 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (v6-0001-Improve-performance-of-and-reduce-overheads-of-me.patch) at 2022-08-26 05:16:38 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (pg_allocate_memory_test.sh.txt) at 2022-08-23 09:03:52 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (v4-0001-Improve-performance-of-and-reduce-overheads-of-me.patch) at 2022-08-17 13:58:39 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (v3-0001-Improve-performance-of-and-reduce-overheads-of-me.patch) at 2022-08-10 06:33:49 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (v2-0001-Improve-performance-of-and-reduce-overheads-of-me.patch) at 2022-08-09 12:53:04 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (v1-0001-WIP-Reduce-memory-context-overheads.patch) at 2022-07-12 05:01:18 from David Rowley <dgrowleyml at gmail.com> (Patch: Yes)
History
When Who What
2022-10-11 20:36:47 Tom Lane (tgl) Closed in commitfest 2022-11 with status: Committed
2022-10-11 20:36:47 Tom Lane (tgl) Changed committer to tgl
2022-10-10 19:48:40 Tom Lane (tgl) Changed authors to Tom Lane (tgl)
2022-10-10 19:48:30 Tom Lane (tgl) Attached mail thread CAApHDvpjauCRXcgcaL6+e3eqecEHoeRm9D-kcbuvBitgPnW=vw@mail.gmail.com
2022-10-10 19:48:30 Tom Lane (tgl) Created patch record
Edit