[Webkit-unassigned] [Bug 230126] [bmalloc] Add API to release heap's large free

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 17 11:53:15 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230126

--- Comment #4 from Filip Pizlo <fpizlo at apple.com> ---
(In reply to Basuke Suzuki from comment #3)
> (In reply to Filip Pizlo from comment #2)
> > So - the key thing is that you need to actually munmap as opposed to madvise
> > to decommit?
> 
> Correct.

That's exciting and terrifying!

I've been engineering mallocs under the assumption that virtual memory is free and munmap is never necessary.

Can you tell me about what your virtual memory quotas look like?

For example, if you have a process that uses 50MB on average and 100MB at peak, what virtual memory quota would you be most likely to give it?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210917/6b92d332/attachment.htm>


More information about the webkit-unassigned mailing list