[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210325131400.GA938586@lothringen>
Date: Thu, 25 Mar 2021 14:14:00 +0100
From: Frederic Weisbecker <frederic@...nel.org>
To: "Zhou Ti (x2019cwm)" <x2019cwm@...x.ca>
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>,
Yunfeng Ye <yeyunfeng@...wei.com>,
"Paul E . McKenney" <paulmck@...nel.org>,
Marcelo Tosatti <mtosatti@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
"rafael@...nel.org" <rafael@...nel.org>
Subject: Re: 回复: [PATCH 01/10] tick/nohz: Prevent
tick_nohz_get_sleep_length() from returning negative value
On Tue, Mar 16, 2021 at 04:08:08PM +0000, Zhou Ti (x2019cwm) wrote:
> But I don't think it's a good idea to handle this in callers, because logically the function shouldn't return negative values. Returning 0 directly would allow idle governors to get another chance to select again.
Hmm, I'm going to leave the last word to Rafael since cpuidle are the only
callers of this. In any case we need to fix it.
Thanks.
Powered by blists - more mailing lists