]> xenbits.xensource.com Git - xen.git/commit
minios: simplify schedule()
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 16 Apr 2008 09:06:34 +0000 (10:06 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 16 Apr 2008 09:06:34 +0000 (10:06 +0100)
commit724e4fd51ef8e9ca6b1f33c8fcf030c247389693
tree66a5cac692744f45173f9c8a677918625dbca7ae
parent796b445b0080452f93f4a98af2d4fe8fea15ebf4
minios: simplify schedule()
- Merge the search, wakeup, and timeout loops.
- Avoid unnecessarily switching to the idle thread.
- Perform stack release _after_ we get out of it.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
extras/mini-os/sched.c