No description
Find a file
Martijn Coenen 5bb91ab553 Don't use mem cgroups for pid accounting.
Commit b82bab66 introduced the use of memory cgroups for keeping track
of forked PIDs; it basically creates a separate memory cgroup for every
process forked from zygote.

Each such memory cgroup which also have its own LRU with (in)active file
and anonymous pages. The current theory is this could potentially introduce
two problems:
1) kswapd runs longer because it has to iterate over the LRUs of all mem
cgroups, instead of over the LRUs of a single root mem cgroup;
2) the way kswapd reclaims things will be different also - I think it will
tend to bias reclaim to smaller mem cgroups, and process private pages
will end up on ZRAM swap much sooner.

Until we figure this out, fall back to the CPU accounting cgroup for keeping
track of forked PIDs. This leaves us with a single root mem cgroup again. We
can also keep userspace lmkd enabled because it only requires the root mem
cgroup.

Bug: 27381069
Change-Id: Ife397a6ac232761f2adfe6f5056582be0d1b4ff1
2016-03-18 15:35:48 +01:00
adb Fix buffer overrun in adb wait-for-device. 2016-03-11 08:55:01 -08:00
adf Adf: Remove unused variable 2015-07-27 22:08:16 -07:00
base libziparchive: port unit tests to darwin and windows. 2016-03-07 11:21:24 -08:00
bootstat bootstat: Disambiguate boot time on encrypted devices. 2016-03-14 14:27:35 -07:00
cpio fs_config: replace getenv('OUT') by new fs_config parameter 2015-07-09 21:47:07 -07:00
crash_reporter crash_reporter_tests: Compile only on 'eng' builds. 2016-02-04 13:56:25 -08:00
debuggerd Merge "debuggerd: make sure that we kill the process after dumping." into nyc-dev 2016-03-10 22:32:34 +00:00
fastboot Also archive adb.exe/fastboot.exe when building win_sdk. 2016-03-03 15:46:50 -08:00
fingerprintd Fingerprint: Plumb enumerate support. 2015-12-04 10:07:55 -08:00
fs_mgr Distinguish between unencrypted and unencryptable 2016-03-04 15:52:33 -08:00
gatekeeperd Merge "Track rename of base/ to android-base/." am: 912ed3d8ca am: e2a9563be1 2015-12-07 23:59:44 +00:00
healthd healthd: Correct the scaling factor for maxVoltage and maxCurrent. 2016-02-26 10:09:28 -08:00
include system/core: Make Thread::run threadName argument required 2016-03-12 21:32:52 -08:00
init Distinguish between unencrypted and unencryptable 2016-03-04 15:52:33 -08:00
libbacktrace Add error reporting mechanism for failing Unwind. 2016-03-10 14:14:43 -08:00
libbinderwrapper libbinderwrapper: Add BinderWrapper::GetOrCreateInstance() 2016-01-04 12:56:27 -08:00
libcutils Merge "Mount schedTune cgroup as /dev/stune" into nyc-dev 2016-02-26 17:35:50 +00:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion am 8d2cd035: am 2ddb9cb1: am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed." 2015-04-02 22:07:16 +00:00
liblog liblog: truncate logtags that overflow prefixBuf 2016-03-14 10:08:06 -07:00
libmemtrack Remove a hack for getting libpagerank's headers. 2015-09-22 22:35:30 -07:00
libmemunreachable Fix mac build 2016-03-07 17:19:28 -08:00
libmincrypt Enable clang compilation. 2015-05-15 16:13:19 -07:00
libnativebridge Revert "nativebrige: log code_cache access errors to stderr as well" 2016-01-27 17:53:20 +00:00
libnativeloader Handle the case when libart.so is not in use 2016-03-04 15:02:16 -08:00
libnetutils Delete dhcpcd code in system/core, since dhcpcd is no more. 2016-02-25 16:04:43 +09:00
libpackagelistparser packagelistparser: rename to libpackagelistparser 2015-11-05 12:12:38 -08:00
libpixelflinger Use dlmalloc from external/dlmalloc instead of bionic/. 2016-01-22 11:04:35 -08:00
libprocessgroup Don't use mem cgroups for pid accounting. 2016-03-18 15:35:48 +01:00
libsparse Fix static analyzer issues caught by clang 2016-02-01 11:19:26 -08:00
libsuspend Adds a parameter to the wakeup_callback to report sucessful wakeup or suspend aborts. 2015-06-25 13:15:22 -07:00
libsync Fix isValid() condition for libsync tests 2015-11-05 10:07:53 -08:00
libsysutils Tolerate RTM_DELADDR messages from deleted interfaces. 2016-02-16 23:12:26 +09:00
libusbhost libusbhost: add usb_device_reset 2016-01-13 16:01:42 -08:00
libutils system/core: Make Thread::run threadName argument required 2016-03-12 21:32:52 -08:00
libziparchive libziparchive: ensure ReadAtOffset is atomic 2016-03-09 17:17:19 -08:00
lmkd lmkd: subscribe to low mempressure events. 2016-02-09 11:25:18 +01:00
logcat logcat: build cleanup 2016-02-04 13:10:19 -08:00
logd logd: check return values 2016-03-02 11:37:21 -08:00
logwrapper am eaf04aa0: am 3b94cef1: Merge "Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h" 2015-08-22 02:40:51 +00:00
metricsd Merge "metricsd: Create a brillo::MessageLoop." 2016-02-04 23:38:54 +00:00
mkbootimg mkbootimg: add os_version 2016-03-15 10:37:52 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir Add /postinstall partition when using the A/B updater. 2016-03-04 15:45:52 -08:00
run-as Fix the run-as environment to better match su. 2015-11-03 14:31:46 -08:00
sdcard Merge "[DO NOT MERGE] Use FUSE_SHORTCIRCUIT if available" into mnc-dr1.5-dev am: b84295d027 2016-01-14 00:52:50 +00:00
toolbox Allow building with Python 3.x 2016-03-08 08:18:34 -08:00
trusty [core][trusty] add gatekeeper module 2015-11-12 12:19:48 -08:00
tzdatacheck Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Add a CleanSpec for grep/toolbox. 2015-03-22 18:04:54 -07: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