]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] spufs: runqueue simplification
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2007 20:54:23 +0000 (21:54 +0100)
committerArnd Bergmann <arnd@klappe.arndb.de>
Tue, 13 Feb 2007 20:55:41 +0000 (21:55 +0100)
commit079cdb61614c466c939ebf74c7ef6745667bc61e
tree0ba9ef0d3f8e04b31483e7dce2231f1f5f38d74b
parent8389998ae9ea2888c86c446f7911ddced50052a1
[POWERPC] spufs: runqueue simplification

This is the biggest patch in this series, and it reworks the guts of
the spu scheduler runqueue mechanism:

 - instead of embedding a waitqueue in the runqueue there is now a
   simple doubly-linked list, the actual wakeups happen by reusing
   the stop_wq in the spu context (maybe we should rename it one day)
 - spu_free and spu_prio_wakeup are merged into a single spu_reschedule
   function
 - various functionality is split out into small helpers, and kerneldoc
   comments are added in various places to document what's going on.
 - spu_activate is rewritten into a tight loop by removing test for
   various impossible conditions and using the infrastructure in this
   patch.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/sched.c
arch/powerpc/platforms/cell/spufs/spufs.h