android_kernel_xiaomi_sm8350/arch/powerpc
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
..
boot [POWERPC] 86xx: Add uli1575 pci-bridge sector to MPC8641HPCN dts file. 2007-06-29 01:58:19 -05:00
configs [POWERPC] PS3: Update ps3_defconfig 2007-06-28 19:18:06 +10:00
kernel [POWERPC] Add copyright header to pci-common.c based on pci_{32,64}.c 2007-06-29 01:58:48 -05:00
lib [POWERPC] Fix alignment problem in rh_alloc_align() with exact-sized blocks 2007-05-17 21:10:16 +10:00
math-emu
mm [POWERPC] Kill typedef-ed structs for hash PTEs and BATs 2007-06-14 22:30:16 +10:00
oprofile Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
platforms [POWERPC] spusched: Dynamic timeslicing for SCHED_OTHER 2007-07-03 15:24:44 +10:00
sysdev [POWERPC] Merge ppc32 and ppc64 pcibios_alloc_controller() prototypes 2007-06-29 01:58:39 -05:00
xmon Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
.gitignore
Kconfig [POWERPC] Remove PCI-e errata for MPC8641 silicon ver 1.0 2007-06-29 01:58:17 -05:00
Kconfig.debug Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
Makefile [POWERPC] Remove 'make zImage.dts' feature 2007-06-25 16:58:12 +10:00