Jason Evans 245ae6036c Support --with-lg-page values larger than actual page size.
During over-allocation in preparation for creating aligned mappings,
allocate one more page than necessary if PAGE is the actual page size,
so that trimming still succeeds even if the system returns a mapping
that has less than PAGE alignment.  This allows compiling with e.g. 64
KiB "pages" on systems that actually use 4 KiB pages.

Note that for e.g. --with-lg-page=21, it is also necessary to increase
the chunk size (e.g. --with-malloc-conf=lg_chunk:22) so that there are
at least two "pages" per chunk.  In practice this isn't a particularly
compelling configuration because so much (unusable) virtual memory is
dedicated to chunk headers.
2016-04-11 02:35:00 -07:00
..
2016-04-11 02:15:42 -07:00
2015-03-23 17:26:53 -07:00
2016-03-30 18:36:04 -07:00
2015-08-10 23:42:33 -07:00
2012-02-28 16:50:47 -08:00
2015-06-25 22:53:58 +02:00
2015-08-03 21:49:02 -07:00
2016-04-11 02:15:42 -07:00
2016-04-11 02:15:42 -07:00
2016-02-24 13:03:48 -08:00
2014-12-08 16:34:04 -08:00
2014-12-08 16:34:04 -08:00
2014-11-07 14:50:38 -08:00
2016-02-23 18:09:25 -08:00
2016-02-19 20:29:06 -08:00
2016-02-19 20:32:37 -08:00
2014-09-10 21:49:42 -04:00