Merge "init.rc: move rlimit setting earlier"
am: acf19e8031
Change-Id: I4b1f4702e77b5adaa5d027bb1e432b1065cbddbb
This commit is contained in:
commit
c3d485fa1a
1 changed files with 6 additions and 6 deletions
|
|
@ -32,6 +32,12 @@ on early-init
|
||||||
# cgroup for system_server and surfaceflinger
|
# cgroup for system_server and surfaceflinger
|
||||||
mkdir /dev/memcg/system 0550 system system
|
mkdir /dev/memcg/system 0550 system system
|
||||||
|
|
||||||
|
# set RLIMIT_NICE to allow priorities from 19 to -20
|
||||||
|
setrlimit nice 40 40
|
||||||
|
|
||||||
|
# Allow up to 32K FDs per process
|
||||||
|
setrlimit nofile 32768 32768
|
||||||
|
|
||||||
start ueventd
|
start ueventd
|
||||||
|
|
||||||
# Run apexd-bootstrap so that APEXes that provide critical libraries
|
# Run apexd-bootstrap so that APEXes that provide critical libraries
|
||||||
|
|
@ -267,12 +273,6 @@ on init
|
||||||
|
|
||||||
export DOWNLOAD_CACHE /data/cache
|
export DOWNLOAD_CACHE /data/cache
|
||||||
|
|
||||||
# set RLIMIT_NICE to allow priorities from 19 to -20
|
|
||||||
setrlimit nice 40 40
|
|
||||||
|
|
||||||
# Allow up to 32K FDs per process
|
|
||||||
setrlimit nofile 32768 32768
|
|
||||||
|
|
||||||
# This allows the ledtrig-transient properties to be created here so
|
# This allows the ledtrig-transient properties to be created here so
|
||||||
# that they can be chown'd to system:system later on boot
|
# that they can be chown'd to system:system later on boot
|
||||||
write /sys/class/leds/vibrator/trigger "transient"
|
write /sys/class/leds/vibrator/trigger "transient"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue