Files
linux/include/asm-powerpc
Arnd Bergmann 6263203ed6 [POWERPC] spufs: Add infrastructure needed for gang scheduling
Add the concept of a gang to spufs as a new type of object.
So far, this has no impact whatsover on scheduling, but makes
it possible to add that later.

A new type of object in spufs is now a spu_gang. It is created
with the spu_create system call with the flags argument set
to SPU_CREATE_GANG (0x2). Inside of a spu_gang, it
is then possible to create spu_context objects, which until
now was only possible at the root of spufs.

There is a new member in struct spu_context pointing to
the spu_gang it belongs to, if any. The spu_gang maintains
a list of spu_context structures that are its children.
This information can then be used in the scheduler in the
future.

There is still a bug that needs to be resolved in this
basic infrastructure regarding the order in which objects
are removed. When the spu_gang file descriptor is closed
before the spu_context descriptors, we leak the dentry
and inode for the gang. Any ideas how to cleanly solve
this are appreciated.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-05 09:21:01 +10:00
..
2006-01-09 14:49:54 +11:00
2005-09-28 15:42:53 +10:00
2006-09-20 14:06:18 +10:00
2006-10-03 23:01:26 +02:00
2006-02-15 15:32:22 -08:00
2006-06-30 18:20:44 +02:00
2006-09-14 07:07:18 +10:00
2006-07-03 15:27:00 -07:00
2006-08-24 10:07:23 +10:00
2006-09-26 08:48:51 -07:00
2006-06-30 18:20:44 +02:00
2006-07-07 20:19:15 +10:00
2006-09-20 15:09:48 +10:00
2005-10-31 13:37:12 +11:00
2005-11-03 16:24:25 +11:00
2006-06-29 16:58:06 -07:00
2005-11-03 16:02:23 +11:00
2006-03-25 09:41:40 -08:00
2006-06-21 15:01:32 +10:00
2006-04-29 18:07:54 +10:00
2005-11-01 14:36:55 +11:00
2005-11-03 16:59:17 +11:00