No description
Find a file
Peter Collingbourne d7157c22af Introduce additional service options for controlling memory cgroups.
The memcg.limit_percent option can be used to limit the cgroup's
max RSS to the given value as a percentage of the device's physical
memory. The memcg.limit_property option specifies the name of a
property that can be used to control the cgroup's max RSS. These
new options correspond to the arguments to the limitProcessMemory
function in frameworks/av/media/libmedia/MediaUtils.cpp; this will
allow us to add these options to the rc files for the programs that
call this function and then remove the callers in a later change.

There is also a change in semantics: the memcg.* options now have
an effect on all devices which support memory cgroups, not just
those with ro.config.low_ram or ro.config.per_app_memcg set to true.
This change also brings the semantics in line with the documentation,
so it looks like the previous semantics were unintentional.

Change-Id: I9495826de6e477b952e23866743b5fa600adcacb
Bug: 118642754
2018-10-31 17:09:59 -07:00
adb adb install-multiple to also accept .fsv_sig 2018-10-29 16:55:06 -07:00
adf Make libadf, libsync_recovery recovery_available. 2018-08-07 10:53:07 -07:00
base libbase: a slightly cleaner solution to libbase's off64_t problem. 2018-10-25 16:29:02 -07:00
bootstat bootstat: smpl -> reboot,powerloss 2018-09-26 13:02:16 -07:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd Update for v4.19 kernel headers. 2018-10-30 09:22:12 -07:00
demangle Build adbd for recovery 2018-05-24 14:11:11 +09:00
diagnose_usb Build adbd for recovery 2018-05-24 14:11:11 +09:00
fastboot Merge "fastboot: wipe overlayfs for partition" 2018-10-27 00:18:24 +00:00
fs_mgr fs_mgr: fix userdebug/user argument type mismatch 2018-10-29 17:08:23 -07:00
gatekeeperd Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
healthd healthd: GRSurface now is a class. 2018-10-22 13:20:33 -07:00
include Move android_filesystem_config.h => fs_config.h 2017-08-02 16:31:19 -07:00
init Introduce additional service options for controlling memory cgroups. 2018-10-31 17:09:59 -07:00
libappfuse Stop using SO_SNDBUFFORCE 2018-03-15 14:22:27 +09:00
libasyncio Build adbd for recovery 2018-05-24 14:11:11 +09:00
libbacktrace Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
libbinderwrapper Make libbinderwrapper available in /vendor partition 2018-04-06 08:41:21 +09:00
libcrypto_utils Build adbd for recovery 2018-05-24 14:11:11 +09:00
libcutils libcutils: lose socket_peer_is_trusted to ART, the only user. 2018-10-25 13:24:08 -07:00
libdiskconfig Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]] 2017-10-02 10:44:29 -07:00
libgrallocusage Merge "Build both static and shared lib." 2018-09-25 22:29:31 +00:00
libion libion: cleanup logging 2018-03-07 10:56:06 -08:00
libkeyutils Build adbd for recovery 2018-05-24 14:11:11 +09:00
liblog Add noexcept to move constructors and assignment operators. 2018-10-05 16:43:47 +00:00
libmemtrack Add OWNERS. 2017-12-07 13:30:03 -08:00
libmemunreachable Add noexcept to move constructors and assignment operators. 2018-10-05 16:43:47 +00:00
libmetricslogger Make native metrics logger write to statsd socket 2018-10-24 15:19:14 -07:00
libnativebridge Remove unnecessary dynamic dependency on libbase. 2018-10-24 16:11:45 +01:00
libnativeloader Add error_msg argument to CloseNativeLibrary 2018-09-12 01:36:06 +02:00
libnetutils Merge "Add OWNERS." am: 3289b9c928 2017-12-07 23:51:13 +00:00
libpackagelistparser Mark as recovery_available: true 2018-05-15 09:47:04 +09:00
libpixelflinger Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
libprocessgroup Introduce additional service options for controlling memory cgroups. 2018-10-31 17:09:59 -07:00
libprocinfo Remove ashmem from system/core 2018-08-24 12:30:09 -07:00
libqtaguid Redirect qtaguid native call to netd fwmark client 2017-11-09 18:02:22 -08:00
libsparse Revert "libsparse: Add sparse typed callback" 2018-07-26 05:23:45 +00:00
libstats Make native metrics logger write to statsd socket 2018-10-24 15:19:14 -07:00
libsuspend Remove libsuspend from VNDK. 2018-08-14 13:39:55 -07:00
libsync Merge libsync_recovery rules into libsync. 2018-08-07 11:00:50 -07:00
libsystem Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
libsysutils Suppress implicit-fallthrough warning. 2018-10-10 14:39:02 -07:00
libunwindstack Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
libusbhost Merge "Remove urb request size maximum." am: 1cb765c867 am: 1ab6e9d018 2018-02-13 09:02:38 +00:00
libutils "utils/Errors.h": include <stdint.h> for int32_t. 2018-10-16 13:17:15 -07:00
libvndksupport bpfmt. 2018-02-16 17:58:14 -08:00
libziparchive libziparchive: use lseek directly. 2018-10-26 21:27:38 -07:00
llkd llkd: Skip apexd for process checks 2018-10-22 16:11:02 -07:00
lmkd lmkd: Cleanup unused code for killing processes in bulk 2018-10-29 16:20:50 +00:00
logcat logcat: include 'kernel' and 'security' buffers in logcat --help 2018-10-22 11:16:07 -07:00
logd logd: clear timeout if no start time is given 2018-10-19 13:51:35 -07:00
logwrapper Build adbd for recovery 2018-05-24 14:11:11 +09:00
mkbootimg Revert "Revert "mkbootimg: Build mkbootimg with Soong."" 2018-09-27 14:11:51 +00:00
property_service Add recovery_available: true to init dependencies 2018-07-24 13:45:50 -07:00
qemu_pipe Build adbd for recovery 2018-05-24 14:11:11 +09:00
reboot reboot: only pause indefinitely for non-shutdown operations 2017-09-29 16:29:52 +00:00
rootdir Create /data/preloads on post-fs-data 2018-10-24 15:29:16 +01:00
run-as run-as: Migrate to blueprint 2018-06-27 11:15:23 -07:00
sdcard Add support for esdfs mounting 2018-01-19 12:58:42 -08:00
shell_and_utilities Make unzip available. 2018-09-04 13:33:30 -07:00
storaged Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
toolbox getevent: O_RDWR -> O_RDONLY | O_CLOEXEC 2018-08-24 12:16:17 -07:00
trusty Add noexcept to move constructors and assignment operators. 2018-10-05 16:43:47 +00:00
usbd bpfmt. 2018-02-16 17:58:14 -08:00
watchdogd Move watchdogd out of init 2018-08-02 12:25:58 -07:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Remove PenaltyExcessCharacter from clang-formats. 2018-07-19 13:50:41 -07:00
.clang-format-4 Remove PenaltyExcessCharacter from clang-formats. 2018-07-19 13:50:41 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Shared libs are supported in recovery mode 2018-06-10 08:32:24 +09:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00
OWNERS Move per-file OWNERS directives to their directories. 2018-06-06 11:49:40 +09:00
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00
TEST_MAPPING Add adbd_test to presubmit test mapping 2018-10-23 14:03:15 -07:00