[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 Mar 12 01:02:32 PST 2016


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

--- Comment #11 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #8)
> (In reply to comment #6)
> > Looks good to me, but I think it makes sense to have someone more closely
> > involved with the port sign off an polling proc every second.
> 
> I can't think of any reason not to. Once per second is reasonable.
> 
> But it'd probably be nicer to do this with real poll or epoll, rather than
> sleep, so we don't need a new thread for it?

I'm not sure /proc/meminfo is pollable, the kernel probably gives the contents directly when reading, but I haven't actually checked, it's just a guess.

-- 
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/20160312/042ad890/attachment.html>


More information about the webkit-unassigned mailing list