Skip to content
Commit ae318164 authored by Wei Wang's avatar Wei Wang Committed by Kader Bava
Browse files

sched: do not return error when set the same sched_boost value



Only return error when switching from one boost type to another.

Bug: 80322824
Test: no error set same value to /proc/sys/kernel/sched_boost several
      times
Test: error when set "1","2" to /proc/sys/kernel/sched_boost alternately
      to change mode without set "0" first
Signed-off-by: default avatarWei Wang <wvw@google.com>
Change-Id: Id6b291cfd932e1f7f69b519edcc8e7e57df569b1
Signed-off-by: default avatarimprobir <ghosh_probir@yahoo.com>
parent 8106324f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment