Re: [PATCH v2 1/2] cputime: remove rq parameter for irqtime_account_process_tick func
From: Alex Shi
Date: Mon Jul 22 2019 - 03:38:05 EST
在 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