forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit13e14a7
committed
Management of free memory pages.
This is intended as infrastructure for a full-fledged allocator fordynamic shared memory. The interface looks a bit like a realallocator, but only supports allocating and freeing memory inmultiples of the 4kB page size. Further, to free memory, you mustknow the size of the span you wish to free, in pages. While these aremake it unsuitable as an allocator in and of itself, it still servesas very useful scaffolding for a full-fledged allocator.Robert Haas and Thomas Munro. This code is mostly the same as my 2014submission, but Thomas fixed quite a few bugs and made some changes tothe interface.Discussion: CA+TgmobkeWptGwiNa+SGFWsTLzTzD-CeLz0KcE-y6LFgoUus4A@mail.gmail.comDiscussion: CAEepm=1z5WLuNoJ80PaCvz6EtG9dN0j-KuHcHtU6QEfcPP5-qA@mail.gmail.com1 parentfbc1c12 commit13e14a7
File tree
4 files changed
+1993
-1
lines changed- src
- backend/utils/mmgr
- include/utils
- tools/pgindent
4 files changed
+1993
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
|
0 commit comments
Comments
(0)