Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d368c6fa authored by Joonwoo Park's avatar Joonwoo Park Committed by Suren Baghdasaryan
Browse files

sched: walt: fix window misalignment when HZ=300



Due to rounding error hrtimer tick interval becomes 3333333 ns when HZ=300.
Consequently the tick time stamp nearest to the WALT's default window size
20ms will be also 19999998 (3333333 * 6).

Change-Id: I08f9bd2dbecccbb683e4490d06d8b0da703d3ab2
Suggested-by: default avatarJoel Fernandes <joelaf@google.com>
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 97841e57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment