• A
    [PATCH] spufs: Improved SPU preemptability [part 2]. · 2a911f0b
    Arnd Bergmann 提交于
    This patch reduces lock complexity of SPU scheduler, particularly
    for involuntary preemptive switches.  As a result the new code
    does a better job of mapping the highest priority tasks to SPUs.
    
    Lock complexity is reduced by using the system default workqueue
    to perform involuntary saves.  In this way we avoid nasty lock
    ordering problems that the previous code had.  A "minimum timeslice"
    for SPU contexts is also introduced.  The intent here is to avoid
    thrashing.
    
    While the new scheduler does a better job at prioritization it
    still does nothing for fairness.
    
    From: Mark Nutter <mnutter@us.ibm.com>
    Signed-off-by: NArnd Bergmann <arndb@de.ibm.com>
    Signed-off-by: NPaul Mackerras <paulus@samba.org>
    2a911f0b
spufs.h 4.3 KB