From: Christoph Hellwig Date: Fri, 29 Jun 2007 00:57:55 +0000 (+1000) Subject: [POWERPC] spusched: Update scheduling paramters on every spu_run X-Git-Tag: v2.6.23-rc1~767^2^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cf2b3b49f10d2f4a0703070fc54ce1cd84a6cda;p=pandora-kernel.git [POWERPC] spusched: Update scheduling paramters on every spu_run Update scheduling information on every spu_run to allow for setting threads to realtime priority just before running them. This requires some slightly ugly code in spufs_run_spu because we can just update the information unlocked if the spu is not runnable, but we need to acquire the active_mutex when it is runnable to protect against find_victim. This locking scheme requires opencoding spu_acquire_runnable in spufs_run_spu which actually is a nice cleanup all by itself. Signed-off-by: Christoph Hellwig Signed-off-by: Arnd Bergmann Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed