diff options
-rw-r--r-- | kernel/sched/fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 7a0c000b6005..c63dde984956 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c | |||
@@ -4066,7 +4066,7 @@ static void record_wakee(struct task_struct *p) | |||
4066 | * about the boundary, really active task won't care | 4066 | * about the boundary, really active task won't care |
4067 | * about the loss. | 4067 | * about the loss. |
4068 | */ | 4068 | */ |
4069 | if (jiffies > current->wakee_flip_decay_ts + HZ) { | 4069 | if (time_after(jiffies, current->wakee_flip_decay_ts + HZ)) { |
4070 | current->wakee_flips >>= 1; | 4070 | current->wakee_flips >>= 1; |
4071 | current->wakee_flip_decay_ts = jiffies; | 4071 | current->wakee_flip_decay_ts = jiffies; |
4072 | } | 4072 | } |