Re: [PATCH 4/6] sched/fair: Rename avg_vruntime() to cfs_avg_vruntime()

From: Ingo Molnar
Date: Tue Dec 02 2025 - 10:15:48 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Mon, Dec 01, 2025 at 07:46:45AM +0100, Ingo Molnar wrote:
> > Since the unit of the ->avg_vruntime field isn't actually
> > the same thing as the avg_vruntime() result, reduce confusion
> > and rename the latter to the common cfs_*() nomenclature of
> > visible global functions of the fair scheduler.
>
> But you're going to rename both those fields into sum_weight and
> sum_w_vruntime freeing up the avg_vruntime name and clearing up the
> above confusion.

Ah, indeed and agreed - I dropped this patch.

Thanks,

Ingo