[webkit-changes] [WebKit/WebKit] 7d7388: Cherry-pick 265527 at main (cb12dc2f4fd8). https://bu...
Carlos Garcia Campos
noreply at github.com
Wed Jun 28 02:31:54 PDT 2023
Branch: refs/heads/webkitglib/2.40
Home: https://github.com/WebKit/WebKit
Commit: 7d7388bc64d6683241045f88c1bfec6733f1e2a4
https://github.com/WebKit/WebKit/commit/7d7388bc64d6683241045f88c1bfec6733f1e2a4
Author: Pablo Saavedra <psaavedra at igalia.com>
Date: 2023-06-28 (Wed, 28 Jun 2023)
Changed paths:
M Source/WebKit/UIProcess/linux/MemoryPressureMonitor.cpp
M Source/WebKit/UIProcess/linux/MemoryPressureMonitor.h
Log Message:
-----------
Cherry-pick 265527 at main (cb12dc2f4fd8). https://bugs.webkit.org/show_bug.cgi?id=257860
Linux MemoryPressureMonitor (cgroupV1) honors memory.memsw.usage_in_bytes if exist
https://bugs.webkit.org/show_bug.cgi?id=257860
Reviewed by Carlos Alberto Lopez Perez.
For systems still using cgroupV1, in case of the WK processes are
associated to a cgroup with memory controller, the MemoryPressureMonitor
reads the current used memory from the memory.memsw.usage_in_bytes. It
fallback to the memory.usage_in_bytesin case the first choice is not
available.
* Source/WebKit/UIProcess/linux/MemoryPressureMonitor.cpp:
(WebKit::CGroupMemoryController::setMemoryControllerPath):
(WebKit::CGroupMemoryController::disposeMemoryController):
(WebKit::CGroupMemoryController::getMemoryUsageWithCgroup):
Canonical link: https://commits.webkit.org/265527@main
Commit: 9c500ae81cedc1dd2cafd25b5a77ad36319126f2
https://github.com/WebKit/WebKit/commit/9c500ae81cedc1dd2cafd25b5a77ad36319126f2
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-06-28 (Wed, 28 Jun 2023)
Changed paths:
M Source/WebKit/gtk/NEWS
M Source/cmake/OptionsGTK.cmake
Log Message:
-----------
Unreviewed. Update OptionsGTK.cmake and NEWS for the 2.40.3 release
* Source/WebKit/gtk/NEWS: Add release notes for 2.40.3.
* Source/cmake/OptionsGTK.cmake: Bump version numbers.
Compare: https://github.com/WebKit/WebKit/compare/ebefb9e6b7e7...9c500ae81ced
More information about the webkit-changes
mailing list