[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0fdee790-638b-9228-9c85-b8fefa78b7f2@linux.alibaba.com>
Date: Mon, 22 Jul 2019 15:37:55 +0800
From: Alex Shi <alex.shi@...ux.alibaba.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Ingo Molnar <mingo@...hat.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Wanpeng Li <wanpeng.li@...mail.com>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] cputime: remove rq parameter for
irqtime_account_process_tick func
在 2019/7/19 下午4:11, Peter Zijlstra 写道:
> On Fri, Jul 19, 2019 at 10:42:41AM +0800, Alex Shi wrote:
>> Using the per cpu rq in function directly is enough, don't need get and
>> pass it from outside as a parameter. That's make function neat.
>
> Please look at code-gen; I'm thinking this patch makes things worse.
>
Thanks a lot, Peter!
This patch reference one more time on this_rq(), that do increase cputime.o size. I will move it after access_process_tick() patch in v3. That could resovle the problem and decreases objfile's size on each of patches.
Thanks
Alex
Powered by blists - more mailing lists