Skip to content
  1. May 05, 2008
  2. Apr 30, 2008
  3. Apr 28, 2008
  4. Apr 24, 2008
  5. Apr 19, 2008
  6. Apr 01, 2008
  7. Mar 28, 2008
  8. Mar 19, 2008
  9. Mar 11, 2008
    • 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
  10. Mar 03, 2008
Loading