[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
Sat Jul 2 01:33:16 PDT 2016


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

--- Comment #28 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #27)
> Created attachment 282544 [details]
> Different approach
> 
> This is a different approach to the previous patch. If there' no other way
> than polling an parsing /proc/meminfo, let's try to minimize the problems.
> There's a memory pressure handler in every secondary process, not only the
> web process but also in the network and plugin processes. So, this patch
> does the polling in a thread in the UI process to ensure it's only one
> process waking up. It uses eventFD to notify the other processes about
> memory pressure. The poll interval is calculated depending on the memory
> usage in every moment, between 1 and 15 seconds,

Oops, I meant between 1 and 5.

-- 
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/20160702/8ccd38ee/attachment-0001.html>


More information about the webkit-unassigned mailing list