• P
    sched/fair: Fix comments · 3841cdc3
    Peter Zijlstra 提交于
    Historically our periods (or p) argument in PELT denoted the number of
    full periods (what is now d2). However recent patches have changed
    this to the total decay (previously p+1), leading to a confusing
    discrepancy between comments and code.
    
    Try and clarify things by making periods (in code) and p (in comments)
    be the same thing (again).
    Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: NIngo Molnar <mingo@kernel.org>
    3841cdc3
fair.c 248.8 KB