[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200518222037.GA14829@ranerica-svr.sc.intel.com>
Date: Mon, 18 May 2020 15:20:37 -0700
From: Ricardo Neri <ricardo.neri-calderon@...ux.intel.com>
To: Giovanni Gherdovich <ggherdovich@...e.cz>
Cc: Peter Zijlstra <peterz@...radead.org>,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...e.de>,
Len Brown <lenb@...nel.org>,
"Rafael J . Wysocki" <rjw@...ysocki.net>, x86@...nel.org,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 1/2] x86, sched: Prevent divisions by zero in frequency
invariant accounting
On Sat, May 02, 2020 at 04:25:00PM +0200, Giovanni Gherdovich wrote:
> >
> > I've changed the patch like so.. OK?
> >
> > (ok, perhaps I went a little overboard with the paranoia ;-)
>
> Right, I wasn't really checking for overflow, only for when the product
> "mcnt * arch_max_freq_ratio" becomes zero.
>
> Thanks for your edit (I took note of the macros check_*_overflow, didn't know
> them). I fully subscribe to the paranoid approach.
>
> I understand you've already edited the patches in your tree, so I am not
> resending, just confirming my
>
> Signed-off-by: Giovanni Gherdovich <ggherdovich@...e.cz>
Hi, have these changes been merged? I still don't see them in the tip or
Linus' tree.
Thanks and BR,
Ricardo
Powered by blists - more mailing lists