[Webkit-unassigned] [Bug 155255] MemoryPressureHandler doesn't work if cgroups aren't present in Linux

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 30 10:02:20 PDT 2016


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

--- Comment #24 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to comment #23)
> A better approach could be to never wake up when process is idle, and poll
> only when there's other activity, since it's very unlikely that the memory
> grows if the process is idle. I'm not sure how we can detect that, though.
> Maybe we can invent a run loop source that is only triggered when other run
> loops are dispatched, or something like that.

I don't think is unlikely at all to enter in a low memory scenario when webkit is idle.

Just suppose that the user minimizes the browser and loads up libreoffice or any other application.

In that situation webkit should be able to get the memory pressure notification as fast as possible and free the caches potentially keeping the system from swapping.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160330/a82b51ea/attachment.html>


More information about the webkit-unassigned mailing list