From 42f5ba0a67e5eb228ed5c814c76c8e12d4a867d6 Mon Sep 17 00:00:00 2001
From: Divyanand Rangu <drangu@codeaurora.org>
Date: Fri, 26 Jun 2020 20:04:41 +0530
Subject: [PATCH] post_boot: Disabling PPR for all bengal targets

disabling per process reclaim for bengal targets
as appcompaction is enabled on it.

Change-Id: Ie100b4fef1d9a8405790f05451048a779f1cae23
---
 rootdir/etc/init.qcom.post_boot.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh
index 19232ba0..ce5b4060 100644
--- a/rootdir/etc/init.qcom.post_boot.sh
+++ b/rootdir/etc/init.qcom.post_boot.sh
@@ -737,9 +737,9 @@ else
             echo 1 > /sys/module/lowmemorykiller/parameters/oom_reaper
         fi
 
-        if [ "$ProductName" != "bengal_32" ]; then
-            #bengal_32 has appcompaction enabled. So not needed
-            # Set PPR parametersi for other targets
+        if [[ "$ProductName" != "bengal"* ]]; then
+            #bengal has appcompaction enabled. So not needed
+            # Set PPR parameters for other targets
             if [ -f /sys/devices/soc0/soc_id ]; then
                 soc_id=`cat /sys/devices/soc0/soc_id`
             else
-- 
GitLab