[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:02:21 PDT 2021


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

Filip Pizlo <fpizlo at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fpizlo at apple.com

--- Comment #2 from Filip Pizlo <fpizlo at apple.com> ---
(In reply to Basuke Suzuki from comment #0)
> Our platform has a quota for each apps and that is caused by limiting the
> virtual address space. If the memory is requested from other part (the part
> outside WebKit), it will crash. In case of high memory usage, sometime it is
> useful to release bmalloc's large free region to kernel for others to be
> ready to assign.

So - the key thing is that you need to actually munmap as opposed to madvise to decommit?

-- 
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/2d45b4bd/attachment.htm>


More information about the webkit-unassigned mailing list