[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b95078f2-180a-e691-d10b-f19a87575274@linaro.org>
Date: Thu, 3 Feb 2022 08:14:41 -0800
From: Tadeusz Struk <tadeusz.struk@...aro.org>
To: Dietmar Eggemann <dietmar.eggemann@....com>, peterz@...radead.org
Cc: Ingo Molnar <mingo@...hat.com>, Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Daniel Bristot de Oliveira <bristot@...hat.com>,
Zhang Qiao <zhangqiao22@...wei.com>, stable@...r.kernel.org,
linux-kernel@...r.kernel.org,
syzbot+af7a719bc92395ee41b3@...kaller.appspotmail.com
Subject: Re: [PATCH v4] sched/fair: Fix fault in reweight_entity
On 2/3/22 01:40, Dietmar Eggemann wrote:
>> -static void set_load_weight(struct task_struct *p, bool update_load)
>> +static void set_load_weight(struct task_struct *p)
>> {
>> int prio = p->static_prio - MAX_RT_PRIO;
>> struct load_weight *load = &p->se.load;
>> + bool update_load = !(READ_ONCE(p->__state) & TASK_NEW);
> nit-pick: reverse fir tree order
>
> cat Documentation/process/maintainer-tip.rst | grep -A 10 "Variable
> declarations"
>
> I was able to recreate the initial issue with the reproducer on arm64
> Juno-r0 with CONFIG_CGROUP_SCHED=y .
>
> Reviewed-by: Dietmar Eggemann<dietmar.eggemann@....com>
Thanks for reviewing. I will send a v5 soon.
--
Thanks,
Tadeusz
Powered by blists - more mailing lists