[Webkit-unassigned] [Bug 209942] New: [GTK][WPE] Replace fopen/fclose by fopen/fseek functions in MemoryPressureMonitor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 2 17:04:59 PDT 2020


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

            Bug ID: 209942
           Summary: [GTK][WPE] Replace fopen/fclose by fopen/fseek
                    functions in MemoryPressureMonitor
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: psaavedra at igalia.com

The current implementation is executing open/close calls for several files /proc/meminfo, /proc/self/cgroup, ... in a infinite loop.

It could be good idea to explore a refactoring using fseek/rewind/fsetpos to avoid unnecessary those open/close system calls.

-- 
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/20200403/146565b5/attachment.htm>


More information about the webkit-unassigned mailing list