Skip to content

Commit

Permalink
sched/alt: [Sync] f5d39b0 freezer,sched: Rewrite core freezer logic
Browse files Browse the repository at this point in the history
  • Loading branch information
cchalpha committed Dec 12, 2022
1 parent 5ae0651 commit 196b5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sched/alt_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4565,7 +4565,7 @@ static void __sched notrace __schedule(unsigned int sched_mode)
prev->sched_contributes_to_load =
(prev_state & TASK_UNINTERRUPTIBLE) &&
!(prev_state & TASK_NOLOAD) &&
!(prev->flags & PF_FROZEN);
!(prev->flags & TASK_FROZEN);

if (prev->sched_contributes_to_load)
rq->nr_uninterruptible++;
Expand Down

0 comments on commit 196b5eb

Please sign in to comment.