diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2005-06-07 02:59:16 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2005-06-07 02:59:16 +0000 |
commit | 6680bbd5291a864dcf0bc675c62b2cea9e5fb5ca (patch) | |
tree | 1dd9954a1f01b17006aee945105413df9bd4310d /etc | |
parent | 0f2e86fb2a08d69b91190dba14ac5e1601421c08 (diff) | |
download | src-6680bbd5291a864dcf0bc675c62b2cea9e5fb5ca.tar.gz src-6680bbd5291a864dcf0bc675c62b2cea9e5fb5ca.zip |
- Fix the case where we're not preempting but there is already a newtd
as this happens via thread_switchout(). I don't particularly like the
structure of the code here. We twice call out to thread code when
a thread is voluntarily switching. Once to thread_switchout() and once
to slot_fill(), while sched_4BSD does even more work which is redundant
to select another thread to use our remaining slice. This should be
simplified in the future, but for now I'm only going to fix the bug not
the bad design.
Notes
Notes:
svn path=/head/; revision=147068
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions