1. 12 Mar, 2008 12 commits
  2. 11 Mar, 2008 2 commits
    • Jeremy Kerr's avatar
      [POWERPC] spufs: fix rescheduling of non-runnable contexts · c368392a
      Jeremy Kerr authored
      At present, we can hit the BUG_ON in __spu_update_sched_info by reading
      the regs file of a context between two calls to spu_run. The
      spu_release_saved called by spufs_regs_read() is resulting in the (now
      non-runnable) context being placed back on the run queue, so the next
      call to spu_run ends up in the bug condition.
      
      This change uses the SPU_SCHED_SPU_RUN flag to only reschedule a context
      if it's still in spu_run().
      Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
      c368392a
    • Jeremy Kerr's avatar
      [POWERPC] spufs: don't (ab)use SCHED_IDLE · ce7c191b
      Jeremy Kerr authored
      commit 4ef11014 introduced a usage of SCHED_IDLE to detect when
      a context is within spu_run.
      
      Instead of SCHED_IDLE (which has other meaning), add a flag to
      sched_flags to tell if a context should be running.
      Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
      ce7c191b
  3. 10 Mar, 2008 2 commits
  4. 07 Mar, 2008 10 commits
  5. 06 Mar, 2008 14 commits