Merge "Modify path to add adbd in nnapi" into main

This commit is contained in:
Steven Liu 2024-05-31 06:21:14 +00:00 committed by Android (Google) Code Review
commit 4c14bb60bb
2 changed files with 2 additions and 2 deletions

View file

@ -15,5 +15,5 @@ on boot
on property:sys.boot_completed=1
# Bump nnapi min clamp & add adbd to it for factory (b/222226268)
write /proc/vendor_sched/nnapi_uclamp_min 512
write /proc/vendor_sched/groups/nnapi/uclamp_min 512
exec - root root -- /vendor/bin/factory/factory_post_boot

View file

@ -1,4 +1,4 @@
#!/vendor/bin/sh
# Add adbd to nnapi vendor cgroup. (b/222226268)
echo `pidof adbd` > /proc/vendor_sched/set_task_group_nnapi
echo `pidof adbd` > /proc/vendor_sched/groups/nnapi/set_task_group