android_kernel_xiaomi_sm8350/arch/powerpc/platforms/cell/spufs
Christoph Hellwig fe443ef2ac [POWERPC] spusched: Dynamic timeslicing for SCHED_OTHER
Enable preemptive scheduling for non-RT contexts.

We use the same algorithms as the CPU scheduler to calculate the time
slice length, and for now we also use the same timeslice length as the
CPU scheduler. This might be not enough for good performance and can be
changed after some benchmarking.

Note that currently we do not boost the priority for contexts waiting
on the runqueue for a long time, so contexts with a higher nice value
could starve ones with less priority.  This could easily be fixed once
the rework of the spu lists that Luke and I discussed is done.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-07-03 15:24:44 +10:00
..
backing_ops.c
context.c [POWERPC] spusched: Dynamic timeslicing for SCHED_OTHER 2007-07-03 15:24:44 +10:00
coredump.c
fault.c
file.c [POWERPC] spufs: Add a "capabilities" file to spu contexts 2007-06-14 22:29:56 +10:00
gang.c
hw_ops.c
inode.c [POWERPC] spufs: Fix error handling in spufs_fill_dir() 2007-06-07 11:44:40 +10:00
lscsa_alloc.c [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
Makefile [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
run.c [POWERPC] spusched: Switch from workqueues to kthread + timer tick 2007-07-03 15:24:44 +10:00
sched.c [POWERPC] spusched: Dynamic timeslicing for SCHED_OTHER 2007-07-03 15:24:44 +10:00
spu_restore_crt0.S
spu_restore_dump.h_shipped
spu_restore.c
spu_save_crt0.S
spu_save_dump.h_shipped
spu_save.c [POWERPC] spufs: fix building spufs/spu_save_dump.h 2007-07-03 15:24:44 +10:00
spu_utils.h
spufs.h [POWERPC] spusched: Dynamic timeslicing for SCHED_OTHER 2007-07-03 15:24:44 +10:00
switch.c [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
syscalls.c