Tianjie Xu
7edd3146c7
Merge \\"Start update_verifier in cache group\\" into nyc-mr1-dev am: eddde7a130
...
am: 872b6e8790
Change-Id: Iac20bb4571292da8b783de8185dff93dc04850b9
2016-07-14 23:06:49 +00:00
Tianjie Xu
872b6e8790
Merge \"Start update_verifier in cache group\" into nyc-mr1-dev
...
am: eddde7a130
Change-Id: Ia17697a852687f319050a8cf260316f522564085
2016-07-14 22:43:16 +00:00
Tianjie Xu
eddde7a130
Merge "Start update_verifier in cache group" into nyc-mr1-dev
2016-07-14 22:27:08 +00:00
Pat Tjin
5408a76637
Merge \\"core/init.rc: Add /data/cache/* directory creation\\" into nyc-mr1-dev am: 46066ef405
...
am: b05988b33a
Change-Id: Iae9bc319eaad99364b59772260867fb90b08eeae
2016-07-14 19:23:27 +00:00
Yueyao (Nathan) Zhu
b05988b33a
Merge \"core/init.rc: Add /data/cache/* directory creation\" into nyc-mr1-dev
...
am: 46066ef405
Change-Id: Id67c7a2177520da1f3848642a68442c55b4f863d
2016-07-14 18:34:21 +00:00
Pat Tjin
46066ef405
Merge "core/init.rc: Add /data/cache/* directory creation" into nyc-mr1-dev
2016-07-14 18:28:51 +00:00
Tianjie Xu
1e4635f0a8
Start update_verifier in cache group
...
Start update_verifier in cache group to avoid dac_override
Bug: 30020920
Change-Id: I227b4a0e1c07e7b9bf209b432e9db02275ffe660
2016-07-12 18:31:17 -07:00
Tim Murray
e43d1d523e
Merge \\"Add support for background stune group.\\" into nyc-mr1-dev am: 531bdd5a2c
...
am: b386d72266
Change-Id: Ib0e2efeef7e015e0e8244e29a825bf3da50297a8
2016-07-12 02:46:06 +00:00
Irina Patru
51dcc811dc
Merge \\"init.rc: Remove cpu weight set on the root cgroup\\" into nyc-mr1-dev am: ac957cbd72
...
am: ddb0f3c612
Change-Id: Ia872bcedde94c70dadc2c3a4e69e2d5cd375c28f
2016-07-12 02:46:05 +00:00
Tim Kryger
1af798ddc5
Merge \\\\"Remove attempt to write sched_compat_yield\\\\" am: 3f2db32b8c am: 49a986bf73 am: f789bd0133
...
am: 3886aaeae4
Change-Id: I6da3999160ca054e0d8e819e4b35420ae19507c7
2016-07-12 02:46:05 +00:00
Tim Murray
17b1c0c061
Merge changes from topic \\'stune\\' into nyc-mr1-dev am: 4b75a86858
...
am: b8a19f4499
Change-Id: Iecdd4d4693534640aef408f40aa3fd1e1fa9b93e
2016-07-12 02:05:02 +00:00
TreeHugger Robot
3f947d1c58
Merge "Remove attempt to write sched_compat_yield" into nyc-mr1-dev
2016-07-12 00:09:03 +00:00
Tim Murray
b386d72266
Merge \"Add support for background stune group.\" into nyc-mr1-dev
...
am: 531bdd5a2c
Change-Id: Ia3be10db68dffc44e2d70535544c7c59d0933f7d
2016-07-11 23:55:17 +00:00
Tim Murray
531bdd5a2c
Merge "Add support for background stune group." into nyc-mr1-dev
2016-07-11 23:21:12 +00:00
Irina Patru
ddb0f3c612
Merge \"init.rc: Remove cpu weight set on the root cgroup\" into nyc-mr1-dev
...
am: ac957cbd72
Change-Id: I00c942a5d3e283efe40541c12f7daac2d2c77770
2016-07-11 22:29:13 +00:00
Tim Kryger
f3e1f13d81
Remove attempt to write sched_compat_yield
...
The sched_compat_yield option was eliminated in Linux 2.6.38 by commit
ac53db596cc0 ("sched: Use a buddy to implement yield_task_fair()") and
as a result, the following error is printed to the log during boot up.
init: write_file: Unable to open '/proc/sys/kernel/sched_compat_yield':
No such file or directory"
Bug: 30034121
Change-Id: Idbdb68de0cb3ab1f67d82a4d66af880bcfdfe261
(cherry picked from commit 724dfbac70 )
2016-07-11 15:22:50 -07:00
TreeHugger Robot
ac957cbd72
Merge "init.rc: Remove cpu weight set on the root cgroup" into nyc-mr1-dev
2016-07-11 22:20:22 +00:00
Tim Kryger
3886aaeae4
Merge \\\"Remove attempt to write sched_compat_yield\\\" am: 3f2db32b8c am: 49a986bf73
...
am: f789bd0133
Change-Id: I7434b27cf1662543efbe7b5d9fee6bac16cc9f26
2016-07-11 21:44:49 +00:00
Tim Kryger
49a986bf73
Merge \"Remove attempt to write sched_compat_yield\"
...
am: 3f2db32b8c
Change-Id: I13c56436dd00cf2d5336ba757ae2c32d2e2504b5
2016-07-11 21:31:08 +00:00
Tim Murray
5dcff8f2b1
Add support for background stune group.
...
bug 29512132
Change-Id: If8144bfee0fb30cf11f2bb26494ca5e83c11d4d7
2016-07-11 13:57:31 -07:00
Tim Murray
b8a19f4499
Merge changes from topic \'stune\' into nyc-mr1-dev
...
am: 4b75a86858
Change-Id: Ib11061d5d539f2e82ad16f122ea7d7b621bd988d
2016-07-11 20:35:56 +00:00
Irina Patru
23ad7517d2
init.rc: Remove cpu weight set on the root cgroup
...
It isn't allowed to change the cpu.share value for the root cgroup.
See kernel commit:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ec7dc8ac73e4a56ed03b673f026f08c0d547f597
This fixes the following error seen in dmesg:
init: write_file: Unable to write to '/dev/cpuctl/cpu.shares': Invalid argument
BUG: 28735908
Change-Id: I5ef359fb275792f99d13d35c62499026d354f6af
Signed-off-by: Irina Patru <irina.patru@intel.com>
(cherry picked from commit c560c6310f )
2016-07-11 12:35:51 -07:00
Tim Kryger
724dfbac70
Remove attempt to write sched_compat_yield
...
The sched_compat_yield option was eliminated in Linux 2.6.38 by commit
ac53db596cc0 ("sched: Use a buddy to implement yield_task_fair()") and
as a result, the following error is printed to the log during boot up.
init: write_file: Unable to open '/proc/sys/kernel/sched_compat_yield':
No such file or directory"
Bug: 30034121
Change-Id: Idbdb68de0cb3ab1f67d82a4d66af880bcfdfe261
2016-07-11 11:41:56 -07:00
Tim Murray
955694b657
Add support for top-app stune group.
...
bug 29512132
Change-Id: I41ec2dd80a469309f48dbb59fc27fbe43fcd67b3
2016-07-11 11:40:15 -07:00
Dan Willemsen
0a5bbe421f
Merge \\\\"Use BOARD_USES_VENDORIMAGE to detect vendor image presence\\\\" am: 5d420e791b am: bdd01e86a5 am: a5b9b8f452
...
am: d377004c98
Change-Id: I9b56d6e84a121120f1c7df054a0bfdc96076aecb
2016-07-09 06:28:31 +00:00
Dan Willemsen
d377004c98
Merge \\\"Use BOARD_USES_VENDORIMAGE to detect vendor image presence\\\" am: 5d420e791b am: bdd01e86a5
...
am: a5b9b8f452
Change-Id: Iceb0c03fa05a7f6126428128c8e5dced5e7e6cef
2016-07-09 06:08:40 +00:00
Dan Willemsen
bdd01e86a5
Merge \"Use BOARD_USES_VENDORIMAGE to detect vendor image presence\"
...
am: 5d420e791b
Change-Id: I3a65ccc6bc5d6b3c63484baaa6d816939bd48073
2016-07-09 06:03:09 +00:00
Dan Willemsen
0790431f75
Use BOARD_USES_VENDORIMAGE to detect vendor image presence
...
When building without vendor/... in the tree, we won't be creating a
vendorimage, so BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE won't be defined. But
we still need to use the vendor image that will be present.
Bug: 30040825
Change-Id: I756adc615aea11da60da4d3a4568caca9fed93ab
2016-07-08 18:17:48 -07:00
Tim Murray
10b2ad167a
resolve merge conflicts of 3a29e34 to nyc-mr1-dev-plus-aosp
...
am: 6469fa2a7e
Change-Id: I36b1580a9ce0548b27059699998289aa34fade7d
2016-07-07 20:47:56 +00:00
Tim Murray
6469fa2a7e
resolve merge conflicts of 3a29e34 to nyc-mr1-dev-plus-aosp
...
Change-Id: I4edd53094a98fcb3cd3e1b063122d13f80d36d3c
2016-07-07 13:40:18 -07:00
Tim Murray
3a29e344b0
Update FIFO settings for new uses of FIFO.
...
Adjust FIFO timings as well as allow SurfaceFlinger to use FIFO.
bug 24503801
Change-Id: I2c21d4c1788777c2d0d77227bb872701b35c4ff6
2016-07-07 11:35:41 -07:00
Andreas Gampe
6265780094
Rootdir: Add more asan.options support am: 8ccc1ad0f7
...
am: e33c9e426b
Change-Id: Ia6a03d301832ec649976bc9889694a0b4203696f
2016-06-24 00:50:29 +00:00
Andreas Gampe
e33c9e426b
Rootdir: Add more asan.options support
...
am: 8ccc1ad0f7
Change-Id: Ia72be83e461a3f09d6cd86fca99a89d9b6a71bb2
2016-06-24 00:47:52 +00:00
Andreas Gampe
8ccc1ad0f7
Rootdir: Add more asan.options support
...
Extend the asan.options file to read binary-specific configuration
from files out of /system. For early services, the system image
location is important as /data may not be available when they are
started.
Add a template that turns most sanitization off. At this point in
time, it is, however, impossible to get to a zero overhead state
after the fact. The template is meant to adapt a build after the
fact, and work around issues with LOCAL_SANITIZE := never.
Add a Make variable and rule copying the template to the path and
name expected by ASAN. Add SANITIZE_LITE to automatically add a
large set of options files.
Bug: 29498013
Change-Id: I8e9e6929a55cee3f3fa0acb377a886bfa7006c91
2016-06-23 14:45:35 -07:00
Yueyao (Nathan) Zhu
60c6dacd62
core/init.rc: Add /data/cache/* directory creation
...
Bug: 28845422
Change-Id: I2abcc67176cf94f34706f8f005a24ef5f70e0494
2016-06-21 12:14:53 -07:00
Vitalii Tomkiv
c9a21ef605
Merge \\\\"Set zygote process priority to -20 to speed up VM startup time.\\\\" am: 92774329dd am: bf5f0fae07 am: b20a94398b
...
am: 7a1a6b91a7
Change-Id: I59cd191b21693481ab004a8d1abc092620b178ed
2016-06-16 17:28:10 +00:00
Vitalii Tomkiv
7a1a6b91a7
Merge \\\"Set zygote process priority to -20 to speed up VM startup time.\\\" am: 92774329dd am: bf5f0fae07
...
am: b20a94398b
Change-Id: I65c0b4e96718c89ff3706516727cd6e6fed3d66b
2016-06-16 17:18:30 +00:00
Vitalii Tomkiv
bf5f0fae07
Merge \"Set zygote process priority to -20 to speed up VM startup time.\"
...
am: 92774329dd
Change-Id: I3c70a90e4d4e07f7c733a3a2738b0067ac09b6dd
2016-06-16 17:09:36 +00:00
Vitalii Tomkiv
372e5474d4
Set zygote process priority to -20 to speed up VM startup time.
...
Tests for Nexus9 device shows 450ms boot time speedup, 180ms for Nexus
5X.
Bug: 28866384
Change-Id: Icefd130d4bfe5538dae5b9518250807351b0789e
2016-06-08 10:54:03 -07:00
Tao Bao
abb1165236
Merge "Create /data/ota_package for OTA packages." into nyc-mr1-dev am: f9b7f7fdba
...
am: 27bbf8953d
* commit '27bbf8953d5a141912fe9325a4995da18ca86a6d':
Create /data/ota_package for OTA packages.
Change-Id: I243ec91e45bf202a6867645504eb963b64262556
2016-06-07 04:45:48 +00:00
Tao Bao
27bbf8953d
Merge "Create /data/ota_package for OTA packages." into nyc-mr1-dev
...
am: f9b7f7fdba
* commit 'f9b7f7fdba6f62309372fee7c619de1edd8aa389':
Create /data/ota_package for OTA packages.
Change-Id: I8d0cb3b8687d376efbfbbf186f858bef1c7ccf8e
2016-06-07 04:43:14 +00:00
Tao Bao
380d6b1b4d
Create /data/ota_package for OTA packages.
...
We will store OTA packages there for both A/B and non-A/B OTAs. The
directory will be accessed by GMSCore (for both), uncrypt (non-A/B),
update_engine (A/B), update_verifier (A/B) and possibly system server
(for non-A/B OTAs to clean up half-way uncrypt'd packages).
Bug: 28944800
Change-Id: I5aa8156ec5052bd15dfadd4d8c28925d464e4401
2016-06-03 13:11:29 -07:00
Daniel Micay
52ebee9865
add a property for controlling perf_event_paranoid
...
am: fe01f56c0d
* commit 'fe01f56c0d5c42508e1e82f5976e4c10bb00f632':
add a property for controlling perf_event_paranoid
Change-Id: I1059ecb2c1d1aba95cd3c93f208ae7ca904cf95e
2016-06-02 02:05:20 +00:00
Jeffrey Vander Stoep
f97ae58686
Merge "add a property for controlling perf_event_paranoid" am: 9292d7dae3 am: a6d6f45037 am: 680b2f3cb6
...
am: 0e7344f1ca
* commit '0e7344f1cad902133480d5137af2bdae1bf255e4':
add a property for controlling perf_event_paranoid
Change-Id: Ib4536fb05b7a3842f208e29bb6ace43ec87f1a39
2016-06-02 01:30:50 +00:00
Daniel Micay
fe01f56c0d
add a property for controlling perf_event_paranoid
...
(Cherry picked from commit 2b22a66382 )
This adds a system property for controlling unprivileged access to
perf_event_paranoid. It depends on adding kernel support for
perf_event_paranoid=3 based on grsecurity's PERF_HARDEN feature to
completely disable unprivileged access to perf. A minimal port of this
feature is used in the vanilla Debian kernel by default.
It hides the non-hardened value as an implementation detail, since while
it is currently 1, it will probably become 2 in the future.
Bug: 29054680
Change-Id: I6e3ae3cf18d8c76df94f879c34fb6fde519b89a9
2016-06-01 16:58:48 -07:00
Daniel Micay
0e7344f1ca
Merge "add a property for controlling perf_event_paranoid" am: 9292d7dae3 am: a6d6f45037
...
am: 680b2f3cb6
* commit '680b2f3cb61e29a46d0d6bdf89394dd96e82f201':
add a property for controlling perf_event_paranoid
Change-Id: I23b928d61d2fa81637aefa09c34bf0e20777ad55
2016-06-01 23:47:44 +00:00
Jeffrey Vander Stoep
680b2f3cb6
Merge "add a property for controlling perf_event_paranoid" am: 9292d7dae3
...
am: a6d6f45037
* commit 'a6d6f45037025175b3074661c9d2d80931d71817':
add a property for controlling perf_event_paranoid
Change-Id: Ic1e1a1365735f73edde6767bf71da8c6e59b46a4
2016-06-01 23:33:12 +00:00
David Sehr
bc3ff3a7a2
add /data/misc/profman for output am: 0eb24e1bc7 am: cdc503c13b
...
am: 0be76bb96f
* commit '0be76bb96f718d802cfed09b41202fb07ba867af':
add /data/misc/profman for output
Change-Id: Ic2c4c42e2cb59cfb609963a36b29325f7044041d
2016-06-01 14:13:40 +00:00
David Sehr
0be76bb96f
add /data/misc/profman for output am: 0eb24e1bc7
...
am: cdc503c13b
* commit 'cdc503c13b153c8a9216725dcd0f03ee6414161e':
add /data/misc/profman for output
Change-Id: I60764f97eacd6853f17baed62bb6beee67fbc6fa
2016-06-01 14:05:15 +00:00
David Sehr
cdc503c13b
add /data/misc/profman for output
...
am: 0eb24e1bc7
* commit '0eb24e1bc7317eb5764567223cdd9405d16aefa7':
add /data/misc/profman for output
Change-Id: I8d8ebc0dc37aee1ac54f8e50e374cad77a6fe77a
2016-06-01 14:01:10 +00:00