[Webkit-unassigned] [Bug 209186] New: [GTK][WPE] Check the cgroups memory limits (v1 and v2) to calculate the systemMemoryUsedAsPercentage() in the MemoryPressureMonitor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 17 10:58:50 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=209186
Bug ID: 209186
Summary: [GTK][WPE] Check the cgroups memory limits (v1 and v2)
to calculate the systemMemoryUsedAsPercentage() in the
MemoryPressureMonitor
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: psaavedra at igalia.com
CC: bugs-noreply at webkitgtk.org
The support to check the merory pressure level using with cgroups was dropped in 184261 [1]:
[GTK][WPE] Memory pressure monitor doesn't reliable notify all the subprocesses
[1] https://bugs.webkit.org/show_bug.cgi?id=184261
This patch adds some additional logic in the MemoryPressureMonitor::systemMemoryUsedAsPercentage() to check the cgroups memory limits if the system has available the cgroups mountpoint (`/sys/fs/cgroup/memory/`).
--
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/20200317/f029be62/attachment.htm>
More information about the webkit-unassigned
mailing list