tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Limiting malloc to the low 2GB?



On Tue, 29 Nov 2022, Valery Ushakov wrote:

Turns out you can use MALLOC_CONF="dss:primary" to make (the new)
jemalloc prefer sbrk(2).


Yes, I saw that, but, I wasn't sure if that setting meant a) always
use sbrk() or b) prefer sbrk(), then, fall-back to mmap() (typically
for very large allocations).

-RVP


Home | Main Index | Thread Index | Old Index