• Peter Zijlstra's avatar
    sched/fair: Fix comments · 3841cdc3
    Peter Zijlstra authored
    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: default avatarPeter 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: default avatarIngo Molnar <mingo@kernel.org>
    3841cdc3
fair.c 249 KB