Skip to content
  • Frederic Weisbecker's avatar
    perf: Better order flexible and pinned scheduling · 329c0e01
    Frederic Weisbecker authored
    
    
    When a task gets scheduled in. We don't touch the cpu bound events
    so the priority order becomes:
    
    	cpu pinned, cpu flexible, task pinned, task flexible.
    
    So schedule out cpu flexibles when a new task context gets in
    and correctly order the groups to schedule in:
    
    	task pinned, cpu flexible, task flexible.
    
    Cpu pinned groups don't need to be touched at this time.
    
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
    329c0e01