[Webkit-unassigned] [Bug 184261] New: [GTK][WPE] Memory pressure monitor doesn't reliable notify all the subprocesses

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 3 06:01:04 PDT 2018


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

            Bug ID: 184261
           Summary: [GTK][WPE] Memory pressure monitor doesn't reliable
                    notify all the subprocesses
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: aperez at igalia.com, bugs-noreply at webkitgtk.org,
                    cgarcia at igalia.com

The current implementation of the memory pressure monitor ( non-cgroup memory monitor added in bug 155255 ) on the UIProcess is racy and fails to reliably notify all the webkit-related subprocess that it should.

When a memory notification event should happen, the UIProcess writes to a shared eventfd. Then the webkit subprocess (webprocess, networkprocess, etc) should receive the event and act according.

The issue is that they race between them to read this notification on the eventfd: Sometimes they all get the notification, but many other times only one of them get it.

-- 
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/20180403/1d377292/attachment-0002.html>


More information about the webkit-unassigned mailing list