On Thu, Jul 11, 2019 at 10:30:52PM +, co...@sdf.org wrote:
> hi folks, while skimming jemalloc, noticed a comment about our old code
> being better.
* Ideally, there would be a way to specify alignment to mmap() (like
* NetBSD has), but in the absence of such a feature, we ha
hi folks, while skimming jemalloc, noticed a comment about our old code
being better.
there's a while loop trying to get aligned allocations, so it probably
does matter (pages_map_slow).
Any good benchmarks to use?
Bring in code from old jemalloc customized for netbsd.
There's a loop calling os_p
On Thu, Jul 11, 2019 at 05:26:34PM +, David Holland wrote:
> In practice (across arbitrary platforms) I wouldn't count on malloc
> necessarily respecting any of these limits,
Indeed, which was probably a large reason why this code is trying to find out
how much memory it should use. In our at
On Wed, Jul 10, 2019 at 08:40:43PM -0700, Graham Percival wrote:
> > Ah, but how do you ask malloc to exceed RLIMIT_DATA? Not by passing it
> > a large number, or any number, since that doesn't change the size of
> > any data segment.
>
> Aha! I misunderstood "this limit" to mean "the number