[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190710141500.GQ3402@hirez.programming.kicks-ass.net>
Date: Wed, 10 Jul 2019 16:15:00 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Alex Shi <alex.shi@...ux.alibaba.com>
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 2/2] cputime: remove duplicate code in
account_process_tick
On Tue, Jul 09, 2019 at 02:01:00PM +0800, Alex Shi wrote:
> In funcation account_process_tick, func actually do same things with
> irqtime_account_process_tick, whenever if IRQ_TIME_ACCOUNTING set or
> if sched_clock_irqtime enabled.
>
> So it's better to reuse one function for both.
But it's not the exact same.. and you didn't say, not did you say why
that is fine.
Powered by blists - more mailing lists