From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754369Ab3AaVbY (ORCPT ); Thu, 31 Jan 2013 16:31:24 -0500 Received: from www.linutronix.de ([62.245.132.108]:59057 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751582Ab3AaVbV (ORCPT ); Thu, 31 Jan 2013 16:31:21 -0500 Date: Thu, 31 Jan 2013 22:31:14 +0100 (CET) From: Thomas Gleixner To: Matt Sealey cc: John Stultz , Arnd Bergmann , Linux ARM Kernel ML , LKML , Peter Zijlstra , Ingo Molnar , Russell King - ARM Linux Subject: Re: One of these things (CONFIG_HZ) is not like the others.. In-Reply-To: Message-ID: References: <201301212041.17951.arnd@arndb.de> <50FDAC5F.4040605@linaro.org> <50FDC2DD.7090406@linaro.org> <50FDE2AE.8030608@linaro.org> <50FDEBF8.3090902@linaro.org> User-Agent: Alpine 2.02 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Jan 2013, Matt Sealey wrote: > And if I wanted to I could register 8 more timers. That seems rather > excessive, but the ability to use those extra 8 as clock outputs from > the SoC or otherwise directly use comparators is useful to some > people, does Linux in general really give a damn about having 8 timers > of the same quality being available when most systems barely have two > clocksources anyway (on x86, tsc and hpet - on ARM I guess twd and > some SoC-specific timer). I dunno how many people might actually want If you want to use that timers just for delivering arbitrary timer events, then no. There is no point to have a gazillion of timer interrupts happening w/o being coordinated. We have a pretty well structured timer event infrastructure for precise and more timeout oriented events, which are pretty happy to be served by a single per cpu event device. If you want to use the extra timers for other purposes (PWM, timer triggered DMA transfers, etc...) then they are not in any way related to the timers/timekeeping core. Thanks, tglx