[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e6b4bcbb-82a2-137f-8801-bab561cb7343@arm.com>
Date: Fri, 21 Feb 2020 10:44:46 +0100
From: Dietmar Eggemann <dietmar.eggemann@....com>
To: Vincent Guittot <vincent.guittot@...aro.org>, mingo@...hat.com,
peterz@...radead.org, juri.lelli@...hat.com, rostedt@...dmis.org,
bsegall@...gle.com, mgorman@...e.de, linux-kernel@...r.kernel.org
Cc: pauld@...hat.com, parth@...ux.ibm.com, valentin.schneider@....com,
hdanton@...a.com
Subject: Re: [PATCH v3 4/5] sched/pelt: Add a new runnable average signal
On 19/02/2020 13:55, Vincent Guittot wrote:
[...]
> +static inline long se_runnable(struct sched_entity *se)
> +{
Why returning long here? sched_entity::runnable_weight is unsigned long
but could be unsigned int (cfs_rq::h_nr_running is unsigned int).
___update_load_sum() has 'unsigned long runnable' as parameter.
Powered by blists - more mailing lists