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/+/2409423Reviewed-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}
Showing
Please register or sign in to comment