Re: 回复: [PATCH 01/10] tick/nohz: Prevent tick_nohz_get_sleep_length() from returning negative value

From: Zhou Ti (x2019cwm)
Date: Wed Mar 17 2021 - 17:52:56 EST


On March 16, 2021 12:25, Peter Zijlstra wrote:
>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.


>A: Because it messes up the order in which people normally read text.
>Q: Why is top-posting such a bad thing?
>A: Top-posting.
>Q: What is the most annoying thing in e-mail?

Sorry about it, I am a newbie, I won't do it again.