[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fj62ld$6eo$1@ger.gmane.org>
Date: Wed, 5 Dec 2007 11:39:25 +0000 (UTC)
From: Frederik Himpe <fhimpe@...enet.be>
To: linux-kernel@...r.kernel.org
Cc: linuxppc-dev@...abs.org, linux-usb-devel@...ts.sourceforge.net
Subject: Re: [PATCH v2] Fix hardware IRQ time accounting problem.
On Tue, 04 Dec 2007 16:51:44 +1100, Tony Breeds wrote:
> The commit fa13a5a1f25f671d084d8884be96fc48d9b68275 (sched: restore
> deterministic CPU accounting on powerpc), unconditionally calls
> update_process_tick() in system context. In the deterministic
> accounting case this is the correct thing to do. However, in the
> non-deterministic accounting case we need to not do this, and results in
> the time accounted as hardware irq time being artificially elevated.
>
> Also this patch collapses 2 consecutive '#ifdef
> CONFIG_VIRT_CPU_ACCOUNTING' checks in time.h into one for neatness.
I can confirm this patch fixed the problem for me. Thank you!
--
Frederik Himpe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists