diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2019-12-08 01:17:38 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2019-12-08 01:17:38 +0000 |
commit | c3cccf95bfe61a9237e8ea7ea64b81a666378205 (patch) | |
tree | fd9196d1fb08780df606c050a51174b543150bce /sys/sys/sched.h | |
parent | fb1d575cebb18f40ef5e139f5dee38236836e234 (diff) | |
download | src-c3cccf95bfe61a9237e8ea7ea64b81a666378205.tar.gz src-c3cccf95bfe61a9237e8ea7ea64b81a666378205.zip |
Handle multiple clock interrupts simultaneously in sched_clock().
Reviewed by: kib, markj, mav
Differential Revision: https://reviews.freebsd.org/D22625
Notes
Notes:
svn path=/head/; revision=355512
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r-- | sys/sys/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h index 7836ddb26fc9..2f5a6654f61b 100644 --- a/sys/sys/sched.h +++ b/sys/sys/sched.h @@ -135,7 +135,7 @@ sched_userret(struct thread *td) * Threads are moved on and off of run queues */ void sched_add(struct thread *td, int flags); -void sched_clock(struct thread *td); +void sched_clock(struct thread *td, int ticks); void sched_preempt(struct thread *td); void sched_rem(struct thread *td); void sched_relinquish(struct thread *td); |