Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
device_xiaomi_onclite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid-Devices
device_xiaomi_onclite
Commits
ac4bab25
Commit
ac4bab25
authored
7 years ago
by
TheScarastic
Browse files
Options
Downloads
Patches
Plain Diff
mido: Enable cpuset
* Add services to system-background Change-Id: I8bb2e20b09871b1f9567dd47c077680b3bafde6b
parent
bf0edcd3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
BoardConfig.mk
+3
-0
3 additions, 0 deletions
BoardConfig.mk
rootdir/init.qcom.rc
+16
-1
16 additions, 1 deletion
rootdir/init.qcom.rc
rootdir/init.target.rc
+21
-1
21 additions, 1 deletion
rootdir/init.target.rc
with
40 additions
and
2 deletions
BoardConfig.mk
+
3
−
0
View file @
ac4bab25
...
...
@@ -118,6 +118,9 @@ TARGET_TAP_TO_WAKE_NODE := "/proc/touchpanel/enable_dt2w"
# CNE / DPM
BOARD_USES_QCNE
:=
true
# Cpusets
ENABLE_CPUSETS
:=
true
# Crypto
TARGET_HW_DISK_ENCRYPTION
:=
true
...
...
This diff is collapsed.
Click to expand it.
rootdir/init.qcom.rc
+
16
−
1
View file @
ac4bab25
...
...
@@ -393,6 +393,7 @@ service perfd /system/vendor/bin/perfd
group root readproc
disabled
socket perfd seqpacket 0666 root system
writepid /dev/cpuset/system-background/tasks
service iop /system/bin/iop
class main
...
...
@@ -400,6 +401,7 @@ service iop /system/bin/iop
group root
disabled
socket iop seqpacket 0666 root system
writepid /dev/cpuset/system-background/tasks
on property:hw.fm.init=*
write /sys/module/radio_iris_transport/parameters/fmsmd_set ${hw.fm.init}
...
...
@@ -423,11 +425,13 @@ on property:persist.env.fastdorm.enabled=true
service cnd /system/bin/cnd
class main
socket cnd stream 660 root inet
writepid /dev/cpuset/system-background/tasks
service dpmd /system/bin/dpmd
class late_start
socket dpmd stream 660 root system
group system readproc
writepid /dev/cpuset/system-background/tasks
service irsc_util /system/bin/irsc_util "/etc/sec_config"
class core
...
...
@@ -437,10 +441,12 @@ service irsc_util /system/bin/irsc_util "/etc/sec_config"
service rmt_storage /system/bin/rmt_storage
class core
user root
writepid /dev/cpuset/system-background/tasks
service tftp_server /system/bin/tftp_server
class core
user root
writepid /dev/cpuset/system-background/tasks
on property:wc_transport.start_hci=true
start start_hci_filter
...
...
@@ -467,6 +473,7 @@ service config_bluetooth /system/bin/sh /system/etc/init.qcom.bt.sh "onboot"
service netmgrd /system/bin/netmgrd
class main
writepid /dev/cpuset/system-background/tasks
service ipacm-diag /system/bin/ipacm-diag
class main
...
...
@@ -478,16 +485,19 @@ service ipacm /system/bin/ipacm
class main
user net_admin
group net_admin inet
writepid /dev/cpuset/system-background/tasks
service qti /system/vendor/bin/qti
class main
user radio
group radio net_raw qcom_diag usb net_admin
writepid /dev/cpuset/system-background/tasks
service sensors /system/bin/sensors.qcom
class core
user root
group root
writepid /dev/cpuset/system-background/tasks
on property:ro.use_data_netmgrd=false
# netmgr not supported on specific target
...
...
@@ -549,6 +559,7 @@ service loc_launcher /system/bin/loc_launcher
#loc_launcher will start as root and set its uid to gps
class late_start
group gps inet qcom_diag wifi
writepid /dev/cpuset/system-background/tasks
service qcom-sh /system/bin/sh /init.qcom.sh
class late_start
...
...
@@ -586,6 +597,7 @@ service charger /charger
class charger
group system graphics
seclabel u:r:healthd:s0
writepid /dev/cpuset/system-background/tasks
service qbcharger /charger -m 1
disabled
...
...
@@ -607,21 +619,24 @@ service qseeproxydaemon /system/vendor/bin/qseeproxydaemon
class late_start
user system
group system
writepid /dev/cpuset/system-background/tasks
on charger
setprop persist.sys.usb.config charging
service fingerprintd /system/bin/fingerprintd
class late_start
user system
user system
group system sdcard_rw
system system
writepid /dev/cpuset/system-background/tasks
disabled
service gx_fpd /system/bin/gx_fpd
class core
user root
group system system
writepid /dev/cpuset/system-background/tasks
on property:sys.fp.vendor=switchf
stop gx_fpd
...
...
This diff is collapsed.
Click to expand it.
rootdir/init.target.rc
+
21
−
1
View file @
ac4bab25
...
...
@@ -57,6 +57,7 @@ service qcamerasvr /system/bin/mm-qcamera-daemon
class late_start
user camera
group camera system inet input graphics
writepid /dev/cpuset/system-background/tasks
on init
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
...
...
@@ -72,6 +73,7 @@ service qseecomd /system/bin/qseecomd
class core
user root
group root
writepid /dev/cpuset/system-background/tasks
service thermal-engine /system/vendor/bin/thermal-engine
class main
...
...
@@ -80,11 +82,13 @@ service thermal-engine /system/vendor/bin/thermal-engine
socket thermal-recv-client stream 0660 system system
socket thermal-recv-passive-client stream 0666 system system
group root
writepid /dev/cpuset/system-background/tasks
service time_daemon /system/bin/time_daemon
class main
user root
group root
writepid /dev/cpuset/system-background/tasks
service audiod /system/bin/audiod
class late_start
...
...
@@ -105,12 +109,14 @@ service imsqmidaemon /system/bin/imsqmidaemon
user system
socket ims_qmid stream 0660 system radio
group radio log diag
writepid /dev/cpuset/system-background/tasks
service imsdatadaemon /system/bin/imsdatadaemon
class main
user system
socket ims_datad stream 0660 system radio
group system wifi radio inet log diag
writepid /dev/cpuset/system-background/tasks
disabled
on property:sys.ims.QMI_DAEMON_STATUS=1
...
...
@@ -121,12 +127,14 @@ service ims_rtp_daemon /system/bin/ims_rtp_daemon
user system
socket ims_rtpd stream 0660 system radio
group radio diag diag inet log
writepid /dev/cpuset/system-background/tasks
disabled
service imscmservice /system/bin/imscmservice
class main
user system
group radio diag inet log
writepid /dev/cpuset/system-background/tasks
disabled
on property:sys.ims.DATA_DAEMON_STATUS=1
...
...
@@ -135,10 +143,10 @@ on property:sys.ims.DATA_DAEMON_STATUS=1
service ppd /system/vendor/bin/mm-pp-dpps
class late_start
disabled
user system
socket pps stream 0660 system system
group system graphics
disabled
on property:init.svc.surfaceflinger=stopped
stop ppd
...
...
@@ -185,11 +193,13 @@ service per_mgr /system/bin/pm-service
class core
user system
group system
writepid /dev/cpuset/system-background/tasks
service per_proxy /system/bin/pm-proxy
class core
user system
group system
writepid /dev/cpuset/system-background/tasks
disabled
on property:init.svc.per_mgr=running
...
...
@@ -211,3 +221,13 @@ on boot
write /dev/cpuset/foreground/boost/cpus 0-6
write /dev/cpuset/background/cpus 0-1
write /dev/cpuset/system-background/cpus 0-3
# add a cpuset for the camera daemon
# we want all cores for camera
mkdir /dev/cpuset/camera-daemon
write /dev/cpuset/camera-daemon/cpus 0-3
write /dev/cpuset/camera-daemon/mems 0
chown system system /dev/cpuset/camera-daemon
chown system system /dev/cpuset/camera-daemon/tasks
chmod 0664 /dev/cpuset/camera-daemon/tasks
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment