[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6843b1c0-cbea-98c5-4c37-6a5aae25893e@163.com>
Date: Wed, 13 Jan 2021 10:02:19 +0800
From: Liu Peibao <liupeibao@....com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: mhiramat@...nel.org, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] init/main.c: fix strings split across lines
On 1/13/21 5:11 AM, Steven Rostedt wrote:
> On Tue, 12 Jan 2021 22:26:21 +0800
> Liu Peibao <liupeibao@....com> wrote:
>
>> Thanks for your replay! I get it.
>> But I still feel a little confused that we use different standard to
>> measure the existing code and the new code. I also checked some commits,
>> there are similar patches too.
>
> For the reason of different standards for existing code to new code. Think
> of it as a "grandfather clause". Where rules change for new instantiations,
> but if you already have something, you can still use the old rules. Hmm,
> it's kind of like how RCU works!
>
> As for some commits getting it. They sometimes get pulled in by various
> maintainers, and also may happen if you are changing the code around
> something. With the "one commit does one thing", you can have a "clean up
> code" patch followed by a "change the code" patch. matters what the context
> is.
>
> -- Steve
>
Whoa, the RCU example is really amazing!
Thanks for your detailed explanation.
BR,
Peibao
Powered by blists - more mailing lists