commit | ea9961acdbc9f7e2c95a3b55ce0ac1024af5d167 | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Thu Nov 03 21:18:50 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Thu Nov 03 22:33:34 2016 -0700 |
tree | 57494db410e0250c3d28958e9363e15976eb5c9a | |
parent | 8dd5ea87cac39d9a90dbe40d13267ec02df0214c [diff] |
Fix psz/pind edge cases. Add an "over-size" extent heap in which to store extents which exceed the maximum size class (plus cache-oblivious padding, if enabled). Remove psz2ind_clamp() and use psz2ind() instead so that trying to allocate the maximum size class can in principle succeed. In practice, this allows assertions to hold so that OOM errors can be successfully generated.