From: Christoph Hellwig Date: Tue, 13 Feb 2007 20:54:23 +0000 (+0100) Subject: [POWERPC] spufs: runqueue simplification X-Git-Tag: v2.6.21-rc1~273^2~3^2~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=079cdb61614c466c939ebf74c7ef6745667bc61e;p=pandora-kernel.git [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 Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed