| commit | 7f6d660a3472a01e4e6fe97d398d564216170c0b | [log] [tgz] |
|---|---|---|
| author | Kuo-Hsin Yang <vovoy@chromium.org> | Wed Sep 16 17:34:21 2020 |
| committer | Commit Bot <commit-bot@chromium.org> | Wed Sep 16 17:34:21 2020 |
| tree | cd3733173c14558a6c437a8173e8cd6f3eea229f | |
| parent | 153fceee5c7ee7452c5776b1676cde9fdd09c200 [diff] |
Add D-Bus interface for handling memory pressure
This interface exports the function provided by the chromeos memory
pressure module in //chromeos/memory/pressure/. This interface will be
used by chrome, CrOS VM and ARCVM to query system memory pressure
status. The clients of this interface shall try to release memory when
the memory pressure is high.
BUG=b:149833548
Test: dbus-send --system --type=method_call --print-reply \
--dest=org.chromium.MemoryPressure /org/chromium/MemoryPressure \
org.chromium.MemoryPressure.GetAvailableMemoryKB
Change-Id: I795b688433ef8c5ab58a7d2099f369655f7b41c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2409423
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: Brian Geffon <bgeffon@chromium.org>
Commit-Queue: Kuo-Hsin Yang <vovoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#807548}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.