Skip to content

Commit

Permalink
reset burst_time of newly-forked tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
firelzrd committed May 11, 2023
1 parent 21b257b commit 29eb369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4394,6 +4394,7 @@ static void update_task_initial_burst_time(struct task_struct *p) {
p->se.prev_burst_time = parent->child_burst_cache;
}

p->se.burst_time = 0;
p->se.max_burst_time = p->se.prev_burst_time;
}
#endif // CONFIG_SCHED_BORE
Expand Down

0 comments on commit 29eb369

Please sign in to comment.