linux-kernel-test/include
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
..
acpi
asm-alpha [PATCH] rename the provided execve functions to kernel_execve 2006-10-02 07:57:23 -07:00
asm-arm [PATCH] atmel_serial: Pass fixed register mappings through platform_data 2006-10-04 10:25:05 -07:00
asm-arm26 fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-avr32 [PATCH] AVR32: Allow renumbering of serial devices 2006-10-04 10:25:06 -07:00
asm-cris [PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references 2006-10-02 07:57:23 -07:00
asm-frv fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-generic fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-h8300 [PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references 2006-10-02 07:57:23 -07:00
asm-i386 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/configh 2006-10-04 09:59:57 -07:00
asm-ia64 [PATCH] msi: refactor and move the msi irq_chip into the arch code 2006-10-04 07:55:29 -07:00
asm-m32r fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-m68k fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-m68knommu fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-mips [MIPS] PNX8550 fixups 2006-10-04 18:06:15 +01:00
asm-parisc [PARISC] Make DMA routines more stubby 2006-10-04 06:51:07 -06:00
asm-powerpc [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
asm-ppc fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-s390 [S390] Remove open-coded mem_map usage. 2006-10-04 20:02:23 +02:00
asm-sh fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-sh64 fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-sparc fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-sparc64 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
asm-um [PATCH] rename the provided execve functions to kernel_execve 2006-10-02 07:57:23 -07:00
asm-v850 [PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references 2006-10-02 07:57:23 -07:00
asm-x86_64 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/configh 2006-10-04 09:59:57 -07:00
asm-xtensa fix file specification in comments 2006-10-03 23:01:26 +02:00
crypto
keys
linux Merge branch 'for-2.6.19' of git://brick.kernel.dk/data/git/linux-2.6-block 2006-10-04 10:44:01 -07:00
math-emu
media V4L/DVB (4666): Ensure the WM8775 driver is loaded generically for any board. 2006-10-03 15:13:48 -03:00
mtd
net Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
pcmcia
rdma
rxrpc
scsi [PATCH] helper function for retrieving scsi_cmd given host based block layer tag 2006-10-04 19:32:09 +02:00
sound
video fix file specification in comments 2006-10-03 23:01:26 +02:00
Kbuild