-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#6938 sched migrate: Add input lock to queue pop result (#7000)
Adds a missing input lock to the result of popping from the queue. Changes set_cur_input to set the prior input's last_run_time, etc. *before* adding to the ready queue. Tested by running ThreadSanitizer on the same internal test where it reported a race in reading input_info_t.last_run_time by pop_from_ready_queue_hold_locks while not holding a lock (during a rebalance), versus set_cur_input writing to that field. Issue: #6938
- Loading branch information
1 parent
409bc80
commit 4fbda49
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters