Explorar o código

Comment out force_tcp_nodelay.patch for certain branches

Comment out the force_tcp_nodelay.patch application in the action.yml file for specific branches.
jimsterino98 hai 1 mes
pai
achega
43e41329b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .github/actions/optimization/action.yml

+ 1 - 1
.github/actions/optimization/action.yml

@@ -40,7 +40,7 @@ runs:
      sed -i 's/pm_wakeup_event(dev, 2 \* MSEC_PER_SEC);/pm_wakeup_event(dev, ktime_to_ms(min) + 1);/' kernel/time/alarmtimer.c
      sed -i 's/pm_wakeup_event(dev, 2 \* MSEC_PER_SEC);/pm_wakeup_event(dev, ktime_to_ms(min) + 1);/' kernel/time/alarmtimer.c
      patch -p1 < "$KERNEL_PATCHES/common/int_sqrt.patch"
      patch -p1 < "$KERNEL_PATCHES/common/int_sqrt.patch"
      if [[ $BRANCH != SM-S926* && $BRANCH != SM-A546* ]]; then
      if [[ $BRANCH != SM-S926* && $BRANCH != SM-A546* ]]; then
-     patch -p1 < "$KERNEL_PATCHES/common/force_tcp_nodelay.patch"
+     #patch -p1 < "$KERNEL_PATCHES/common/force_tcp_nodelay.patch"
      patch -p1 < "$KERNEL_PATCHES/common/reduce_gc_thread_sleep_time.patch"
      patch -p1 < "$KERNEL_PATCHES/common/reduce_gc_thread_sleep_time.patch"
      else
      else
      echo "skipping force tcp no delay and reduce gc thread sleep time patches for s24 plus"
      echo "skipping force tcp no delay and reduce gc thread sleep time patches for s24 plus"