Re: [PATCH] sched/fair: Use bool parameter for update_tg_load_avg()

From: peterz
Date: Wed Sep 23 2020 - 11:27:23 EST

On Wed, Sep 23, 2020 at 09:29:35PM +0800, Xianting Tian wrote:
> In the file fair.c, sometims update_tg_load_avg(cfs_rq, 0) is used,
> sometimes update_tg_load_avg(cfs_rq, false) is used. So change it
> to use bool parameter.

afaict it's never true (or my git-grep failed), so why not remove the
argument entirely?