commit | 2442a8ba5abe2c27c572bc522da1c33df98c6ec7 | [log] [tgz] |
---|---|---|
author | Luke Browning <lukebrowning@us.ibm.com> | Fri Jun 06 11:26:54 2008 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Wed Jul 09 10:13:40 2008 +1000 |
tree | 0b3f40533af215f2116e024ccfb488d8890c9517 | |
parent | 46deed69b34d0aa6065e92ad79685e103d4ccd35 [diff] |
powerpc/spufs: don't extend time time slice if context is not in spu_run An spu context shouldn't get an extra tick if the time slice code couldn't find something else to run. This means contexts that are not within spu_run (ie, SPU_SCHED_SPU_RUN is cleared) will not receive extra ticks while we have no other contexts waiting. Signed-off-by: Luke Browning <lukebrowning@us.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>