1. 27 6月, 2008 3 次提交
    • P
      sched: fix calc_delta_asym() · c9c294a6
      Peter Zijlstra 提交于
      calc_delta_asym() is supposed to do the same as calc_delta_fair() except
      linearly shrink the result for negative nice processes - this causes them
      to have a smaller preemption threshold so that they are more easily preempted.
      
      The problem is that for task groups se->load.weight is the per cpu share of
      the actual task group weight; take that into account.
      
      Also provide a debug switch to disable the asymmetry (which I still don't
      like - but it does greatly benefit some workloads)
      
      This would explain the interactivity issues reported against group scheduling.
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
      Cc: Mike Galbraith <efault@gmx.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      c9c294a6
    • P
      sched: revert the revert of: weight calculations · a7be37ac
      Peter Zijlstra 提交于
      Try again..
      
      initial commit: 8f1bc385
      revert: f9305d4aSigned-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
      Cc: Mike Galbraith <efault@gmx.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      a7be37ac
    • P
      sched: clean up some unused variables · bf647b62
      Peter Zijlstra 提交于
      In file included from /mnt/build/linux-2.6/kernel/sched.c:1496:
      /mnt/build/linux-2.6/kernel/sched_rt.c: In function '__enable_runtime':
      /mnt/build/linux-2.6/kernel/sched_rt.c:339: warning: unused variable 'rd'
      /mnt/build/linux-2.6/kernel/sched_rt.c: In function 'requeue_rt_entity':
      /mnt/build/linux-2.6/kernel/sched_rt.c:692: warning: unused variable 'queue'
      Signed-off-by: NPeter Zijlstra <peterz@infradead.org>
      Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
      Cc: Mike Galbraith <efault@gmx.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      bf647b62
  2. 25 6月, 2008 18 次提交
  3. 24 6月, 2008 19 次提交